It works! I really, really appreciate your help today Hias, you've been incredibly helpful and helped me in my first attempt to get away from a Windows-based Kodi solution to a Linux one. Thanks!
Posts by beeswax
-
-
Thanks Hias, yes simply running ir-keytable -p mce_kbd gets the MCE keyboard working. I've combined mce_kbd with rc-6 using:
and this now works perfectly with my Harmony Remote which utilises both MCE keyboard and remote commands. The only problem: its getting reset every time the machine reboots - how to make it persist?
-
Thank you Hias, I've installed system tools and am seeing lots of lovely input from my MCE keyboard now. This method of detecting input is a little off piste from the Wiki article on setting up IR remotes though, would you mind telling me how I proceed or which sections of the Wiki article are still valid for me to follow?
This is what it looks like if it helps:
Code
Display MoreEvent: time 1524757391.708434, -------------- SYN_REPORT ------------ Event: time 1524757404.656073, type 1 (EV_KEY), code 18 (KEY_E), value 1 Event: time 1524757404.656073, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800 Event: time 1524757404.656073, -------------- SYN_REPORT ------------ Event: time 1524757404.796744, type 1 (EV_KEY), code 18 (KEY_E), value 0 Event: time 1524757404.796744, type 4 (EV_MSC), code 4 (MSC_SCAN), value 00 Event: time 1524757404.796744, -------------- SYN_REPORT ------------ Event: time 1524757406.683631, type 1 (EV_KEY), code 18 (KEY_E), value 1 Event: time 1524757406.683631, type 4 (EV_MSC), code 4 (MSC_SCAN), value 800 Event: time 1524757406.683631, -------------- SYN_REPORT ------------ Event: time 1524757406.824258, type 1 (EV_KEY), code 18 (KEY_E), value 0 Event: time 1524757406.824258, type 4 (EV_MSC), code 4 (MSC_SCAN), value 00 Event: time 1524757406.824258, -------------- SYN_REPORT ------------ Event: time 1524757407.389504, type 1 (EV_KEY), code 19 (KEY_R), value 1 Event: time 1524757407.389504, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1500 Event: time 1524757407.389504, -------------- SYN_REPORT ------------ Event: time 1524757407.530439, type 1 (EV_KEY), code 19 (KEY_R), value 0 Event: time 1524757407.530439, type 4 (EV_MSC), code 4 (MSC_SCAN), value 00 Event: time 1524757407.530439, -------------- SYN_REPORT ------------ Event: time 1524757408.043143, type 1 (EV_KEY), code 20 (KEY_T), value 1 Event: time 1524757408.043143, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1700 Event: time 1524757408.043143, -------------- SYN_REPORT ------------ Event: time 1524757408.183814, type 1 (EV_KEY), code 20 (KEY_T), value 0 Event: time 1524757408.183814, type 4 (EV_MSC), code 4 (MSC_SCAN), value 00 Event: time 1524757408.183814, -------------- SYN_REPORT ------------ Event: time 1524757760.569619, type 1 (EV_KEY), code 16 (KEY_Q), value 1 Event: time 1524757760.569619, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1400 Event: time 1524757760.569619, -------------- SYN_REPORT ------------ Event: time 1524757760.716602, type 1 (EV_KEY), code 16 (KEY_Q), value 0 Event: time 1524757760.716602, type 4 (EV_MSC), code 4 (MSC_SCAN), value 00 Event: time 1524757760.716602, -------------- SYN_REPORT ------------
edit: wait, the output from evtest shows that the ir codes are already being translated to key presses (e.g. KEY_Q) so I don't need to create a keymap do I? I just need to get Kodi to switch to listening on the mce_kb protocol. How do I do that? Or am I completely misunderstanding the evtest output and Wiki article?
-
Hi, I'm trying to accomplish what this guy set out to do initially: Other thread. Unfortunately, he gave up and reverted to using an MCE Remote but I'd like to know if it's actually possible.
I'm using an Intel NUC i3 34010WYB and the most recent Kodi 18 test build (#0425, 25-Apr-2018). I have a Logitech Harmony remote which is programmed to act as a hybrid MCE Remote/Keyboard. My ir-keytable output looks like this:
CodeNUCElec:~ # ir-keytable Found /sys/class/rc/rc0/ (/dev/input/event9) with: Driver: nuvoton-cir, table: rc-rc6-mce lirc device: /dev/lirc0 Supported protocols: lirc rc-5 rc-5-sz 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
I'm following the Infrared Remotes section of the Wiki and assumed when I set ir-keytable to use the mce-kbd protocol, I'd see some input being logged but it doesn't detect anything. I actually have a proper MCE Keyboard here too and that doesn't get detected either, not the letter, not the direction keys or any of the MCE specific keys. I don't mind going to the effort of creating a custom keymap but as I understand it, I can't unless ir-keytable actually sees something from the keyboard. Can anyone help?
edit: ir-ctl -r does produce lots of pulses and spaces when tapping away on the MCE keyboard but the Wiki article doesn't go into any detail about how to proceed from there.