Kodi Community Forum
Condition ButtonPressed sleep (but box not tired - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Condition ButtonPressed sleep (but box not tired (/showthread.php?tid=63538)



Condition ButtonPressed sleep (but box not tired - rickx - 2009-12-07

Hi everybody,

I have a remote and keyboard set, both using RF with one single usb receiver. All work without lirc. Now I have this question: I get

Code:
... DEBUG: SDLKeyboard: scancode: 150, sym: 0, unicode: 0, modifier: 0
14:13:06 T:3031848848 M:1426485248   DEBUG: HAL: Device (/org/freedesktop/Hal/devices/usb_device_1241_f767_noserial_if1_logicaldev_input) Condition ButtonPressed | sleep
...

when I press the power button on the remote. Can someone tell me how to map this "sleep" action to usual suspend. Other similar actions like mute work without any change.

bye & thanks,
rickx


- cronek - 2010-08-25

Sorry to dig up this old thread but I'm having the same problem and was wondering if you (or anyone) found a solution. The key sends keycode 150 but assigning a key id of 150 to Sleep in keyboard.xml doesn't do anything. XBMC live 9.11 on a zotac ion 330.