View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Aug 20, 2019 7:17 pm 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 530
On both 8.6.0 and 8.6.1 I've had an intermittent LIRC issue that happens infrequently. Sometimes when I power the machine up, the remote is unresponsive and if I ssh into the machine, LIRC is using 100% of CPU. It seems that the only way to recover is a reboot of the machine. Today I tried "sudo sv restart remotes" and it was no longer using 100% CPU, but the mythwelcome screen still did not respond to button presses. I tried "killall mythwelcome" to restart mythwelcome and it restarted but still did not respond to button presses. Ultimately, I rebooted the machine and it was fine on the next boot.

I don't see anything obvious in the logs, but when I tried to restart "remotes" I get these messages:
Code:
Aug 20 06:20:56 linhes lircd-0.10.1[3047]: Info: Using remote: Streamzap_PC_Remote.
Aug 20 06:20:56 linhes lircd-0.10.1[3047]: Notice: lircd(default) ready, using /var/run/lirc/lircd
Aug 20 06:20:56 linhes lircd-0.10.1[3047]: Notice: accepted new client on /var/run/lirc/lircd
Aug 20 06:20:56 linhes lircd-0.10.1[3047]: Info: Cannot configure the rc device for /dev/lirc0
Aug 20 06:20:56 linhes lircd-0.10.1[3047]: Error: could not get file information for /dev/lirc0
Aug 20 06:20:56 linhes lircd-0.10.1[3047]: default_init(): No such file or directory
Aug 20 06:20:56 linhes lircd-0.10.1[3047]: Warning: Failed to initialize hardware
Aug 20 06:20:56 linhes lircd-0.10.1[3047]: Error: could not get file information for /dev/lirc0
Aug 20 06:20:56 linhes lircd-0.10.1[3047]: default_init(): No such file or directory
Aug 20 06:20:56 linhes lircd-0.10.1[3047]: Notice: accepted new client on /var/run/lirc/lircd
Aug 20 06:20:57 linhes lircd-0.10.1[3047]: Error: could not get file information for /dev/lirc0
Aug 20 06:20:57 linhes lircd-0.10.1[3047]: default_init(): No such file or directory
Aug 20 06:20:58 linhes lircd-0.10.1[3047]: Error: could not get file information for /dev/lirc0
Aug 20 06:20:58 linhes lircd-0.10.1[3047]: default_init(): No such file or directory
Aug 20 06:20:59 linhes lircd-0.10.1[3047]: Error: could not get file information for /dev/lirc0
Aug 20 06:20:59 linhes lircd-0.10.1[3047]: default_init(): No such file or directory
Aug 20 06:21:00 linhes lircd-0.10.1[3047]: Error: could not get file information for /dev/lirc0
Aug 20 06:21:00 linhes lircd-0.10.1[3047]: default_init(): No such file or directory
Aug 20 06:21:01 linhes lircd-0.10.1[3047]: Error: could not get file information for /dev/lirc0
Aug 20 06:21:01 linhes lircd-0.10.1[3047]: default_init(): No such file or directory


It seems that I've had USB issues a couple times in the past and I don't know if this could be related to the motherboard or streamzap receiver hardware or if it is more likely software. Also if I could somehow automatically detect and recover from this it would be helpful as well.


Top
 Profile  
 
PostPosted: Wed Aug 21, 2019 2:19 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1300
Location: Orlando FL
Shot in the dark here (no pun intended) are you using a streamzap receiver with the little indicator LED on top? Is if flashing wildly even when you aren't doing anything? I've had CFL bulbs that cause IR interference and a kids toy that broadcast tons of IR for communicating with a box.

_________________
My System


Top
 Profile  
 
PostPosted: Wed Aug 21, 2019 9:15 pm 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 530
Thanks for the suggestions. It is a streamzap with the red LED, but I dont think it was behaving erratically. After restarting lirc, I think it flashed as if it was normal, but the computer did not respond. I am not sure what the LED did while lirc was at 100% CPU, though. I noticed that there is a remotes.log file in /tmp, so maybe that will offer some useful data when it happens again.


Top
 Profile  
 
PostPosted: Sat Aug 24, 2019 3:50 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1300
Location: Orlando FL
The LED is a simple stupid circuit that will react to any IR it receives with no logic involved. It's only useful to see interference and know your remote is transmitting something.

_________________
My System


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu