Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21920060ybl; Mon, 6 Jan 2020 14:08:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzK9fZPjzMryyuoIazwp1/u79losdMQqquq/Sp5uAxAGspXcxIjkzWiDAKtndggNjtlnrML X-Received: by 2002:a9d:7ada:: with SMTP id m26mr21963899otn.111.1578348506943; Mon, 06 Jan 2020 14:08:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578348506; cv=none; d=google.com; s=arc-20160816; b=MYWWE5ygipvHA2a1muGc+rfqb4YH2P6Pe+WcpOGYIzvBqAEJVhUKx2q/icwLgU8c8W oE6b8Sx9JAqQ9hO/xyDuSc3NBxYarKcGVRd3FAh/405wP/cG2yh5CY0MvsryY4mwC1Yo 1kpotxRO0+xz7PjZGVsY/nQtey3YHNl+OgcdfZdOqdi7+jujRThTaWmVq5xP0VQ/qTvC 16uxWq0yuaHvEXSv+3CM9Z2xfddbbSGTau+p2qJLjgwLw2L3noPTjDSCa6sLjYkbESwd PXYIBaK6I1t9WJCugmSN53tJSImRY0/cS/PXRvh4vB/N5A9FsZc5e+/jH/dEoQzqiG4e asmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:user-agent:references:message-id:date :subject:from:to; bh=c/xbsTTwuMZAgUUbeWR8RsiP8IfI2Ez4ZDSjGgvJTY8=; b=YsGxbouq0g/ib4hQG19Bh3lQ2rtPFqHClhB+Vg3z1VlXq2QsTyBFNLdWdtCjGaufOh 2QR07zNhSJ2BIBCWwvg8OkCCzqaUuNHN0jKsGo0OmLcUIgqY6ITB+2w4u+7DoGwaHgwr Lu/4yZBvVpvAyxBFw3miZtup6zVwzL7gBZS+5hYYOyX67Xf3Xy47Juu56DbWi0TZUUI2 9hVw5cO8b+1Uynhf8GZ8NkXd92bMyj0vXoFZ4cxEl7USJjTco0hu4Vid4PlP42Od3U/N FUqepaSl3G7z9Fgoi5k2CPFB+L1e1Lvtfll047DRO++5f3Ziwa57yu/yI/xaxazJQi72 Lf+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s16si31027924oih.4.2020.01.06.14.08.12; Mon, 06 Jan 2020 14:08:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727187AbgAFWHE (ORCPT + 99 others); Mon, 6 Jan 2020 17:07:04 -0500 Received: from blaine.gmane.org ([195.159.176.226]:46482 "EHLO blaine.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbgAFWHE (ORCPT ); Mon, 6 Jan 2020 17:07:04 -0500 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1ioaWZ-000H3z-Ch for linux-kernel@vger.kernel.org; Mon, 06 Jan 2020 23:06:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Grant Edwards Subject: Re: [PATCH v1 0/3] Add virtual serial null modem emulation driver Date: Mon, 6 Jan 2020 22:06:50 -0000 (UTC) Message-ID: References: User-Agent: slrn/1.0.3 (Linux) Cc: linux-serial@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-01-06, H. Peter Anvin 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