From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
To: linux-serial@vger.kernel.org
Subject: Re: tty loop-back device
Date: Sat, 28 Sep 2013 21:21:29 +0400 [thread overview]
Message-ID: <l2736h$db0$1@ger.gmane.org> (raw)
In-Reply-To: <l26uk7$id2$2@ger.gmane.org>
28.09.2013 20:03, Grant Edwards пишет:
> What you're talking about is pretty much the existing pty device.
>
> Unfortunately, Linux pty's only support a subset of the serial port
> API, so they can't be used for applications like network-connected
> serial ports. So people like me have to write kernel-mode drivers for
> such devices.
Yep, pty_set_termios looks like a mock or dummy, when it is critical
part to applications like network serial port devices. One needs to set
baudrate, parity, etc.
> I've suggested extending the Linux pty so that it _does_ support the
> rest of the serial port API. I even offered to work on it if the
> results would likely be accepted into the kernel tree, but my
> questions/offers have never gotten any response.
It seems that BSD and Unix98 pty's may coexist in pty.c. So, there is a
chance that it is possible to add support of Extended pty not breaking
existing things. One need to be a brave to change something in pty.c, It
is quite critical part.
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-09-28 17:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-28 12:59 tty loop-back device Matwey V. Kornilov
2013-09-28 16:03 ` Grant Edwards
2013-09-28 17:15 ` Greg KH
2013-09-28 17:21 ` Matwey V. Kornilov [this message]
2013-09-28 20:41 ` Matwey V. Kornilov
2013-09-29 3:21 ` Grant Edwards
2013-09-29 7:09 ` Matwey V. Kornilov
2013-09-30 22:28 ` Grant Edwards
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='l2736h$db0$1@ger.gmane.org' \
--to=matwey.kornilov@gmail.com \
--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.