Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 1996 22:53:48 -0400 (EDT)
From:      (Mark J. Taylor) <mtaylor@cybernet.com>
To:        hackers@freebsd.org
Subject:   sio setbaud problem
Message-ID:  <XFMail.960514230536.mtaylor@cybernet.com>

next in thread | raw e-mail | index | archive | help

When my software sets the baud rate, the DTR is automatically asserted.

I see that in /sys/i386/isa/sio.c:comparam() that if the divisor is not
zero, then the DTR gets set ON, otherwise it gets set OFF.

Is this behavior an "indusrty standard", "POSIX compliance", or whatever?
I'm curoius about the reasoning behind this, because I have to use the DTR
to control a remote device.  This device change change its baud rate to up
to 115.2 kbps, but the default baud rate is 9600 bps (there's a command sent
to it to change its baud rate, and setting the DTR causes the device to
reset).

So, what I want to know is-
Will I have this problem with other operating systems?  Do they set the DTR
to ON whenever the baud rate is set?


(I seem to be having a problem using the RTS as a replacement- the
status of it does not change, even though I've set CRTS_IFLOW off
in the c_cflag.  TIOCMGET tells me the RTS is being set, but the
hardware does not reflect that.)


Thanks, as always, for a decent, stable, outstanding OS!


-Mark Taylor
mtaylor@cybernet.com




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