lkml.org 
[lkml]   [2020]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v1 0/3] Add virtual serial null modem emulation driver
Date
On 2020-01-06, H. Peter Anvin <hpa@zytor.com> wrote:
> On 2020-01-05 23:21, Rishi Gupta wrote:

>> The driver named ttyvs creates virtual tty/serial device which
>> emulates behaviour of a real serial port device. Serial port events
>> like parity, frame, overflow errors, ring indications, break
>> assertions, flow controls are also emulated.

Brilliant! I've wanted that for decades. It would vastly simplify
the implementation of some network-attached serial ports.

> OK, I believe I have asked this before, at least when this has come up in
> other contexts: any reason not to do this by adding the missing elements to
> the pty interface? For fixed-name nodes, the legacy PTY interface is basically
> what you need.

I proposed doing exactly that many years ago, and I even offered to do
it if there was some indication it would be accepted. The offer was
ignored, and I never got far enough through the PTY code to determine
if adding the required features would cause any problems for existing
PTY users.

--
Grant Edwards grant.b.edwards Yow! What PROGRAM are they
at watching?
gmail.com

\
 
 \ /
  Last update: 2020-01-06 23:07    [W:0.141 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site