On Mon, Dec 12, 2016 at 04:15:29PM -0800, Russell Senior wrote: > On Mon, Dec 12, 2016 at 10:19 AM, Johan Hovold <johan@xxxxxxxxxx> wrote: > > Can you try also the below diagnostics patch on top of usb-next (not > > usb-linus this time)? > > > > It seems we should be able to revert to setting the divisors and lcr > > directly for all CH340 devices, while using the new method for CH341 > > only (which requires it). > > > > Just want to make sure that keeping a common init sequence would still > > work first. > > > > Note that I don't expect you to be able to change word size, but > > hopefully a default 8N1 will work while the baud rate would be > > configurable. > > If both sides (ch341 and pl2303) are configured 8N1, your new patch > works. When both sides are configured for the same baud rate, it > works. Changing ch341 to a different baud rate from the pl2303 is > stops working, which implies that baud rate changes are working. Good, thanks for testing. I've just submitted a series that should enable (basic) support also for your device, but I'll need to your help to verify it. Thanks, Johan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html