On Sun, 11 Sep 2011 19:31:33 -1000 David Cornejo wrote:

> It's been a long time, 

It worked at 8.2-PRERELEASE for me (and seemed to be a bug
at 9.0-BETA2):
-----
% uname -a
FreeBSD hht.ipt.ru 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0 r216685: Fri Dec 24 
10:16:47 MSK 2010     b...@hht.ipt.ru:/z/obj/z/src/sys/HHT  amd64

% sudo stty -f /dev/cuau1
speed 57600 baud;
lflags: echoe echoke echoctl
oflags: tab0
cflags: cs8 -parenb

% sudo stty -f /dev/cuau1.init 1200 cs7

% sudo stty -f /dev/cuau1
speed 1200 baud;
lflags: echoe echoke echoctl
oflags: tab0
cflags: cs7 -parenb
-----

> 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.

Yea, I recall doing something like this until I discovered *.init
and *.lock devices. And they proved to be very useful.

Anyway Jilles Tjoelker offered a patch that fixed the case.

-- 
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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to