Linux [SOLVED] Lirc keeps crashing with 14.04
#1
Question 
After my HDD dies i decided this would be a good time to upgrade from ubuntu 12.10 to ubuntu 14.04

I have the same setup, just replaced the hard drive and installed Ubuntu 14.04 (x64)

XBMc and my mce remote via lirc worked fine before with no errors. Now, with ubuntu 14.04 Lirc seems to keep crashing after a long time of inactivity (say 30 minutes). On boot i can use the remote to control XBMC with no issues. I can navigate to a video and start playing. I can pause and use commands find. But after 30 minutes, or by the time the video has finished i cannot use the remote anymore. I cannot seem to find out what's wrong with it. The only this to get it to work again is to reboot. I have tried removing (with --purge) lirc and reinstalling again from scratch, using another usb port but nothing works. This is very frustrating as using a keyboard or android phone as a remove it not ideal.

Details:

cat /var/log/syslog
Code:
May 19 16:17:11 xbmc lircd-0.9.0[576]: caught signal
May 19 16:17:12 xbmc lircd-0.9.0[15085]: lircd(default) ready, using /run/lirc/lircd
May 19 16:17:22 xbmc lircd-0.9.0[15085]: accepted new client on /run/lirc/lircd

dmesg | grep -i lirc
Code:
[   11.567247] lirc_dev: IR Remote Control driver registered, major 250
[   11.580815] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[   11.580828] IR LIRC bridge handler initialized

ls -l /dev/lirc*
Code:
crw------- 1 root root 250, 0 May  8 21:04 /dev/lirc0
lrwxrwxrwx 1 root root     15 May 19 16:17 /dev/lircd -> /run/lirc/lircd

ps ax | grep lirc
Code:
15085 ?        Ss     0:00 /usr/sbin/lircd --output=/run/lirc/lircd --device=/dev/lirc0
15380 pts/4    S+     0:00 grep --color=auto lirc

lircd --version
Code:
lircd 0.9.0

uname -a
Code:
Linux xbmc 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Reply
#2
I believe it's something beyond LIRC as I'm using a FLIRC on my setup (no LIRC at all) and experiencing the same issue. I've been using the FLIRC/XBMC setup since Ubuntu 11.10 or so and early Frodo with no issues. I was running the Gotham nightlies all along and never had the issue. I'm not sure if it started with the Gotham release or 13.1beta.
Ubuntu 14.04, XBMC Gotham 13.1 beta
Reply
#3
That's interesting. I will have a look at flirc.

What made me think it was an lirc issue is that when it crashes even irw returns nothing
Reply
#4
I am experiencing the exact same issue with XBMCbuntu 13... I've been fighting with it for a while now as well and can't seem to figure out what the issue is. My remote becomes completely unresponsive after about 10 minutes of video playback. It is driving me absolutely nuts! Have you managed to come up with a solution?
Reply
#5
I have managed to fix this. It seems that there is a kernel issue with usb or something. It seems very complicated but the fix was found here:
http://forum.xbmc.org/showthread.php?tid...pid1733746

Aparently turning on irqpoll on boot stops it, and it hasnt crashed since (been a few days now).
Reply

Logout Mark Read Team Forum Stats Members Help
[SOLVED] Lirc keeps crashing with 14.040