2016-08-07, 22:56
Hi folks,
actually I was teaching my HTPC to use suspend to ram instead of the whole shutting down process.
Everything on my whole setup (necessary modules, LIRC, tvheadend, RC clock for PVR) is now working, except a little thing from Kodi.
If I press the power button on my remote, I would like Kodi to do what the cli does with "pm-suspend".
Therefore I changed the default power action in Kodi from shutdown to hibernation/standby. Both do not what I would like to have.
How I can tell Kodi to do what I want?
Thanks in advance.
actually I was teaching my HTPC to use suspend to ram instead of the whole shutting down process.
Everything on my whole setup (necessary modules, LIRC, tvheadend, RC clock for PVR) is now working, except a little thing from Kodi.
If I press the power button on my remote, I would like Kodi to do what the cli does with "pm-suspend".
Therefore I changed the default power action in Kodi from shutdown to hibernation/standby. Both do not what I would like to have.
How I can tell Kodi to do what I want?
Code:
root@kodi:~# grep -i power /etc/lirc/lircd.conf
KEY_POWER 0x0C040F800000 # power
root@kodi:~# grep "\<power" /home/xbmc/.kodi/userdata/Lircmap.xml -B30
<lircmap>
<remote device="MCE">
[..]
<power>KEY_POWER</power>
Thanks in advance.