From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752301AbdDCIPB (ORCPT ); Mon, 3 Apr 2017 04:15:01 -0400 Received: from mail-lf0-f43.google.com ([209.85.215.43]:34633 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752120AbdDCIO4 (ORCPT ); Mon, 3 Apr 2017 04:14:56 -0400 Date: Mon, 3 Apr 2017 10:14:51 +0200 From: Johan Hovold To: Joe Perches Cc: Leif Neland , linux-kernel@vger.kernel.org, Johan Hovold , linux-usb Subject: Re: Patch for drivers/usb/serial/ch341.c enabling parity Message-ID: <20170403081451.GB25742@localhost> References: <1491153158.27353.42.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1491153158.27353.42.camel@perches.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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