From: Rogier Wolff <R.E.Wolff@BitWizard.nl>
To: linux-kernel@vger.kernel.org
Cc: patrick@BitWizard.nl
Subject: [PATCH] [RFC] Userspace serial drivers: PTY changes.
Date: Wed, 12 Mar 2003 14:28:22 +0100 [thread overview]
Message-ID: <20030312142822.A12206@bitwizard.nl> (raw)
Hi,
Last time I implemented a complex network-using serial driver,
I chose to implement the driver in userspace, communicating wiht
the kernel through a special driver I called USSP: User-Space Serial
Ports. The general consensus then was that I should've used ptys.
I agree.
So this time, I've done things using ptys. There were however, some
features that physical serial ports could do which ptys could not.
For example Baud rates. You could set the baud rate on the slave
side, which was impossible to get at from the master side. Also
modem control signals were not implemented.
Also we don't want the program on the master side to have to poll
say every second to see if the other side changed the baud rate
or did something else special. So when these are changed, the other
side is signalled that a change has happened and notified....
So we implemented all this. Patch attached. What do you think?
(We can dial out or dial in on the remote modem using our
userspace driver, without any significant differences from a
normal local port!)
(This is not the time to bitch about that I generated the patch
against the wrong kernel. I'll generate them against recent
kernels when we agree that the followed path is OK. )
Roger.
--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* The Worlds Ecosystem is a stable system. Stable systems may experience *
* excursions from the stable situation. We are currently in such an *
* excursion: The stable situation does not include humans. ***************
next reply other threads:[~2003-03-12 13:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-12 13:28 Rogier Wolff [this message]
2003-03-12 16:22 ` [PATCH] [RFC] Userspace serial drivers: PTY changes H. Peter Anvin
2003-03-12 17:19 ` Rogier Wolff
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=20030312142822.A12206@bitwizard.nl \
--to=r.e.wolff@bitwizard.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=patrick@BitWizard.nl \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox