Re: Patch for drivers/usb/serial/ch341.c enabling parity

From: Johan Hovold
Date: Mon Apr 03 2017 - 04:15:06 EST


On Sun, Apr 02, 2017 at 10:12:38AM -0700, Joe Perches wrote:
> On Sun, 2017-04-02 at 18:57 +0200, Leif Neland wrote:
> > There is a patch
> > https://github.com/karlp/ch341-linux/blob/master/0001-usb-serial-ch341-Add-parity-support.patch
> > which enables parity selection for the ch341 USB-RS485 adapter.
> >
> > From: Karl Palsson <karlp@xxxxxxxxxxxx> Date: Tue, 18 Mar 2014 23:33:27
> > +0000
> >
> > This adapter is available for cheap on eBay.
> >
> > The patch made me able to use this adapter for polling my modbus
> > power-meter with raspberry pi.
> >
> > Would it be possible to get this into the official distribution?

> You should really ask the usb serial maintainer.

Support for changing the parity setting was recently added to this
driver. Please give 4.10 a try.

Johan