Solved Remote button press behavior change after 5 minutes - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Solved Remote button press behavior change after 5 minutes (/showthread.php?tid=331932) |
Remote button press behavior change after 5 minutes - mrmagoo - 2018-05-15 Solved: Turned out to be a problem with the "Device Command Repeats" setting in the MyHarmony program. By default it was set to 3 for my IR receiver device and setting it to 0 resolved the issue. I have no idea why the behavior in Kodi changed after 5 min but problem now solved. My remote control button press behavior changes after 5 minutes. In both scenarios, the button press behavior is not correct:
Restarting Kodi recreates the same 5 min change in behavior. I am using Kodi 17.1 on Debian Stretch. I have a Logitech Harmony remote configured for MCE. This is configured with keyboard emulation via the in-kernel keyboard mapping and ir-keytable. Lirc and inputlirc are not installed. Other than a change to the "back" behavior, the default keyboard.xml and remote.xml are in use. Disregarding this issue, all buttons are mapped correctly and working as they should. Changing the remote timing via ir-keytable or remotedelay in advancedsettings.xml did nothing to help this problem. I eliminated any CEC interference by ensuring that was disabled. I can confirm via both "ir-keytable -t" and "xev" the remote button presses are working as they should at the OS level. This combined with the behavior changing after 5 minutes of Kodi running looks like some sort of issue with Kodi. I enabled debugging and here is the full log: https://paste.ubuntu.com/p/YDgNRjryQp/ Here are the log snippets of interest: Startup at 15:13:54:
Single button press working fine:
Button press and hold for 6 seconds not working. "ir-keytable -t" and "xev" show button press and hold working:
Just prior to the behavior change, I noticed this entry showing the RemoteControl thread terminating. I initially thought this was related to my problem however disabling LIRC in Kodi moved this message to startup time and had no impact on my problem.
After ~5 min, single press stops working and results in double presses:
However after 5 min, press and hold starts working as it should:
Any help of what might be going on will be appreciated. |