Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2004 17:18:52 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-hackers@freebsd.org
Subject:   Userland access to modem control lines?
Message-ID:  <200411171719.16370.doconnor@gsoft.com.au>

next in thread | raw e-mail | index | archive | help
--nextPart12368324.QZVX1XDbdm
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
Does anyone know of a way to manipulate the modem control lines from userla=
nd?
SVR4 has termiox and friends but I can't see an equivalent for FreeBSD.

The reason I ask is I am trying to talk to an RS485 bus - it is half duplex=
=20
and the protocol converter uses RTS to control the data direction.

I have a kernel driver which handles this but it has it's limitations (eg=20
takes over the port and boot up, only usable on certain devices).

I'm going to make it a line discipline eventually, but this was a stepping=
=20
stone.

Thanks.

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart12368324.QZVX1XDbdm
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBmvRs5ZPcIHs/zowRApb4AJ4zuG2Qo3iFimpnCydaq/1+D9U28wCeNZVZ
89n6Gc8AJiH0Upl4iDyopRs=
=2MLl
-----END PGP SIGNATURE-----

--nextPart12368324.QZVX1XDbdm--



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