12th May, 2015, 10:09 AM
For reasons that would take too long to explain, I would like to use my remote control without LIRC. In "standard' Kodi installations, this is how I do it:
1. stop - uninstall LIRC
2. fix the rc_keymaps for the remote in question (MCE receiver with HP remote), so that it produces
known keycodes, in the 1-254 range
3. use Kodi's keymap editor to map the keycodes into actions.
This has always worked up to now, kodi handles the remote as if it is a keyboard.
All configuration is via the GUI, no manual editing of xml files involved.
In Xbian, this does not work, strangely. this is what I did :
1. set lirc service to not autostart and rebooted
2. created the rc6_mce file
3. tested with ir-keytable. the file works fine.
4. tested the remote on the command line, OS sees it as a keyboard.
so far, so good. BUT :
when I start Kodi, the log says it sees the device and opens it (/dev/input/event2), but Kodi does not recognize ANY keys from the remote. It is not a permissions issue, /dev/input/event2 can be read by group 'input', and 'xbian' belongs to the group. Enabling debug logging shows nothing, no events are recognized by Kodi.
what could be wrong ? why is Kodi ignoring the input, while the operating system (and any apps started from the command line) handles the remote just fine ?
1. stop - uninstall LIRC
2. fix the rc_keymaps for the remote in question (MCE receiver with HP remote), so that it produces
known keycodes, in the 1-254 range
3. use Kodi's keymap editor to map the keycodes into actions.
This has always worked up to now, kodi handles the remote as if it is a keyboard.
All configuration is via the GUI, no manual editing of xml files involved.
In Xbian, this does not work, strangely. this is what I did :
1. set lirc service to not autostart and rebooted
2. created the rc6_mce file
3. tested with ir-keytable. the file works fine.
4. tested the remote on the command line, OS sees it as a keyboard.
so far, so good. BUT :
when I start Kodi, the log says it sees the device and opens it (/dev/input/event2), but Kodi does not recognize ANY keys from the remote. It is not a permissions issue, /dev/input/event2 can be read by group 'input', and 'xbian' belongs to the group. Enabling debug logging shows nothing, no events are recognized by Kodi.
what could be wrong ? why is Kodi ignoring the input, while the operating system (and any apps started from the command line) handles the remote just fine ?