Hi all,
Looking for some help with a problem I'm having with my setup, which is:
- RPi3 & LibreELEC (official): 8.2.5 (RPi2.arm)
- IR receiver/transmitter - USB-UIRT and two remotes, from Yamaha receiver & Samsung TV
device works correctly and is set up with udev rule, /storage/.config/udev.rules.d/99-usb-serial.rules:
- lircd enabled through LE with /storage/.config/lirc_options.conf:
[lircd]
nodaemon = False
driver = uirt2_raw
device = /dev/irblaster
output = /run/lirc/lircd.socket
pidfile = /run/lirc/lircd.pid
plugindir = /usr/lib/lirc/plugins
permission = 666
allow-simulate = No
repeat-max = 600
[lircmd]
uinput = False
nodaemon = False
Display More
After reboot, everything works fine, I'm able to use remotes and send commands through usbuirt, but after some 20-30 min of inactivity or watching some movie, lirc stops responding. usbuirt device seems to be OK, unplugging and plugging back doesn't help, only restarting lircd service allows to send commands again, but at that point kodi stops responding to either remote. eventlircd is running as well with default settings, restarting this service doesn't help either.
Fortunately, mostly, I use IP remote I wrote for android to operate kodi & receiver and only thing I absolutely need is the send ability from lirc (which works after lirc service restart) to operate TV, so for now I did set up a cronjob every 15 min to restart lirc service. This keeps everything working (except of 'course ir receiving side), but I'd like to figure out why lirc just stops responding, so I can use my remote as my backup device (my wife likes to use it too).
The only error I see in the journalctl is about checksum, but right after 2 lines, it seems to work just fine, and there is nothing else prior to lirc just stoping responding.
Mar 24 15:12:17 HTPC-RPi3 lircd_helper[400]: lircd-0.9.4d[400]: Notice: lircd(uirt2_raw) ready, using /run/lirc/lircd.socket
May 03 22:33:26 HTPC-RPi3 lircd_helper[400]: lircd-0.9.4d[400]: Notice: accepted new client on /run/lirc/lircd.socket
May 03 22:33:26 HTPC-RPi3 lircd-0.9.4d[400]: Notice: accepted new client on /run/lirc/lircd.socket
May 03 22:33:26 HTPC-RPi3 lircd_helper[400]: lircd-0.9.4d[400]: Error: uirt2_raw: checksum error
May 03 22:33:26 HTPC-RPi3 lircd-0.9.4d[400]: Error: uirt2_raw: checksum error
May 03 22:33:26 HTPC-RPi3 lircd_helper[400]: lircd-0.9.4d[400]: Info: uirt2_raw: UIRT version 0905 ok
May 03 22:33:26 HTPC-RPi3 lircd-0.9.4d[400]: Info: uirt2_raw: UIRT version 0905 ok
May 03 22:33:26 HTPC-RPi3 lircd_helper[400]: lircd-0.9.4d[400]: Info: uirt2_raw: UIRT version 0905
May 03 22:33:26 HTPC-RPi3 lircd-0.9.4d[400]: Info: uirt2_raw: UIRT version 0905
May 03 22:33:26 HTPC-RPi3 lircd_helper[400]: lircd-0.9.4d[400]: Info: removed client
I searched the forum and google, but couldn't find any similar issue/setup. Any ideas what could be wrong or how to test/debug this would be appreciated.
Thanks,
art