Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1614782 > unrolled thread

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

Started byLeif Neland <leif@neland.dk>
First post2017-04-02 20:10 +0200
Last post2017-04-03 02:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  Patch for drivers/usb/serial/ch341.c enabling parity Leif Neland <leif@neland.dk> - 2017-04-02 20:10 +0200
    Re: Patch for drivers/usb/serial/ch341.c enabling parity Fabio Estevam <festevam@gmail.com> - 2017-04-03 02:20 +0200

#1614782 — Patch for drivers/usb/serial/ch341.c enabling parity

FromLeif Neland <leif@neland.dk>
Date2017-04-02 20:10 +0200
SubjectPatch for drivers/usb/serial/ch341.c enabling parity
Message-ID<trS6R-3Vl-3@gated-at.bofh.it>
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@tweak.net.au>
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?

Leif

[toc] | [next] | [standalone]


#1614845

FromFabio Estevam <festevam@gmail.com>
Date2017-04-03 02:20 +0200
Message-ID<trXSW-7O7-5@gated-at.bofh.it>
In reply to#1614782
On Sun, Apr 2, 2017 at 3:00 PM, Leif Neland <leif@neland.dk> 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@tweak.net.au>
> 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?

Kernel 4.10 has commit ba781bdf866 ("USB: serial: ch341: add support
for parity, frame length, stop bits") that adds parity support for
this driver.

Have you tried using 4.10.x?

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web