Re: changing baud rate without recompiling
On Wed, Nov 9, 2011 at 10:11 AM, saeedeh motlagh
<saeedeh.motlagh@gmail.com> wrote:
> - change the baud rate in /etc/ttys file
(...)
> when i use =A0"stty -f /dev/ttyu0.init 115200" the baud rate for
> ttyu0.init change to 115200. after that i use "kill -1 1" in order to
> reinitialize devices but nothing happened and the baud rate for ttyu0
> is still 9600.
Are you sure you really updated /etc/ttys correctly?
ttyu0 "/usr/libexec/getty std.115200" dialup on secure
What does 'ps ax | grep getty' say? Something like this:
1416 u0 Is+ 0:00.24 /usr/libexec/getty std.9600 ttyu0
or like this:
1416 u0 Is+ 0:00.24 /usr/libexec/getty std.115200 ttyu0
Then, check that std.115200 is indeed in /etc/gettytab.
Save for getty, I don't know what would reset the speed
to 9600... Maybe some weird setting in /etc/login.conf?
-cpghost.
--=20
Cordula's Web. http://www.cordula.ws/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 2 之 6 篇):