ir-keytable or: How I Learned to Stop Worrying about the LIRC Kernel
#3
Thank you! I've been scratching my head trying to understand how the change fom the external LIRC module to in-kernel LIRC driver works, and how I could get my remotes working without relying on LIRC.

In my trials I found a couple of things. I think the in-kernel LIRC reads the standard hardware.conf, which specifies devinput as the driver amongst other things. It then turns the scancodes from the remote into keycodes using the ir-keytable mapping. I think these are passed as actual keystrokes so Lircmap.xml and remote.xml never factor into it and I keyboard.xml does the translation.

I think this because none of the changes I was making to Lircmap.xml were having any effect. So I turned on key logging in XBMC, assigned a standard key (M) to a button on my remote using ir-keytable, then pressed it and the M key on my keyboadr. Both show up in the log just the same.

The upshot is that you can assign any KEY_NAME to any button and as long as it's key code is less than 255 it'll work in XBMC. No more futzing around with xml files.

I've now uninstalled Lirc and everything still works just fine.

Caveat: I'm new to XBMC and LIRC, so my conclusions could be very wrong, but I don't think they are Smile
Reply


Messages In This Thread
[No subject] - by darkscout - 2011-05-11, 02:37
[No subject] - by lukamus - 2011-06-09, 02:23
[No subject] - by darkscout - 2011-06-09, 04:22
[No subject] - by lukamus - 2011-06-09, 07:27
[No subject] - by bsp134 - 2011-06-09, 09:31
[No subject] - by lupick - 2011-06-09, 18:18
[No subject] - by darkscout - 2011-06-09, 18:36
[No subject] - by lukamus - 2011-06-10, 02:42
[No subject] - by tomolac - 2011-08-10, 19:39
[No subject] - by darkscout - 2011-08-10, 22:48
[No subject] - by tomolac - 2011-08-10, 22:53
[No subject] - by colinjones - 2011-08-13, 06:45
[No subject] - by colinjones - 2011-08-13, 08:50
[No subject] - by colinjones - 2011-08-15, 11:29
[No subject] - by colinjones - 2011-08-16, 05:13
[No subject] - by darkscout - 2011-08-16, 08:00
[No subject] - by colinjones - 2011-08-16, 08:05
[No subject] - by illumilore - 2011-11-09, 00:39


Logout Mark Read Team Forum Stats Members Help
ir-keytable or: How I Learned to Stop Worrying about the LIRC Kernel0
This forum uses Lukasz Tkacz MyBB addons.