Ok.. any suggestions as to the device to reprogram it to?
I've never had or used a MCE remote, and the MyHarmony software is looking for a manufacturer/device combo
Ok.. any suggestions as to the device to reprogram it to?
I've never had or used a MCE remote, and the MyHarmony software is looking for a manufacturer/device combo
I have an Intel NUC that has been running kodi on windows for many years now.
However, the OS has started to become problematic, so I've switched over to LE.
I've gotten this to partially work, but I cannot figure out why it is failing with the rest.
I have a Logitech 650 that I have programmed with a bunch of MCE keyboard commands to talk to Kodi. Its been working fairly well for years.
I have followed the Wiki - https://wiki.libreelec.tv/configuration/ir-remotes
I started wit the rc_rc6_mce.toml file. The only key that registered was KEY_OK. Most of my keys would not even register without having the mce_kdb protocol enabled. I got the output from ir-keytable -c -p all -t and made changes to my keytable, but most won't bind to the EV_KEY event. Some are working... and the difference is eluding me.
ir-keytable output:
LibreELEC:~ # ir-keytable
Found /sys/class/rc/rc0/ with:
Name: ITE8708 CIR transceiver
Driver: ite-cir
Default keymap: rc-rc6-mce
Input device: /dev/input/event5
LIRC device: /dev/lirc0
Attached BPF protocols:
Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon rc-mm
Enabled kernel protocols: lirc rc-6
bus: 25, vendor/product: 1283:0000, version: 0x0000
Repeat delay: 500 ms, repeat period: 125 ms
Display More
Here's my output from ir-keytable -r
LibreELEC:~ # ir-keytable -r
scancode 0x0600 = KEY_MENU (0x8b)
scancode 0x0900 = KEY_FASTFORWARD (0xd0)
scancode 0x0c00 = KEY_INFO (0x166)
scancode 0x1300 = KEY_PLAY (0xcf)
scancode 0x1500 = KEY_REWIND (0xa8)
scancode 0x1700 = KEY_SUBTITLE (0x172)
scancode 0x1b00 = KEY_STOP (0x80)
scancode 0x2900 = KEY_ESC (0x01)
scancode 0x2c00 = KEY_PAUSE (0x77)
scancode 0x3100 = KEY_ENTER (0x1c)
scancode 0x4b00 = KEY_CHANNELUP (0x192)
scancode 0x4e00 = KEY_CHANNELDOWN (0x193)
scancode 0x4f00 = KEY_RIGHT (0x6a)
scancode 0x5000 = KEY_LEFT (0x69)
scancode 0x5100 = KEY_DOWN (0x6c)
scancode 0x5200 = KEY_UP (0x67)
scancode 0x800f040b = KEY_OK (0x160)
Enabled kernel protocols: lirc rc-5 mce_kbd rc-6
Display More
After stopping Kodi and eventlircd, I ran ir-keytable -t and captured the output. It shows (at the end) that some of the keys are correctly calling the EV_KEY event, while most are not.
What am I missing here?
LibreELEC:~ # cat ir-output
Testing events. Please, press CTRL-C to abort.
3906.184324: lirc protocol(mcir2-kbd): scancode = 0x600
3906.184345: event type EV_MSC(0x04): scancode = 0x600
3906.184345: event type EV_SYN(0x00).
3906.283049: lirc protocol(mcir2-kbd): scancode = 0x600
3906.283071: event type EV_MSC(0x04): scancode = 0x600
3906.283071: event type EV_SYN(0x00).
3906.384120: lirc protocol(mcir2-kbd): scancode = 0x600
3906.384143: event type EV_MSC(0x04): scancode = 0x600
3906.384143: event type EV_SYN(0x00).
3909.910265: lirc protocol(mcir2-kbd): scancode = 0x900
3909.910286: event type EV_MSC(0x04): scancode = 0x900
3909.910286: event type EV_SYN(0x00).
3910.010226: lirc protocol(mcir2-kbd): scancode = 0x900
3910.010249: event type EV_MSC(0x04): scancode = 0x900
3910.010249: event type EV_SYN(0x00).
3910.108972: lirc protocol(mcir2-kbd): scancode = 0x900
3910.108993: event type EV_MSC(0x04): scancode = 0x900
3910.108993: event type EV_SYN(0x00).
3911.813175: lirc protocol(mcir2-kbd): scancode = 0xc00
3911.813196: event type EV_MSC(0x04): scancode = 0xc00
3911.813196: event type EV_SYN(0x00).
3911.913057: lirc protocol(mcir2-kbd): scancode = 0xc00
3911.913078: event type EV_MSC(0x04): scancode = 0xc00
3911.913078: event type EV_SYN(0x00).
3912.014243: lirc protocol(mcir2-kbd): scancode = 0xc00
3912.014264: event type EV_MSC(0x04): scancode = 0xc00
3912.014264: event type EV_SYN(0x00).
3913.995725: lirc protocol(mcir2-kbd): scancode = 0x1300
3913.995746: event type EV_MSC(0x04): scancode = 0x1300
3913.995746: event type EV_SYN(0x00).
3914.096867: lirc protocol(mcir2-kbd): scancode = 0x1300
3914.096889: event type EV_MSC(0x04): scancode = 0x1300
3914.096889: event type EV_SYN(0x00).
3914.196728: lirc protocol(mcir2-kbd): scancode = 0x1300
3914.196753: event type EV_MSC(0x04): scancode = 0x1300
3914.196753: event type EV_SYN(0x00).
3916.689825: lirc protocol(mcir2-kbd): scancode = 0x1500
3916.689850: event type EV_MSC(0x04): scancode = 0x1500
3916.689850: event type EV_SYN(0x00).
3916.790881: lirc protocol(mcir2-kbd): scancode = 0x1500
3916.790906: event type EV_MSC(0x04): scancode = 0x1500
3916.790906: event type EV_SYN(0x00).
3916.890780: lirc protocol(mcir2-kbd): scancode = 0x1500
3916.890804: event type EV_MSC(0x04): scancode = 0x1500
3916.890804: event type EV_SYN(0x00).
3919.331661: lirc protocol(mcir2-kbd): scancode = 0x1700
3919.331685: event type EV_MSC(0x04): scancode = 0x1700
3919.331685: event type EV_SYN(0x00).
3919.432823: lirc protocol(mcir2-kbd): scancode = 0x1700
3919.432848: event type EV_MSC(0x04): scancode = 0x1700
3919.432848: event type EV_SYN(0x00).
3919.532846: lirc protocol(mcir2-kbd): scancode = 0x1700
3919.532871: event type EV_MSC(0x04): scancode = 0x1700
3919.532871: event type EV_SYN(0x00).
3921.723685: lirc protocol(mcir2-kbd): scancode = 0x1b00
3921.723709: event type EV_MSC(0x04): scancode = 0x1b00
3921.723709: event type EV_SYN(0x00).
3921.823522: lirc protocol(mcir2-kbd): scancode = 0x1b00
3921.823547: event type EV_MSC(0x04): scancode = 0x1b00
3921.823547: event type EV_SYN(0x00).
3921.923558: lirc protocol(mcir2-kbd): scancode = 0x1b00
3921.923581: event type EV_MSC(0x04): scancode = 0x1b00
3921.923581: event type EV_SYN(0x00).
3926.577833: lirc protocol(mcir2-kbd): scancode = 0x2900
3926.577863: event type EV_KEY(0x01) key_down: KEY_ESC(0x0001)
3926.577863: event type EV_MSC(0x04): scancode = 0x2900
3926.577863: event type EV_SYN(0x00).
3926.677785: lirc protocol(mcir2-kbd): scancode = 0x2900
3926.677808: event type EV_MSC(0x04): scancode = 0x2900
3926.677808: event type EV_SYN(0x00).
3926.777958: lirc protocol(mcir2-kbd): scancode = 0x2900
3926.777980: event type EV_MSC(0x04): scancode = 0x2900
3926.777980: event type EV_SYN(0x00).
3926.896557: event type EV_KEY(0x01) key_up: KEY_ESC(0x0001)
3926.896557: event type EV_SYN(0x00).
3929.363501: lirc protocol(mcir2-kbd): scancode = 0x2c00
3929.363525: event type EV_MSC(0x04): scancode = 0x2c00
3929.363525: event type EV_SYN(0x00).
3929.463522: lirc protocol(mcir2-kbd): scancode = 0x2c00
3929.463544: event type EV_MSC(0x04): scancode = 0x2c00
3929.463544: event type EV_SYN(0x00).
3929.563508: lirc protocol(mcir2-kbd): scancode = 0x2c00
3929.563531: event type EV_MSC(0x04): scancode = 0x2c00
3929.563531: event type EV_SYN(0x00).
3933.223209: lirc protocol(mcir2-kbd): scancode = 0x3100
3933.223233: event type EV_MSC(0x04): scancode = 0x3100
3933.223233: event type EV_SYN(0x00).
3933.323148: lirc protocol(mcir2-kbd): scancode = 0x3100
3933.323170: event type EV_MSC(0x04): scancode = 0x3100
3933.323170: event type EV_SYN(0x00).
3933.422894: lirc protocol(mcir2-kbd): scancode = 0x3100
3933.422918: event type EV_MSC(0x04): scancode = 0x3100
3933.422918: event type EV_SYN(0x00).
3935.902376: lirc protocol(mcir2-kbd): scancode = 0x4b00
3935.902398: event type EV_MSC(0x04): scancode = 0x4b00
3935.902398: event type EV_SYN(0x00).
3936.002179: lirc protocol(mcir2-kbd): scancode = 0x4b00
3936.002201: event type EV_MSC(0x04): scancode = 0x4b00
3936.002201: event type EV_SYN(0x00).
3936.102446: lirc protocol(mcir2-kbd): scancode = 0x4b00
3936.102469: event type EV_MSC(0x04): scancode = 0x4b00
3936.102469: event type EV_SYN(0x00).
3938.537504: lirc protocol(mcir2-kbd): scancode = 0x4e00
3938.537527: event type EV_MSC(0x04): scancode = 0x4e00
3938.537527: event type EV_SYN(0x00).
3938.638614: lirc protocol(mcir2-kbd): scancode = 0x4e00
3938.638638: event type EV_MSC(0x04): scancode = 0x4e00
3938.638638: event type EV_SYN(0x00).
3938.738587: lirc protocol(mcir2-kbd): scancode = 0x4e00
3938.738610: event type EV_MSC(0x04): scancode = 0x4e00
3938.738610: event type EV_SYN(0x00).
3941.419891: lirc protocol(mcir2-kbd): scancode = 0x4f00
3941.419917: event type EV_KEY(0x01) key_down: KEY_RIGHT(0x006a)
3941.419917: event type EV_MSC(0x04): scancode = 0x4f00
3941.419917: event type EV_SYN(0x00).
3941.519741: lirc protocol(mcir2-kbd): scancode = 0x4f00
3941.519765: event type EV_MSC(0x04): scancode = 0x4f00
3941.519765: event type EV_SYN(0x00).
3941.619842: lirc protocol(mcir2-kbd): scancode = 0x4f00
3941.619864: event type EV_MSC(0x04): scancode = 0x4f00
3941.619864: event type EV_SYN(0x00).
3941.739882: event type EV_KEY(0x01) key_up: KEY_RIGHT(0x006a)
3941.739882: event type EV_SYN(0x00).
3943.445902: lirc protocol(mcir2-kbd): scancode = 0x5000
3943.445926: event type EV_KEY(0x01) key_down: KEY_LEFT(0x0069)
3943.445926: event type EV_MSC(0x04): scancode = 0x5000
3943.445926: event type EV_SYN(0x00).
3943.547107: lirc protocol(mcir2-kbd): scancode = 0x5000
3943.547129: event type EV_MSC(0x04): scancode = 0x5000
3943.547129: event type EV_SYN(0x00).
3943.645824: lirc protocol(mcir2-kbd): scancode = 0x5000
3943.645846: event type EV_MSC(0x04): scancode = 0x5000
3943.645846: event type EV_SYN(0x00).
3943.763231: event type EV_KEY(0x01) key_up: KEY_LEFT(0x0069)
3943.763231: event type EV_SYN(0x00).
3945.681853: lirc protocol(mcir2-kbd): scancode = 0x5100
3945.681884: event type EV_KEY(0x01) key_down: KEY_DOWN(0x006c)
3945.681884: event type EV_MSC(0x04): scancode = 0x5100
3945.681884: event type EV_SYN(0x00).
3945.781761: lirc protocol(mcir2-kbd): scancode = 0x5100
3945.781783: event type EV_MSC(0x04): scancode = 0x5100
3945.781783: event type EV_SYN(0x00).
3945.881442: lirc protocol(mcir2-kbd): scancode = 0x5100
3945.881463: event type EV_MSC(0x04): scancode = 0x5100
3945.881463: event type EV_SYN(0x00).
3945.999880: event type EV_KEY(0x01) key_up: KEY_DOWN(0x006c)
3945.999880: event type EV_SYN(0x00).
3948.124196: lirc protocol(mcir2-kbd): scancode = 0x5200
3948.124224: event type EV_KEY(0x01) key_down: KEY_UP(0x0067)
3948.124224: event type EV_MSC(0x04): scancode = 0x5200
3948.124224: event type EV_SYN(0x00).
3948.223042: lirc protocol(mcir2-kbd): scancode = 0x5200
3948.223064: event type EV_MSC(0x04): scancode = 0x5200
3948.223064: event type EV_SYN(0x00).
3948.324072: lirc protocol(mcir2-kbd): scancode = 0x5200
3948.324097: event type EV_MSC(0x04): scancode = 0x5200
3948.324097: event type EV_SYN(0x00).
3948.429220: lirc protocol(mcir2-kbd): scancode = 0x0
3948.429243: event type EV_KEY(0x01) key_up: KEY_UP(0x0067)
3948.429243: event type EV_MSC(0x04): scancode = 0x00
Display More