On Mon, Jul 06, 2015 at 03:24:17PM +0200, Peter Stuge wrote: > Unrelated, but I also have some ch341 hardware, and mine does not > work with the mainline driver, it does however work reliably with the > vendor driver. > > The two drivers initialize the hardware fairly differently, > especially the baudrate generator, and the mainline driver doesn't > support all control signals and modes. > > A few things are obvious and easy for me to fix and post, but I'm not > sure how to proceed with the more complicated things; the baudrate > seems to have two settings, one clock divisor set on init and another > set depending on the selected baudrate. Mainline uses a different > algorithm to set these than the vendor driver. > > I notice that my hardware version is more recent than the mainline > driver was written for. I also notice that my hardware does not > respond according to the expectations documented in mainline > comments. > > > Your thoughts? I know that another person was also working on this. It should be possible to detect what version of the hardware is being used and switch baudrate-configuration scheme accordingly if necessary. Does anyone know how the vendor driver works with older devices? I've added Karl on CC who I think have been working on getting these new devices supported as well. 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