irw (kodi and eventlircd running)
Key pressed immediately appear when an other key is pressed OR after 4 ~18 seconds.
ir-keytable -t
Key pressed appear only when a new key is pressed. This new key appear only when an other is pressed etc. (kodi and eventlircd stopped).
New install.
No autorun.sh , just these 2 files added "/storage/.config/rc_keymaps/my_remote" and "/storage/.config/rc_maps.cfg"
after start
Code
LibreELEC:~ # setserial /dev/ttyS0 uart unknown
LibreELEC:~ # modprobe serial_ir
LibreELEC:~ # ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event16) with:
Driver serial_ir, table rc-rc6-mce
Supported protocols: unknown other lirc rc-5 rc-5-sz jvc sony nec sanyo mce-kbd rc-6 sharp xmp
Enabled protocols: lirc rc-6
Name: Serial IR type home-brew
bus: 25, vendor/product: 0001:0001, version: 0x0100
Repeat delay = 500 ms, repeat period = 125 ms
LibreELEC:~ # ir-keytable -p nec
Protocols changed to nec
LibreELEC:~ # irw
1c 0 KEY_ENTER devinput
1c 0 KEY_ENTER devinput
6a 0 KEY_RIGHT devinput
67 0 KEY_UP devinput
6c 0 KEY_DOWN devinput
6c 0 KEY_DOWN devinput
69 0 KEY_LEFT devinput
69 0 KEY_LEFT devinput
.....
LibreELEC:~ # systemctl stop eventlircd
LibreELEC:~ # systemctl stop kodi
LibreELEC:~ # ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1499884382.251030: event type EV_MSC(0x04): scancode = 0x234553
1499884382.251030: event type EV_KEY(0x01) key_down: KEY_ENTER(0x0001)
1499884382.251030: event type EV_SYN(0x00).
1499884382.511264: event type EV_KEY(0x01) key_up: KEY_ENTER(0x0001)
1499884382.511264: event type EV_SYN(0x00).
1499884421.699905: event type EV_MSC(0x04): scancode = 0x234516
1499884421.699905: event type EV_KEY(0x01) key_down: KEY_RIGHT(0x0001)
1499884421.699905: event type EV_SYN(0x00).
1499884421.808892: event type EV_KEY(0x01) key_up: KEY_RIGHT(0x0001)
1499884421.808892: event type EV_MSC(0x04): scancode = 0x23451c
1499884421.808892: event type EV_KEY(0x01) key_down: KEY_NUMERIC_1(0x0001)
1499884421.808892: event type EV_SYN(0x00).
1499884421.811634: event type EV_MSC(0x04): scancode = 0x23451c
1499884421.811634: event type EV_SYN(0x00).
1499884422.084613: event type EV_KEY(0x01) key_up: KEY_NUMERIC_1(0x0001)
1499884422.084613: event type EV_SYN(0x00).
1499884427.084706: event type EV_MSC(0x04): scancode = 0x23451c
1499884427.084706: event type EV_KEY(0x01) key_down: KEY_NUMERIC_1(0x0001)
....
Display More
some key repeats if key pressed most than 0,5 seconds