How to get a seamless remote experience
This is not a one off, something somewhere has broken on the Infra Red input/passthrough sequence.

https://forum.kodi.tv/showthread.php?tid=338910

I've spent a few days now trying to get to the bottom of this.

In summary.....I run Fedora 29 x64 and have been using Kodi successfully without an problems using Infra Red for at least a couple of years now.

I DO NOT use lirc, instead using just the kernel rc options via ir-keytable and an rc6_mce file in /etc/rc_keymaps

Sometime around the end on November something got broken, some keys would pass their information to Kodi, however the bulk were 'disappearing'.

I had intended to look into it over Christmas but got diverted into another issue, so started looking at it properly only about a week back.

My 'test' environment to try to see where it was breaking was.....

open two terminal sessions, side by side

in one terminal session:-

>sudo ir-keytable

generates

Found /sys/class/rc/rc0/ (/dev/input/event18) with:
Name: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815)
Driver: mceusb, table: rc-rc6-mce
LIRC device: /dev/lirc0
Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon
Enabled kernel protocols: lirc rc-6
bus: 3, vendor/product: 0471:0815, version: 0x0000
Repeat delay = 500 ms, repeat period = 125 ms

So I can see that the infra red receiver is being 'seen' by the kernel as I would expect.

then in that same terminal session now run

>sudo ir-keytable -t

This should force that terminal session to listen to the IR receiver as detailed above and report any button presses on the remote and their corresponding 'mapping'' to the DE.

Now in the second terminal session

Install key-mon (for me this is sudo dnf install key-mon, your distro may be different)

now in the second terminal session

>key-mon

This should generate an on screen GUI that shows you what keys and/or mouse buttons are being pressed.

while you have these two terminal sessions running side by side and the key-mon GUI visible try to press some buttons on your remote control

in terminal session number 1 (sudo ir-keytable -t) I think you will find that EVERY button press on the infra red remote is reported and should show you the hex value of that button and it's corresponding mapped output from the file in /etc/rc_keymaps/rc6_mce

however

in terminal session number 2 (key-mon) only some of the button presses on the remote are being reported, the majority do not register any output to the key-mon GUI.

So, while you may think that Kodi is not responding to button presses that worked previously, my investigation thus far seems to suggest something has broken between the way the button presses are either being passed to the DE or are interpreted by the DE, and as a result are just not being registered at all.

I would really appreciate it if some other forum members who are using the kernel-rc and ir-keytables (please NOT lirc as that seems to work) could undertake the testing as I did above and report back their findings.

As I stated earlier, this was all working fine till around the end of November so something has broken since then, and while it appears clear to me now this is not a Kodi bug it's more then likely to affect Kodi users down the line unless we can identify and fix exactly what has got broken.
Reply


Messages In This Thread
[No subject] - by darkscout - 2011-06-29, 20:11
[No subject] - by LB06 - 2011-06-29, 20:27
[No subject] - by gazrat - 2011-06-30, 00:09
[No subject] - by Anastrophe - 2011-06-30, 16:48
[No subject] - by gazrat - 2011-06-30, 21:48
[No subject] - by LB06 - 2011-06-30, 22:34
[No subject] - by gazrat - 2011-07-04, 18:28
[No subject] - by LB06 - 2011-07-04, 18:59
[No subject] - by gazrat - 2011-07-04, 23:52
[No subject] - by LB06 - 2011-07-04, 23:58
[No subject] - by gazrat - 2011-07-05, 00:28
[No subject] - by LB06 - 2011-07-05, 01:17
[No subject] - by wsnipex - 2011-07-05, 09:37
[No subject] - by darkscout - 2011-07-05, 10:23
[No subject] - by LB06 - 2011-07-05, 10:37
[No subject] - by gazrat - 2011-07-05, 20:45
[No subject] - by LB06 - 2011-07-05, 22:11
[No subject] - by gazrat - 2011-07-05, 22:31
[No subject] - by LB06 - 2011-07-05, 23:10
[No subject] - by gazrat - 2011-07-05, 23:16
[No subject] - by SirHc - 2011-07-07, 22:07
Nesting actions? - by konti - 2011-07-08, 12:19
[No subject] - by SirHc - 2011-07-08, 12:45
[No subject] - by LB06 - 2011-07-08, 13:30
[No subject] - by LB06 - 2011-07-08, 13:33
[No subject] - by mason - 2011-07-08, 13:51
[No subject] - by SirHc - 2011-07-08, 20:22
[No subject] - by teeedubb - 2011-07-10, 11:47
[No subject] - by LB06 - 2011-07-10, 13:02
[No subject] - by LB06 - 2011-07-10, 13:55
[No subject] - by teeedubb - 2011-07-10, 14:10
[No subject] - by LB06 - 2011-07-10, 14:56
[No subject] - by gazrat - 2011-07-12, 19:40
[No subject] - by LB06 - 2011-07-12, 22:20
[No subject] - by blubyu - 2011-07-13, 03:03
[No subject] - by teeedubb - 2011-07-14, 05:21
[No subject] - by toliman - 2011-07-27, 14:58
[No subject] - by LB06 - 2011-07-27, 16:16
[No subject] - by Jayphen - 2011-08-24, 06:27
[No subject] - by recluce - 2011-08-24, 19:16
[No subject] - by LB06 - 2011-08-24, 19:19
[No subject] - by Jayphen - 2011-08-25, 00:42
[No subject] - by LB06 - 2011-08-25, 00:57
[No subject] - by Jayphen - 2011-08-25, 01:18
[No subject] - by recluce - 2011-08-25, 01:21
[No subject] - by LB06 - 2011-08-25, 01:27
[No subject] - by LB06 - 2011-08-25, 01:29
[No subject] - by Jayphen - 2011-08-25, 01:30
[No subject] - by LB06 - 2011-08-25, 01:31
[No subject] - by Jayphen - 2011-08-25, 01:33
[No subject] - by LB06 - 2011-08-25, 01:52
[No subject] - by recluce - 2011-08-25, 01:57
[No subject] - by Jayphen - 2011-08-25, 02:10
[No subject] - by LB06 - 2011-08-25, 10:25
[No subject] - by koekiemonster - 2011-09-15, 23:29
RE: - by GreatEmerald - 2013-03-11, 20:57
[No subject] - by stefanwa - 2011-09-20, 16:50
RE: How to get a seamless remote experience - by Anothers - 2019-01-08, 00:48
Logout Mark Read Team Forum Stats Members Help
How to get a seamless remote experience9