2015-02-20, 20:56
I followed the instructions to use the in kernel lirc.
ir-keytable -t works as expected and translates my keypresses to keyboard commands:
But Kodi does not react to them! Am I missing a step here? If I stop Kodi I can use my IR-remote to enter numbers in the console, so it works as it should, but why does kodi not find it?
Some more info:
ir-keytable -t works as expected and translates my keypresses to keyboard commands:
Code:
# ir-keytable -t :(
Testing events. Please, press CTRL-C to abort.
1424458324.268195: event type EV_MSC(0x04): scancode = 0x82
1424458324.268195: event type EV_KEY(0x01) key_down: KEY_RIGHT(0x0001)
1424458324.268195: event type EV_SYN(0x00).
1424458324.268207: event type EV_MSC(0x04): scancode = 0x82
1424458324.268207: event type EV_SYN(0x00).
1424458324.520165: event type EV_KEY(0x01) key_up: KEY_RIGHT(0x0001)
1424458324.520165: event type EV_SYN(0x00).
1424458325.076174: event type EV_MSC(0x04): scancode = 0x90
1424458325.076174: event type EV_KEY(0x01) key_down: KEY_LEFT(0x0001)
1424458325.076174: event type EV_SYN(0x00).
1424458325.076198: event type EV_MSC(0x04): scancode = 0x90
1424458325.076198: event type EV_SYN(0x00).
1424458325.328159: event type EV_KEY(0x01) key_up: KEY_LEFT(0x0001)
1424458325.328159: event type EV_SYN(0x00).
But Kodi does not react to them! Am I missing a step here? If I stop Kodi I can use my IR-remote to enter numbers in the console, so it works as it should, but why does kodi not find it?
Some more info:
Code:
# ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
Driver saa716x, table rc-tbs-nec
Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC other
Enabled protocols: NEC RC-5 RC-6 JVC SONY LIRC other
Name: saa716x IR (TurboSight TBS 6618)
bus: 1, vendor/product: 6618:0001, version: 0x0001
Repeat delay = 500 ms, repeat period = 125 ms
Code:
# ls -la /dev/input/
insgesamt 9584
drwxr-xr-x 2 root root 120 Feb 20 19:27 by-id
drwxr-xr-x 2 root root 140 Feb 20 19:27 by-path
-rw------- 1 root root 9814016 Feb 20 19:47 core
crw-r----- 1 root root 13, 64 Feb 20 19:27 event0
crw-r----- 1 root root 13, 65 Feb 20 19:27 event1
crw-r----- 1 root root 13, 74 Feb 20 19:27 event10
crw-r----- 1 root root 13, 75 Feb 20 19:27 event11
crw-r----- 1 root root 13, 76 Feb 20 19:27 event12
crw-r----- 1 root root 13, 77 Feb 20 19:27 event13
crw-r----- 1 root root 13, 78 Feb 20 19:27 event14
crw-r----- 1 root root 13, 79 Feb 20 19:27 event15
crw-r----- 1 root root 13, 80 Feb 20 19:27 event16
crw-r----- 1 root root 13, 81 Feb 20 19:27 event17
crw-r----- 1 root root 13, 82 Feb 20 19:27 event18
crw-r----- 1 root root 13, 83 Feb 20 19:27 event19
crw-r----- 1 root root 13, 66 Feb 20 19:27 event2
crw-r----- 1 root root 13, 84 Feb 20 19:27 event20
crw-r----- 1 root root 13, 85 Feb 20 19:27 event21
crw-r----- 1 root root 13, 67 Feb 20 19:27 event3
crw-r----- 1 root root 13, 68 Feb 20 19:27 event4
crw-r----- 1 root root 13, 69 Feb 20 19:27 event5
crw-r----- 1 root root 13, 70 Feb 20 19:27 event6
crw-r----- 1 root root 13, 71 Feb 20 19:27 event7
crw-r----- 1 root root 13, 72 Feb 20 19:27 event8
crw-r----- 1 root root 13, 73 Feb 20 19:27 event9
crw-r--r-- 1 root root 13, 0 Feb 20 19:27 js0
crw-r--r-- 1 root root 13, 1 Feb 20 19:27 js1
crw-r--r-- 1 root root 13, 2 Feb 20 19:27 js2
crw-r--r-- 1 root root 13, 3 Feb 20 19:27 js3
crw-r----- 1 root root 13, 63 Feb 20 19:27 mice
crw-r----- 1 root root 13, 32 Feb 20 19:27 mouse0
crw-r----- 1 root root 13, 33 Feb 20 19:27 mouse1
lrwxrwxrwx 1 root root 6 Feb 20 19:27 tbs-ir -> event2
# ls -la /dev/input/by-path
insgesamt 0
lrwxrwxrwx 1 root root 10 Feb 20 19:27 pci-0000:00:14.0-usb-0:2:1.2-event-kbd -> ../event21
lrwxrwxrwx 1 root root 9 Feb 20 19:27 pci-0000:00:14.0-usb-0:3:1.0-event-mouse -> ../event4
lrwxrwxrwx 1 root root 9 Feb 20 19:27 pci-0000:00:14.0-usb-0:3:1.0-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 Feb 20 19:27 pci-0000:00:14.0-usb-0:3:1.1-event -> ../event5
lrwxrwxrwx 1 root root 9 Feb 20 19:27 pci-0000:01:00.0-event-ir -> ../event2
# ls -la /dev/input/by-id
insgesamt 0
lrwxrwxrwx 1 root root 9 Feb 20 19:27 usb-Logitech_USB_Receiver-event-if01 -> ../event5
lrwxrwxrwx 1 root root 9 Feb 20 19:27 usb-Logitech_USB_Receiver-event-mouse -> ../event4
lrwxrwxrwx 1 root root 10 Feb 20 19:27 usb-Logitech_USB_Receiver-if02-event-kbd -> ../event21
lrwxrwxrwx 1 root root 9 Feb 20 19:27 usb-Logitech_USB_Receiver-mouse -> ../mouse1