From owner-freebsd-hackers Thu May 27 10:20:19 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (Postfix) with ESMTP id 1E1F61500E for ; Thu, 27 May 1999 10:20:17 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id KAA21260; Thu, 27 May 1999 10:19:43 -0700 (PDT) Received: from omni.xylan.com by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id KAA24139; Thu, 27 May 1999 10:19:40 -0700 Received: from softweyr.com (dyn2.utah.xylan.com) by omni.xylan.com (4.1/SMI-4.1 (xylan engr [SPOOL])) id AA25884; Thu, 27 May 99 10:19:38 PDT Message-Id: <374D7EA9.450D8A8B@softweyr.com> Date: Thu, 27 May 1999 11:19:37 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en Mime-Version: 1.0 To: Peter Brevik Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: RS232 status lines, read with TIOCMGET.. [solved] :) References: <199905270753.JAA00777@father.ludd.luth.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Brevik wrote: > > Some of you maybe saw my letter about the (4)tty ioctl "TIOCMGET int *state". > The issue has been solved and the answer is that indeed the sio.c driver only > reads the status line at opening. > However a status line change will trigger a interrupt, and cause the driver to > read status lines once more. Thus functionality achived with minimum cpu load. > > Seems the status lines are not sensitive for ground connection. Ie it will not > change bit value between gnd connection and no connection. I guess that was a > bad TTL habit :-) > > Maybe this could be used in freebsd handbook or other documentation.. ? > (to help others) The sio man page would be the appropriate place to put it. You're saying the driver doesn't detect connection or disconnection of the signal ground? I don't see how it could, but it can't hurt to document it anyway. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message