Hi there,
I just installed LibreELEC 8.90.008 on my Zotac ZBOX nano AD-10 and of course the IR remote doesn't work anymore. Hitting the forums I found this manual and in ir-keytable I get:
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
Name: ITE8704 CIR transceiver
Driver: ite-cir, table: rc-rc6-mce
lirc device: /dev/lirc0
Supported protocols: other lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
Enabled protocols: lirc nec rc-6
bus: 25, vendor/product: 1283:0000, version: 0x0000
Repeat delay = 500 ms, repeat period = 125 ms
Then I run the testing and found out that every other key sends a different scancode:
# ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1054.064508: lirc protocol(rc6_6a_32): scancode = 0x80348458
1054.170042: lirc protocol(rc6_6a_32): scancode = 0x80348458
1054.275471: lirc protocol(rc6_6a_32): scancode = 0x80348458
1055.145727: lirc protocol(rc6_6a_32): scancode = 0x80340458
1055.251637: lirc protocol(rc6_6a_32): scancode = 0x80340458
1055.357428: lirc protocol(rc6_6a_32): scancode = 0x80340458
I pressed the up button on my remote (a Logitech Harmony Hub via a Logitech Harmony Touch) twice. I feel it is the same like the problems I had with the alpha for LibreELEC 8.
So now I have created my own test keymap with the following content and loaded it:
# table logitech, type: rc-6
0x80340458 KEY_UP
0x80340459 KEY_DOWN
0x8034045a KEY_LEFT
0x8034045b KEY_RIGHT
# ir-keytable -c -w /storage/.config/rc_keymaps/logitech
Read logitech table
Old keytable cleared
Wrote 4 keycode(s) to driver
Protocols changed to rc-6
# ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
Name: ITE8704 CIR transceiver
Driver: ite-cir, table: rc-rc6-mce
lirc device: /dev/lirc0
Supported protocols: other lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp
Enabled protocols: lirc rc-6
bus: 25, vendor/product: 1283:0000, version: 0x0000
Repeat delay = 500 ms, repeat period = 125 ms
# ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1567.541687: lirc protocol(rc6_6a_32): scancode = 0x80340458
1567.541734: event type EV_MSC(0x04): scancode = 0x80340458
1567.541734: event type EV_KEY(0x01) key_down: KEY_UP(0x0067)
1567.541734: event type EV_SYN(0x00).
1567.647334: lirc protocol(rc6_6a_32): scancode = 0x80340458
1567.647376: event type EV_MSC(0x04): scancode = 0x80340458
1567.647376: event type EV_SYN(0x00).
1567.775938: event type EV_KEY(0x01) key_up: KEY_UP(0x0067)
1567.775938: event type EV_SYN(0x00).
1569.138683: lirc protocol(rc6_6a_32): scancode = 0x80348458
1569.138743: event type EV_MSC(0x04): scancode = 0x80348458
1569.138743: event type EV_SYN(0x00).
1569.244496: lirc protocol(rc6_6a_32): scancode = 0x80348458
1569.244550: event type EV_MSC(0x04): scancode = 0x80348458
1569.244550: event type EV_SYN(0x00).
1569.351323: lirc protocol(rc6_6a_32): scancode = 0x80348458
1569.351377: event type EV_MSC(0x04): scancode = 0x80348458
1569.351377: event type EV_SYN(0x00).
Display More
So it stills reads both codes. lircd isn't running (there isn't a setting for it anymore in the LibreELEC settings addon)
What can be done to fix this? I have the original remote, but the batteries ran out of power and they are button cells I don't have lying around.