On Sep 11, 2011 6:54 PM, "Boris Samorodov" <bsam_at_ipt.ru> wrote: > > On Sun, 11 Sep 2011 10:33:18 +0200 Gary Jennejohn wrote: > > On Sat, 10 Sep 2011 21:10:44 +0400 > > Boris Samorodov <bsam_at_ipt.ru> wrote: > > > On Sat, 10 Sep 2011 16:08:21 +0200 Gary Jennejohn wrote: > > > > > On Tue, 06 Sep 2011 16:29:51 +0400 Boris Samorodov wrote: > > > > > > > > > > > the port does not work as expected (at least as per The Handbook, > > > > > > 26.2.5 Serial Port Configuration). Nether "init" nor "lock" > > > > > > devices can be used: > > > > > > > Seems that the handbook is out of date. > > > > > > OK, how can I configure a serial port then? > > > > > > Just don't use the init and lock devices. > > Well, I've read the Handbook because I can't do it with > a serial port: > ----- > % uname -a > FreeBSD host.ipt.ru 9.0-BETA2 FreeBSD 9.0-BETA2 #14 r225395: Mon Sep 5 18:10:43 MSK 2011 bsam_at_host.ipt.ru:/usr/obj/usr/src/sys/HOST i386 > > % sudo stty -f /dev/ttyu4 56400 > > % echo $? > 0 > > % sudo stty -f /dev/ttyu4 > speed 9600 baud; > lflags: echoe echoke echoctl > oflags: tab0 > cflags: cs8 -parenb > ----- > > -- > WBR, Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" It's been a long time, but I seem to recall that you need to have the device open before you can configure it and that when the device closes it gets reset to defaults. (or maybe the open resets it). The way I remember configuring it from the command line was to tip or cu to port, suspend tip, reconfigure, and foreground tip.Received on Mon Sep 12 2011 - 03:31:34 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC