ir-keytable or: How I Learned to Stop Worrying about the LIRC Kernel
#23
Thank you for the tip on how to avoid LIRC, it's much easier than getting LIRC working every time I upgrade my hardware or software!

I found that the /dev/input/event# number was changing upon reboot, so sometimes my keytable was not getting set correctly. Sad

I solved this by finding the definitive event# for my device:

$ ls -l /dev/input/by-id
total 0
lrwxrwxrwx 1 root root 9 Nov 2 10:53 usb-05af_2.4G_USB_RF_KeyBoard-event-if02 -> ../event5
lrwxrwxrwx 1 root root 9 Nov 2 10:53 usb-05af_2.4G_USB_RF_KeyBoard-event-kbd -> ../event3
lrwxrwxrwx 1 root root 9 Nov 2 10:53 usb-05af_2.4G_USB_RF_KeyBoard-event-mouse -> ../event4
lrwxrwxrwx 1 root root 9 Nov 2 10:53 usb-05af_2.4G_USB_RF_KeyBoard-if01-event-mouse -> ../event4
lrwxrwxrwx 1 root root 9 Nov 2 10:53 usb-05af_2.4G_USB_RF_KeyBoard-if01-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 Nov 2 10:53 usb-05af_2.4G_USB_RF_KeyBoard-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 Nov 2 10:53 usb-15c2_ffdc-event-if00 -> ../event8
lrwxrwxrwx 1 root root 9 Nov 2 10:53 usb-15c2_ffdc-event-mouse -> ../event6
lrwxrwxrwx 1 root root 9 Nov 2 10:53 usb-15c2_ffdc-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 Nov 2 10:53 usb-Streamzap__Inc._Streamzap_Remote_Control-event-if00 -> ../event7

The last line is the one for my Streamzap remote receiver. When I use that in the --device field of the ir-keytable command:

ir-keytable --device=/dev/input/by-id/usb-Streamzap__Inc._Streamzap_Remote_Control-event-if00 --write=/etc/keycodes/newkeys

...it always gets the correct device (the Streamzap has shown up as event6, event7, and event8). 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
RE: ir-keytable or: How I Learned to Stop Worrying about the LIRC Kernel - by mythxmbc - 2013-11-02, 20:19


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.