[[ This has been tested with OSMC Version_ID 2015.12-3, on a Raspberry Pi 2B. While the modifications and steps here should work with other versions and models, I cannot make any guarantee on that, but most everything here is a standard Linux action, so I can’t see why not. ]]
If you’ve used an RC6 (or clone) remote with OSMC, you’ve probably noticed a few issues, which this guide was meant to address. The RC6 remote works with very limited functionality out-of-box with the OSMC Remote (default osmc-remote-lircd profile) setting in the Remotes page, but has nearly full functionality with the RC6 Remote (rc6-mce-lircd profile) setting as well as the LIRCd Full (lircd-full profile) setting.
However, when on either of those two profiles, the RC6 remote has a strange double-press behavior, where if you press the remote button very quickly you get one step, press it firmly you get two steps, which can be very annoying when changing channels or navigating.
This guide is meant to address a good profile setting to use and eliminating the double-press. Unfortunately I have not found a way to change any repeat time - so holding a button down after this takes about 1 to 1.5 seconds to get it to start repeating - in the event of scrolling through a large list. Luckily, the channel up and down buttons seem to function as page up and down in the lists, so that makes things easier.
In my experience, the problem was that both LIRCd and the IR_RC6_DECODER module in kernel were interpreting the rc6 commands, and both were executing functions based upon those commands - thus the double-press behavior. This guide has us disabling IR_RC6_DECODER.
I’m not sure as to the privilege level required for most of these commands, so all of the commands I used were with sudo - forgive me if that’s not necessary.
First, using the keyboard or remote, go to the Remotes page in My OSMC and choose the rc6-mce-lircd profile. Confirm when it asks that you wish to keep those settings (the double-presses should not severely limit your ability to confirm the changes).
Then, SSH to the device, and type the following command:
sudo rmmod ir_rc6_decoder
Now, on the OSMC, try the remote again, using the up and down arrows to scroll through the remote list. Try firm presses and quick presses to verify that the buttons work and no more double-presses occur. If double-presses are still occurring, make sure the module was disabled, in SSH type:
and make sure ir_rc6_decoder is not present. If it is, repeat the command above, if not, something else may be causing the problem.
Next, in the SSH window, type the following command:
sudo nano /etc/modprobe.d/blacklist-rc6.conf
This should open a nano text editor window. Enter the following two lines:
install ir_rc6_decoder /bin/true
You can end it with a new line (enter key) or not, but save with Control+X, and typing “y” when prompted to save.
Now, in OSMC, go out of the remote menu, go to power menu, and restart. Or, in SSH, type in:
Either way, the system should come back up momentarily. Verify the double-pressing is gone, and enjoy your new remote. I’ve noticed about 90% of the buttons work and any that don’t you can try to use a guide with LIRCd and OSMC to set up new functionality.