Date: Thu, 27 May 1999 11:19:37 -0600 From: Wes Peters <wes@softweyr.com> To: Peter Brevik <pb@ludd.luth.se> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: RS232 status lines, read with TIOCMGET.. [solved] :) Message-ID: <374D7EA9.450D8A8B@softweyr.com> References: <199905270753.JAA00777@father.ludd.luth.se>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?374D7EA9.450D8A8B>