Remote "Double-Clicks" Following April 2019 Update

@DanOnline @steamship @JJK9 @new_account @darekk @PhilC @dnwhoop02 and anyone else having problems with unwanted repeats after the last update.

We think we’ve identified the cause and a potential fix for this problem. If you want to try the fix ahead of time and give feedback as to whether it fixes it for you please try the following:

Via SSH first install the ir-keytable package:

sudo apt-get update
sudo apt-get install ir-keytable


Next create a udev rule file by creating a new blank file in nano:

sudo nano /etc/udev/rules.d/70-input-repeat.rules
Then copy and paste the following into nano:

ACTION=="add", SUBSYSTEM=="input", KERNEL=="event[0-9]*", GOTO="start"
GOTO="end"
LABEL="start"

# don't change eventlircd device settings
ATTRS{name}=="lircd", GOTO="end"

# don't change settings of rc remotes
SUBSYSTEMS=="rc", GOTO="end"

# set default repeat delay to 500ms like rc remotes
RUN+="/usr/bin/ir-keytable --delay=500 --period=50 --device=$devnode"

LABEL="end"
Save (CTRL-X then Y) then reboot. This should change the repeat delay and repeat rate (period) for any keyboard-like devices including flirc. The repeat delay and period can be customised by editing this file and rebooting, however I think the suggested default of 500 and 50 should be fairly optimal. Please let us know whether this fixes the problem for you. (For reference the default OS values before applying this change are 250 ms for the delay and 33 ms for the period, so a much shorter repeat delay and a faster repeat rate)

MOD EDIT: This patch is no longer working with updated versions of OSMC and should not be created. The issue being that the version of ir-keytable no longer will take a --device argument and therefore will no let you set the repeat delay on a device not running through lircd like a FLIRC. The method to change this setting as of OSMC’s Bullseye update will be to use a program called “evrepeat”. If your reading this and you had already created the file above you should delete it.

1 Like