From: Jeff <wd4nmq@comcast.net>
To: linux-serial@vger.kernel.org
Subject: asychronous RTS/DCE/CD notification
Date: Mon, 08 Mar 2004 22:53:42 -0500 [thread overview]
Message-ID: <404D3FC6.80308@comcast.net> (raw)
Is it possible in th Linux serial driver to have the state change of
serial control lines like CD notify a user space app rather then having
to periodically poll?
I have an app that uses select() to wait for input from several
different sources. Now, I also want to know when there is a state change
in CD. Can the serial driver do this on it's on, like say via a /proc
file. Or, do I have to break out of the select() every so ofton and use
ioctl() to test CD's state. God I hate polling.
Jeff
reply other threads:[~2004-03-09 3:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=404D3FC6.80308@comcast.net \
--to=wd4nmq@comcast.net \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.