Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2006 00:37:12 -0400
From:      Doug Lee <dgl@dlee.org>
To:        freebsd-questions@freebsd.org
Subject:   Baud rate change on ex-console line without reboot?
Message-ID:  <20060912043712.GV58206@kirk.dlee.org>

next in thread | raw e-mail | index | archive | help
I use a serial console (sio0 flag 0x10, /boot/loader.conf
console="comconsole", /boot.config -h, /etc/make.conf
BOOT_COMCONSOLE_SPEED=115200), but I suddenly have need to quit
doing that that and to use that line for a serial output device at
9600 baud.  I am trying to do this without a reboot.  Is this
possible?  I have tried using Screen to grab console output into a
window so it isn't routed to the serial line, and setting baud rates
on /dev/tty*0 devices, * being d, id, ld, ua (always "device busy"),
ala, and aia.  I can get speeds to change on initial-state and
lock-state devices but not on callin/out devices, and as indicated,
I can't seem to free cuaa0.  The device I want to connect is an
output-only (computer --> device) item; namely, a text-to-speech
device.

Am I missing something, or is this one of those happily few occasions
where one really must reboot the OS?


-- 
Doug Lee                 dgl@dlee.org        
SSB + BART Group         doug.lee@ssbbartgroup.com   http://www.ssbbartgroup.com
"While they were saying among themselves it cannot be done, it was
done." --Helen Keller



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060912043712.GV58206>