2019-02-19, 10:19
Hello,
I have a MediaPC with Ubuntu 18.04 / Kodi 18.1 and unfortunately a problem with my remote control.
I use the remote support of the kernel and not LIRC. The iMon remote also responds with the command ir-keytable -t to all keys.
So the signal input to the MediaPC works.
Unfortunately Kodi doesn't react to most of the keys (control pad works) and thinks he has a keyboard instead of a remote control. Here is an excerpt from the Kodi.log file.
With the Kodi Plugin Keymap Editor I tried it and it works, but not correctly. It creates a gen.xml under .kodi/userdata/keymaps/ with the following content.
How can I make Kodi understand that I have a remote and no keyboard or that he is using the iMon remote to output the ir-keytable?
I have a MediaPC with Ubuntu 18.04 / Kodi 18.1 and unfortunately a problem with my remote control.
I use the remote support of the kernel and not LIRC. The iMon remote also responds with the command ir-keytable -t to all keys.
Code:
sudo ir-keytable
/sys/class/rc/rc0/ gefunden (/dev/input/event6) mit:
Name: iMON Remote (15c2:0036)
Treiber: imon, Tabelle: rc-imon-pad
unterstützte Protokolle: other rc-6
Aktivierte Protokolle: other
bus: 3, Anbieter/Produkt: 15c2:0036, Version: 0x0003
Wiederholungsverzögerung = 500 ms, Wiederholungsperiode = 125 ms
Code:
sudo ir-keytable -t
Ereignisse werden getestet. Bitte drücken Sie STRG-C, um abzubrechen.
138.580380: Ereignistyp EV_MSC(0x04): Scancode = 0x10002f1
138.580380: Ereignistyp EV_SYN(0x00).
138.612333: Ereignistyp EV_MSC(0x04): Scancode = 0x1008000
138.612333: Ereignistyp EV_KEY(0x01) key_runter: KEY_UP(0x0067)
138.612333: Ereignistyp EV_SYN(0x00).
Ereignistyp EV_KEY(0x01) key_hoch: KEY_UP(0x0067)
Code:
NOTICE: Register - new imon device registered on usb->/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5.3: iMON HID device (15C2:0036)
Code:
<keymap>
<global>
<keyboard>
<key id="61570">left</key>
<key id="61571">right</key>
<key id="61568">up</key>
<key id="61569">down</key>
<key id="61952">select</key>
</keyboard>
</global>
</keymap>