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

/etc/runit/lirc.sh not running at start-up
http://forum.linhes.org/viewtopic.php?f=22&t=22716
Page 1 of 1

Author:  vabiro [ Mon Aug 20, 2012 9:20 am ]
Post subject:  /etc/runit/lirc.sh not running at start-up

Hi,

I just upgraded to 7.04 and for some reason I have to manually run /etc/runit/lirc.sh after rebooting to get my IR blaster working. Should this not be running at boot time? Is there some place that I can add it so that it is done automatically?

Thanks
Victor

Author:  brfransen [ Mon Aug 20, 2012 10:47 am ]
Post subject:  Re: /etc/runit/lirc.sh not running at start-up

Check to make sure the remotes runit service is started.
Code:
sudo sv status remotes

http://www.linhes.org/projects/linhes/w ... r-Releases

Author:  vabiro [ Mon Aug 20, 2012 11:04 am ]
Post subject:  Re: /etc/runit/lirc.sh not running at start-up

Thanks,

It looks like it is down:

Code:
# sv status remotes
down: remotes: 55180s, normally up


Should I just add it as a service, or does this reveal something else that I should address first?

Victor

Author:  brfransen [ Mon Aug 20, 2012 11:52 am ]
Post subject:  Re: /etc/runit/lirc.sh not running at start-up

If you were using the lircd service before R7.3 it should have started remotes for you but looks like it didn't for some reason. You should be good to add it.
Code:
sudo add_service.sh remotes

Author:  vabiro [ Mon Aug 20, 2012 12:03 pm ]
Post subject:  Re: /etc/runit/lirc.sh not running at start-up

Thanks,

This is odd: I run
Code:
# add_service.sh remotes
remotes is already present


I noticed that the logging has changed, but I can't seem to find any description of what is logged where. Any thoughts on where I need to look to find out what is stopping the service from starting?

Victor

Author:  brfransen [ Mon Aug 20, 2012 4:44 pm ]
Post subject:  Re: /etc/runit/lirc.sh not running at start-up

remotes/run does some limited logging to /tmp/remotes.log

Author:  vabiro [ Mon Aug 20, 2012 6:16 pm ]
Post subject:  Re: /etc/runit/lirc.sh not running at start-up

Thanks,

I took a look and the only entry is from when the server booted up yesterday:

Code:
# cat /tmp/remotes.log
Sun Aug 19 21:54:09 EDT 2012 --- run started
Starting remotes from /etc/runit/lirc.sh
Sun Aug 19 21:54:10 EDT 2012 --- finish started
timeout: finish: remotes: (pid 4074) 9s, want down
    remotes is not able to start, disabling it
Enable in kernel remote driver


if I run /etc/runit/lirc.sh by had it does work, but I get some error messages at may be causing the error in the log:

Code:
# /etc/runit/lirc.sh

:: Starting lirc
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/dvb-usb-dib0700, it will be ignored in a future release.
 >    Device 1

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