Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2000 18:17:07 +0200
From:      Alexander Maret <maret@atrada.net>
To:        "'andrew@ugh.net.au '" <andrew@ugh.net.au>
Cc:        "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org>
Subject:   RE: How to sense DCD on serial port?
Message-ID:  <58A002A02C5ED311812E0050044517F00D260A@erlangen01.atrada.de>

next in thread | raw e-mail | index | archive | help
>-----Original Message-----
>From: andrew@ugh.net.au
>To: Alexander Maret
>Cc: 'freebsd-hackers@freebsd.org'
>Sent: 19.10.00 15:30
>Subject: Re: How to sense DCD on serial port?
>
>
>
>> How can I sense the state of the DCD line that quick? I
>
>I'm not sure how quick it is but have you tried ioctl with an argument
>of
>TIOCMGET? See tty(4) for more details.

Thanks for your answer. I meanwhile tried TIOCMGET and I can
sense the state of dcd. Unfortunately I can't continously check
DCD because this takes ernormous cpu time. Is there a possibility
to get a signal,intr or whatever, whenever the state of DCD changes?
If not, what could you think of I have to do to implement such
a feature?

Alex


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?58A002A02C5ED311812E0050044517F00D260A>