Hello everybody!
I searched the net for a while but did not find a solution for my problem. So I am hopeful, that somebody of you can help me out.
I am running LibreELEC 8.0.2 on a RPi 3.
An IR receiver is connected via GPIO. It is feeded with an XBox One Media Control.
For Live-TV I am using an PCTV 461e USB stick (DVB-S/S2).
Everything works fine until I connect the DVB-stick. From then on the responsiveness of the remote control is unreliable, since some of the button pushes are not recognized by Lirc/Kodi.
In my opinion this behaviour is reasoned in the fact that the DVB-stick has got it's own IR receiver and therefore two IR receivers are working inside the system and interfere with each other.
Part of dmesg output:
[    3.638898] lirc_dev: IR Remote Control driver registered, major 243
[    3.682150] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[    3.693577] Linux video capture interface: v2.00
[    3.693588] WARNING: You are using an experimental version of the media stack.
[    3.693588]     As the driver is backported to an older kernel, it doesn't offer
[    3.693588]     enough quality for its usage in production.
[    3.693588]     Use it with care.
[    3.693588] Latest git patches (needed if you report a bug to [email protected]):
[    3.693588]     a02ff2e02bee64e9955dbfd8811874c3f3880f58 cx231xx: Fix TBS MAC reading.
[    3.893160] usb 1-1.3: New device PCTV PCTV 461 @ 480 Mbps (2013:0258, interface 0, class 0)
[    3.893170] usb 1-1.3: DVB interface 0 found: isoc
[    3.893264] usb 1-1.3: em28178#0: chip ID is em28178
[    4.027912] usbcore: registered new interface driver brcmfmac
[    4.267965] brcmfmac: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
[    4.270440] usb 1-1.3: em28178#0: EEPROM ID = 26 00 01 00, EEPROM hash = 0xa63c76a0
[    4.270450] usb 1-1.3: em28178#0: EEPROM info:
[    4.270455] usb 1-1.3: em28178#0:     microcode start address = 0x0004, boot configuration = 0x01
[    4.279598] usb 1-1.3: em28178#0:     AC97 audio (5 sample rates)
[    4.279608] usb 1-1.3: em28178#0:     500mA max power
[    4.279614] usb 1-1.3: em28178#0:     Table at offset 0x27, strings=0x148c, 0x1874, 0x0a6a
[    4.279934] usb 1-1.3: em28178#0: Identified as PCTV DVB-S2 Stick (461e) (card=92)
[    4.279946] usb 1-1.3: em28178#0: dvb set to isoc mode.
[    4.280015] usbcore: registered new interface driver em28xx
[    4.299687] WARNING: You are using an experimental version of the media stack.
[    4.299687]     As the driver is backported to an older kernel, it doesn't offer
[    4.299687]     enough quality for its usage in production.
[    4.299687]     Use it with care.
[    4.299687] Latest git patches (needed if you report a bug to [email protected]):
[    4.299687]     a02ff2e02bee64e9955dbfd8811874c3f3880f58 cx231xx: Fix TBS MAC reading.
[    4.313582] usb 1-1.3: em28178#0: Binding DVB extension
[    4.331678] i2c i2c-4: Added multiplexed i2c bus 5
[    4.386096] uart-pl011 3f201000.serial: no DMA platform data
[    4.395083] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    4.395191] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.409591] ts2020 5-0060: Montage Technology TS2022 successfully identified
[    4.417771] a8293 4-0008: Allegro A8293 SEC successfully attached
[    4.417801] dvbdev: DVB: registering new adapter (1-1.3: em28178#0)
[    4.417813] usb 1-1.3: em28178#0: DVB: registering adapter 0 frontend 0 (Montage Technology M88DS3103)...
[    4.421764] usb 1-1.3: em28178#0: DVB extension successfully initialized
[    4.421775] em28xx: Registered (Em28xx dvb Extension) extension
[    4.428415] usb 1-1.3: em28178#0: Registering input extension
[    4.474889] Registered IR keymap rc-pinnacle-pctv-hd
[    4.475200] input: 1-1.3: em28178#0 IR as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3: em28178#0/rc/rc0/input0
[    4.475422] rc rc0: 1-1.3: em28178#0 IR as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3: em28178#0/rc/rc0
[    4.475605] usb 1-1.3: em28178#0: Input extension successfully initalized
[    4.475611] em28xx: Registered (Em28xx Input Extension) extension
[    4.631531] lirc_rpi: auto-detected active low receiver on GPIO pin 18
[    4.631738] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[    4.631741] lirc_rpi: driver registered!
[    4.841739] input: lircd-uinput as /devices/virtual/input/input1
[    4.911719] m88ds3103 4-0068: found a 'Montage Technology M88DS3103' in cold state
[    4.923906] m88ds3103 4-0068: downloading firmware from file 'dvb-demod-m88ds3103.fw'
[    4.976436] input: eventlircd as /devices/virtual/input/input2
[    5.128676] m88ds3103 4-0068: found a 'Montage Technology M88DS3103' in warm state
[    5.128685] m88ds3103 4-0068: firmware version: 3.B
	
			Display More
	If I run ir-keytable, I got the following output:
# ir-keytable 
Found /sys/class/rc/rc0/ (/dev/input/event0) with:
    Driver em28xx, table rc-pinnacle-pctv-hd
    Supported protocols: rc-5 nec rc-6 
    Enabled protocols: rc-5 
    Name: 1-1.3: em28178#0 IR
    bus: 3, vendor/product: 2013:0258, version: 0x0001
    Repeat delay = 500 ms, repeat period = 125 ms
	
	If I run ir-keytable without the DVB-stick attached to the RPi (the case when everything works fine!), the output is as follows:
For my limited knowledge of lirc it seems strange that the best working config seems not to use the lirc components.
Perhaps it is useful to know the lirc-processes that are running on my Pi:
# ps -ef | grep -i lirc
  281 root       0:00 /usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd
  420 root       0:00 /usr/sbin/lircd --driver=default --device=/dev/lirc0 --output=/run/lirc/lircd-lirc0 --pidfile=/run/lirc/lircd-lirc0.pid --release=_LIRCUP /storage/.config/lircd.conf
  421 root       0:00 /usr/sbin/lircd-uinput --release=_LIRCUP /run/lirc/lircd-lirc0
  457 root       0:00 {kodi.sh} /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs --lircdev /run/lirc/lircd
  463 root       3:04 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd
  861 root       0:00 grep -i lirc
	
	I think that the solution for my problem is to disable the IR receiver of the DVB-stick, but I don't know how to achieve it.
May somebody help me? Thank you very much in advance!
Nico.