Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1614845
| From | Fabio Estevam <festevam@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Patch for drivers/usb/serial/ch341.c enabling parity |
| Date | 2017-04-03 02:20 +0200 |
| Message-ID | <trXSW-7O7-5@gated-at.bofh.it> (permalink) |
| References | <trS6R-3Vl-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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?
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
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
csiph-web