Pi2 B with RC6 remote duplicates key events

Solved it:

Start with : sudo apt-get install ir-keytable
Make a file sudo nano /etc/systemd/system/script.service containing:

[Unit]
Description=Disable duobleclicks with remote
After = remote-fs.target network-online.target mediacenter.service

[Service]
User=osmc
Group=osmc

Type=simple
ExecStart=/var/scripts/remote.sh
TimeoutStopSec=20

[Install]
WantedBy=multi-user.target

and then sudo mkdir /var/scripts and sudo nano /var/scripts/remote.sh containing:

#!/bin/sh
#sudo rmmod ir_rc6_decoder
sudo ir-keytable -p lirc
exit 0

change filerights sudo chmod x /var/scripts/remote.sh
last thing: sudo systemctl enable script.service
reboot and it works :grinning: