View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Jul 16, 2011 12:47 am 
Offline
Joined: Wed Jun 21, 2006 6:41 pm
Posts: 2
I have 3 lirc devices, LinHES picked them up and installed them for me, but only 2 lircd daemons would start. I could manually start the 3rd daemon, but would lose it after a reboot.

After searching through /etc/sv/lircd/run script I found the problem. It seems the script searches for all the devices, and keeps track of the number of devices found, but then subtracts 1 from the total devices found. Further along the script it goes through a loop for the number of devices it found it starts a daemon for it. However, because 1 was subtracted from the number of devices found a lircd daemon was never being started for my last device.

The code I commented out is line 45:
--> #num_lirc=$((num_lirc-1))

I'm not sure of the reasoning why 1 is being subtracted from the number of devices being found, but commenting out the line fixed my problem.

I hope this helps someone out having the same problem.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 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