From owner-freebsd-questions@FreeBSD.ORG Tue Sep 12 04:37:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B8E416A407 for ; Tue, 12 Sep 2006 04:37:40 +0000 (UTC) (envelope-from dgl@kirk.dlee.org) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADED043D49 for ; Tue, 12 Sep 2006 04:37:39 +0000 (GMT) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org ([141.156.39.56]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J5G00GSLQ62II54@vms048.mailsrvcs.net> for freebsd-questions@freebsd.org; Mon, 11 Sep 2006 23:37:15 -0500 (CDT) Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.11/8.12.11) with ESMTP id k8C4bDsR086772 for ; Tue, 12 Sep 2006 00:37:13 -0400 (EDT envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.13.6/8.12.11/Submit) id k8C4bDMX086771 for freebsd-questions@freebsd.org; Tue, 12 Sep 2006 00:37:13 -0400 (EDT envelope-from dgl) Content-return: prohibited Date: Tue, 12 Sep 2006 00:37:12 -0400 From: Doug Lee To: freebsd-questions@freebsd.org Mail-followup-to: Doug Lee , freebsd-questions@freebsd.org Message-id: <20060912043712.GV58206@kirk.dlee.org> Organization: SSB + BART Group MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.5.9i Subject: Baud rate change on ex-console line without reboot? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 04:37:40 -0000 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