From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 17 06:49:21 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C42F16A4CE for ; Wed, 17 Nov 2004 06:49:21 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7803043D39 for ; Wed, 17 Nov 2004 06:49:20 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id iAH6nHgj058363; Wed, 17 Nov 2004 17:19:17 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Wed, 17 Nov 2004 17:18:52 +1030 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12368324.QZVX1XDbdm"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411171719.16370.doconnor@gsoft.com.au> X-Spam-Score: -0.1 () MIME_LONG_LINE_QP,PGP_SIGNATURE_2,SPAM_PHRASE_00_01,USER_AGENT X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Subject: Userland access to modem control lines? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 06:49:21 -0000 --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--