I’ve been fighting with this for over a week, and it’s really driving me nuts. I’ve gone through many guides, wiki pages, forum posts and can’t seem to find the right combination to work for me.
I have a fresh install of Ubuntu 16.04.01 (kernel 4.4.0-59-generic) with Kodi 17.0-RC3 Git:20170119-nogitfound running on a Haswell NUC.
After following the notes on the NUC wiki page, most of the buttons work OK by default, but a few important ones do now. If I can get the procedure down for remapping one key, I’m sure I could handle the rest myself. I’m just using the kernel builtin support, no lirc is installed.
Here is my ir-keytable output:
Found /sys/class/rc/rc0/ (/dev/input/event7) with:
Driver nuvoton-cir, table rc-rc6-mce
Supported protocols: unknown other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp xmp
Enabled protocols: lirc rc-6
Name: Nuvoton w836x7hg Infrared Remote
bus: 25, vendor/product: 1050:00c3, version: 0x0033
Repeat delay = 500 ms, repeat period = 125 ms
First, I’m fighting to get the menu button on the remote working.
ir-keytable -t output:
1485007442.439068: event type EV_MSC(0x04): scancode = 0x800f040d
1485007442.439068: event type EV_KEY(0x01) key_down: KEY_MEDIA(0x00e2)
1485007442.439068: event type EV_SYN(0x00).
1485007442.667915: event type EV_MSC(0x04): scancode = 0x800f040d
1485007442.667915: event type EV_SYN(0x00).
1485007442.917075: event type EV_KEY(0x01) key_up: KEY_MEDIA(0x00e2)
1485007442.917075: event type EV_SYN(0x00).
Entry I added in ~/.kodi/userdata/Lircmap.xml (complete copy here)
<lircmap>
<remote device="mceusb">
...
<menu>KEY_MEDIA</menu>
...
</remote>
</lircmap>
kodi.log debug output (complete log here)
10:10:46.366 T:139774570330496 DEBUG: Keyboard: scancode: 0xea, sym: 0x00b9, unicode: 0x0000, modifier: 0x0
10:10:46.366 T:139774570330496 DEBUG: OnKey: launch_media_center (0xf0c3) pressed, action is
In the kodi.log it is reading as “launch_media_center” with no associated action. What else do you need to know or what should I try?
Thank you!!!
~Whysyn
Edit: More details on my setup.