Re: PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board)

2015-08-06 Thread Evgen Druzhynin
2015-07-07 14:28 GMT+03:00 Evgen Druzhynin evgen.druzhy...@gmail.com: 2015-07-07 14:06 GMT+03:00 Johan Hovold jo...@kernel.org: I'll try to find exact kernel version where issue was introduced ASAP. Hi all, Root cause is chinese Arduino board (ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial

ch341: support new device types (Was: Re: PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board)

2015-07-07 Thread Johan Hovold
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

Re: PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board)

2015-07-07 Thread Evgen Druzhynin
2015-07-07 14:06 GMT+03:00 Johan Hovold jo...@kernel.org: Ok, so it looks like a regression between 3.18 and 4.0. Could you try v3.19 and then run a bisect on either v3.18..v3.19 or v3.19..v4.0 depending on the result? Please verify that v3.18 works and v4.0 fails. Specifically, do not use

Re: PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board)

2015-07-07 Thread Johan Hovold
[ Please try to avoid top-posting. ] On Tue, Jul 07, 2015 at 01:26:33PM +0300, Evgen Druzhynin wrote: Sorry for misunderstanding, I've tested the behavior of Arduino board on 2 machines and the result is following: PASSED - Arduino board was connected successfully FAILED - ch341 errors

Re: ch341: support new device types (Was: Re: PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board)

2015-07-07 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan Hovold jo...@kernel.org wrote: 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

Re: ch341: support new device types (Was: Re: PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board)

2015-07-07 Thread Evgen Druzhynin
Sorry for misunderstanding, I've tested the behavior of Arduino board on 2 machines and the result is following: PASSED - Arduino board was connected successfully FAILED - ch341 errors arose 1st machine [USB 3.0] -- Linux 3.18 -- PASSED 1st machine [USB 3.0] -- Linux 4.* -- FAILED 2nd machine

Re: ch341: support new device types (Was: Re: PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board)

2015-07-07 Thread Evgen Druzhynin
Sorry for misunderstanding, I've tested the behavior of Arduino board on 2 machines and the result is following: PASSED - Arduino board connected successfully FAILED - ch341 errors arose 1st machine [USB 3.0] -- Linux 3.18 -- PASSED 1st machine [USB 3.0] -- Linux 4.* -- FAILED 2nd machine [USB

Re: PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board

2015-07-06 Thread Johan Hovold
On Sat, Jul 04, 2015 at 08:03:57PM +0300, Evgen Druzhynin wrote: [1.] One line summary of the problem: ch341 module fails on 4.1.1 kernel [2.] Full description of the problem/report: It's not possible to work with Arduino board after installing 4.1.1. ch341 fails and does not create

PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board

2015-07-05 Thread Evgen Druzhynin
[1.] One line summary of the problem: ch341 module fails on 4.1.1 kernel [2.] Full description of the problem/report: It's not possible to work with Arduino board after installing 4.1.1. ch341 fails and does not create /dev/ttyUSB0 (or /dev/ttyACM0) entry. On 3.18 and 4.0.0 all was ok. [3.]