[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stty-question



Quoting Johann Spies (jhspies@ether.adept.co.za):
> If I use stty to configure a serial port, will the settings be the
> same after a reboot?  Or do I have to put the settings in some init
> file similar to /etc/rc.boot/0setserial.

I think you'll find that even reloading the serial module will
reset the port, so if you do it with an initialisation script,
make sure the module is loaded from /etc/modules and not on
demand, and either use rc.boot (but that's now deprecated) or
make sure the S number is greater than 20 for the stty script.

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Reply to: