From: Johan Hovold <johan@kernel.org>
To: linux-usb@vger.kernel.org
Cc: "Jaromír Škorpil" <Jerry@jrr.cz>, "Johan Hovold" <johan@kernel.org>
Subject: [PATCH 0/5] USB: serial: cp210x: add support for line-status events
Date: Mon, 13 Jul 2020 12:55:12 +0200 [thread overview]
Message-ID: <20200713105517.27796-1-johan@kernel.org> (raw)
This series add supports for line-status events that specifically can be
used to detect parity errors.
The implementation relies on the device's event-insertion mode, which
can also be used to detect line-breaks and modem status changes. But as
this doesn't seem to work as expected on CP2102, support has been left
unimplemented for now.
Included are also a couple of cleanups.
Johan
Changes since RFC [1]:
- drop sysrq support which relies on break detection
- use 0xec (instead of 0xff) as escape character
[1] https://lore.kernel.org/r/20200703150104.GE3453@localhost
Johan Hovold (5):
USB: serial: cp210x: disable interface on errors in open
USB: serial: cp210x: add support for line-status events
USB: serial: cp210x: add support for TIOCGICOUNT
USB: serial: cp210x: drop unnecessary packed attributes
USB: serial: cp210x: use in-kernel types in port data
drivers/usb/serial/cp210x.c | 209 ++++++++++++++++++++++++++++++++++--
1 file changed, 201 insertions(+), 8 deletions(-)
--
2.26.2
next reply other threads:[~2020-07-13 10:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-13 10:55 Johan Hovold [this message]
2020-07-13 10:55 ` [PATCH 1/5] USB: serial: cp210x: disable interface on errors in open Johan Hovold
2020-07-13 10:55 ` [PATCH 2/5] USB: serial: cp210x: add support for line-status events Johan Hovold
2020-07-13 10:55 ` [PATCH 3/5] USB: serial: cp210x: add support for TIOCGICOUNT Johan Hovold
2020-07-13 10:55 ` [PATCH 4/5] USB: serial: cp210x: drop unnecessary packed attributes Johan Hovold
2020-07-13 10:55 ` [PATCH 5/5] USB: serial: cp210x: use in-kernel types in port data Johan Hovold
2020-07-13 13:41 ` [PATCH 0/5] USB: serial: cp210x: add support for line-status events Greg KH
2020-07-14 9:55 ` Johan Hovold
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=20200713105517.27796-1-johan@kernel.org \
--to=johan@kernel.org \
--cc=Jerry@jrr.cz \
--cc=linux-usb@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).