Re: changing baud rate without recompiling

看板FB_questions作者時間14年前 (2011/11/09 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/6 (看更多)
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"
文章代碼(AID): #1EkcIpKx (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1EkcIpKx (FB_questions)