LinHES Forums http://forum.linhes.org/ |
|
setserial on startup http://forum.linhes.org/viewtopic.php?f=2&t=14074 |
Page 1 of 1 |
Author: | stormb [ Wed Feb 07, 2007 1:27 pm ] |
Post subject: | setserial on startup |
Hi, this sounds a really obvious question but I've been trying to find the answer for a while and not got anywhere. I want to run Lircd on startup, but it won't run until I 'setserial /dev/ttyS0 uart none', and I can't work out how to do it automatically before lircd launches in the rc.d scripts. It works if I do it once the system has booted up, then I run lircd manually. I'm running R5D1 at the moment (bit too scared to update in case everything messes up ![]() Anyone? Thanks in advance, Will |
Author: | stormb [ Wed Feb 07, 2007 1:43 pm ] |
Post subject: | |
Ah, it's OK. I think the answer may be that I need to add the command to bootmisc.sh. I'll try that and return back ![]() Will |
Author: | stormb [ Sat Feb 10, 2007 7:13 pm ] |
Post subject: | |
OK, sorted. Had to make sure /etc/lirc/hardware.conf had lirc_serial listed as one of the modules to load. Also made sure the right serial port settings were in /var/lib/setserial/autoserial.conf. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |