2017-11-09, 23:41
I have recently redone my Kodi setup (latest LibreELEC, from scratch) but I am finding that pressing the power button on my TV remote (I'm relying on CEC, which works nicely) suspends my HTPC rather than shutting it down. I've turned on debugging but have not found a key ID for this particular button, so I don't know how to reconfigure it (or if it's possible altogether).
This is what I'm seeing in the Kodi log when I press the power button on the remote:
I've grepped the remote.xml but power is set to ShutDown(), which I've configured in Kodi's settings menu (if that is indeed the same setting) to shut down, and not to suspend (which is clearly what OnSleep seems to do):
How can I change this?
Edit: I obviously forgot that I can configure the CEC settings in the Kodi settings menu - ticking a few boxes and altering a few options did the trick. Sorry about the fuss.
This is what I'm seeing in the Kodi log when I press the power button on the remote:
Quote:22:21:58.726 T:140052967782080 DEBUG: LogindUPowerSyscall: Received PrepareForSleep with arg 1
22:21:58.726 T:140052967782080 DEBUG: ------ Window Init (DialogBusy.xml) ------
22:21:58.726 T:140052735129344 DEBUG: CAnnouncementManager - Announcement: OnSleep from xbmc
22:21:58.726 T:140052735129344 DEBUG: GOT ANNOUNCEMENT, type: 8, from xbmc, message OnSleep
22:21:58.726 T:140052967782080 NOTICE: OnSleep: Running sleep jobs
22:21:58.726 T:140052967782080 NOTICE: OnSleep: Stopping lirc
22:21:58.726 T:140052967782080 INFO: LIRC SetEnabled: disabled
22:21:58.726 T:140052967782080 DEBUG: CApplication::CloseNetworkShares: Closing all network shares
22:21:58.726 T:140052967782080 DEBUG: LogindUPowerSyscall - delay lock released
22:21:58.785 T:140052967782080 INFO: LIRC SetEnabled: disabled
22:21:58.811 T:140051769980672 DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: System.OnSleep - data: null
I've grepped the remote.xml but power is set to ShutDown(), which I've configured in Kodi's settings menu (if that is indeed the same setting) to shut down, and not to suspend (which is clearly what OnSleep seems to do):
Quote:mnemosyne:~/.kodi/userdata/keymaps # grep -i power *
remote.xml: <power>ShutDown()</power>
How can I change this?
Edit: I obviously forgot that I can configure the CEC settings in the Kodi settings menu - ticking a few boxes and altering a few options did the trick. Sorry about the fuss.