[PATCH 0/5] USB: serial: cp210x: add support for line-status events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux