One more, can't setup remote wakup

I swear I’ve read all the other threads about it but I can’t get this going.
Using 9.2.3.

I use a usb adapter for an IR remote - I know I can pair it with the Odroid N2 alone but everything works inside Kodi out of the box.
So this remote that blasts IR:

Set remote to HardKernel on GUI
Now SSH and:

$ systemctl stop kodi
$ systemctl stop eventlircd
$ ir-keytable -u

Receive:

Received IRMP code: remotewakeup=‘0xe31cba04’, decode_type=‘0x0’, remotewakeupmask=‘0xffffffff’

Now:

$ mount -o rw,remount /flash
$ nano /flash/config.ini

add:

remotewakeup=‘0xe31cba04’
decode_type=‘0x0’
remotewakeupmask=‘0xffffffff’

write, close
$ sync && reboot

Test: shutdown
doesn’t power on at all.
Suspend doesn’t come back.

Something is wrong and after reading everything I can’t figure out what.

If you have petitboot setup this can interfere with the bootloader which can prevent this feature working.

Shoog

Yes, I do have petitboot to boot from a usb3 ssd.

Is there any workaround?

I haven’t dug into it myself as when it happened to me I just decided to leave it running 24/7.
Whats I think is happening is petitboot is loading its own bootloader and bypassing the settings that you make in the Config.ini file for CE. As such I suppose the solution would be to set the wakeup code in the config.ini that the petitboot bootloader uses (where ever that is).

Shoog

About | FAQ | Terms of Service | Privacy Policy | Legal Notice