Hi, I’ve been running OSMC on RPi2 for a long time, with a MCE compatible remote via a TSOP34138. OSMC was installed from the RPi image on the site (OSMC_TGT_rbp2_20190424.img.gz).
Recently I’ve made a new install, again from the OSMC RPi image on the site (OSMC_TGT_rbp2_20201227.img.gz). Everything works fine, except for the remote. After configuring Kodi to use GPIO pin 18 and selecting the rc6-mce profile the remote is recognized but every keypress leads to numerous bounces, making it unusable.
When I switch back to the old system (switch SDcard) then the remote functions properly again, so the hardware is okay.
Apparently I’m overlooking some setting… Ideas?
Can you post the output of lsmod
?
You might have both kernel and LIRC decoding enabled.
That could very well be the case… No idea :(.
Module Size Used by
8021q 32768 0
garp 20480 1 8021q
stp 16384 1 garp
llc 16384 2 garp,stp
rfkill 28672 1
iptable_nat 16384 0
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 32768 1 nf_nat_ipv4
nf_conntrack 139264 2 nf_nat_ipv4,nf_nat
nf_defrag_ipv6 20480 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
rpcsec_gss_krb5 32768 0
iptable_mangle 16384 0
iptable_filter 16384 0
uinput 20480 1
bcm2835_codec 40960 0
videobuf2_dma_contig 20480 1 bcm2835_codec
bcm2835_v4l2 45056 0
v4l2_mem2mem 24576 1 bcm2835_codec
snd_bcm2835 28672 0
bcm2835_mmal_vchiq 28672 2 bcm2835_codec,bcm2835_v4l2
snd_pcm 131072 1 snd_bcm2835
videobuf2_v4l2 28672 3 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_vmalloc 16384 1 bcm2835_v4l2
evdev 24576 3
joydev 20480 0
videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc
snd_timer 36864 1 snd_pcm
videobuf2_common 49152 4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
v4l2_common 16384 1 bcm2835_v4l2
snd 81920 3 snd_timer,snd_bcm2835,snd_pcm
videodev 221184 6 bcm2835_codec,v4l2_common,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
media 36864 3 bcm2835_codec,videodev,v4l2_mem2mem
bcm2835_thermal 16384 0
bcm2835_gpiomem 16384 0
uio_pdrv_genirq 16384 0
gpio_ir_recv 16384 0
rc_core 49152 3 gpio_ir_recv
uio 20480 1 uio_pdrv_genirq
fixed 16384 0
ip_tables 24576 3 iptable_mangle,iptable_filter,iptable_nat
x_tables 36864 3 iptable_mangle,ip_tables,iptable_filter
ipv6 483328 40
These are the lirc related processes running.
root 265 0.0 0.0 1932 596 ? Ss 08:41 0:00 /usr/sbin/eventlircd --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd --release=_UP -f
root 309 0.0 0.1 4108 1436 ? Ss 08:41 0:00 /usr/sbin/lircd --driver=default --device=/dev/lirc0 --uinput --output=/var/run/lirc/lircd-lirc0 --pidfile=/var/run/lirc/lircd-lirc0.pid /etc/lirc/lircd.conf
root 376 0.0 0.3 6744 2772 ? S 08:41 0:00 sudo -u osmc LIRC_SOCKET_PATH=/var/run/lirc/lircd /usr/lib/kodi/kodi.bin --standalone -fs
These are the GPIO related settings of Kodi in ~/.kodi/userdata/addon_data/script.module.osmcsetting.pi/settings.xml:
<setting id="gpio-ir-overlay" default="true">defunct</setting>
<setting id="gpio_in_pin" default="true">defunct</setting>
<setting id="gpio_in_pull" default="true">defunct</setting>
<setting id="gpio_out_pin" default="true">defunct</setting>
<setting id="gpio_pin">18</setting>
<setting id="w1gpio" default="true">0</setting>
Thanks for your support!