2022-02-22, 22:35
Is it possible to use an IR remote such as a Streamzap USB without lirc? The thing works natively with
Lircmap.xml is here
remote.xml is here
Thanks for any pointers.
ir-keytable
it seems, but it does not seem to use my remote.xml
nor Lircmap.xml
. For example, the KEY_OK
signal does not translate into Kodi. Up and Down do.Lircmap.xml is here
remote.xml is here
Thanks for any pointers.
Code:
# ir-keytable
Found /sys/class/rc/rc0/ with:
Name: Streamzap PC Remote Infrared Receiver (0e9c:0000)
Driver: streamzap
Default keymap: rc-streamzap
Input device: /dev/input/event19
LIRC device: /dev/lirc0
Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
Enabled kernel protocols: lirc rc-5-sz
bus: 3, vendor/product: 0e9c:0000, version: 0x0100
Repeat delay = 500 ms, repeat period = 125 ms
# ir-keytable -t
Testing events. Please, press CTRL-C to abort.
129370.392814: lirc protocol(rc5_sz): scancode = 0x28d2 toggle=1
129370.392824: event type EV_MSC(0x04): scancode = 0x28d2
129370.392824: event type EV_KEY(0x01) key_down: KEY_OK(0x0160)
129370.392824: event type EV_SYN(0x00).
129370.578374: event type EV_KEY(0x01) key_up: KEY_OK(0x0160)
129370.578374: event type EV_SYN(0x00).