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

startup quick question
http://forums.linhes.org/viewtopic.php?f=5&t=2290
Page 1 of 1

Author:  gr8nash [ Mon Aug 30, 2004 5:11 pm ]
Post subject:  startup quick question

i have been reading around on howto get all the lirc modules and stuff to startup on reboot. One thread cesman said to edit /etc/modutils/lirc and change the lirc_i2c (or whatever) to lirc_serial (or whatever applies) then run update-modules. Well that doesnt work for me because my serial ports arnt initilized on startup you have to run
Code:
setserial /dev/ttyS0 uart none

BEFORE you can load a module, or run a modprobe. So basicly i need to edit a file that runs BEFORE the module loads.. i need to add

Code:
setserial /dev/ttyS0 uart none


NoW i need to load the module.. then run
Code:
/usr/local/sbin/lircmd

Code:
/usr/local/sbin/lircd


i believe i need it in that order.. am i wrong, or over thinking it? when i do it cesmans way (/etc/modutills/lirc, and then update-modules) NO lirc modules load because serial ports arnt initilzed.

Author:  gr8nash [ Mon Aug 30, 2004 8:31 pm ]
Post subject: 

i put all the items in /etc/init.d/bootmis.sh and it worked great..

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