LinHES Forums
http://forums.linhes.org/

SOLVED: lircd daemon not starting for lirc device
http://forums.linhes.org/viewtopic.php?f=24&t=22188
Page 1 of 1

Author:  solarblue [ Sat Jul 16, 2011 12:47 am ]
Post subject:  SOLVED: lircd daemon not starting for lirc device

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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/