Re: Likely issue with ch341 kernel-module/driver

2015-08-27 Thread Peter Stuge
Johan Hovold wrote: > > I started in the morning to build the driver from the source provided > > by the vendor, but it was written in the times of kernel-version 2.4, > > and I got hopelessly stuck. > > The vendor driver is only for 2.4? Peter? http://www.wch.cn/download/CH341SER_LINUX_ZIP.html

Re: Likely issue with ch341 kernel-module/driver

2015-08-27 Thread Johan Hovold
On Thu, Aug 27, 2015 at 01:57:01PM +0530, Ajay Garg wrote: > Hi John. > > On Thu, Aug 27, 2015 at 1:07 PM, Johan Hovold wrote: > > > > Try to see if you can get the device to work reliably with some other > > driver (vendor driver or other OS) to rule out a broken device. > > > > I tested the se

Re: Likely issue with ch341 kernel-module/driver

2015-08-27 Thread Ajay Garg
Hi John. On Thu, Aug 27, 2015 at 1:07 PM, Johan Hovold wrote: > > Try to see if you can get the device to work reliably with some other > driver (vendor driver or other OS) to rule out a broken device. > I tested the serial-usb adapter using a loopback-hardware-tool (confirmed to be perfect). Us

Re: Likely issue with ch341 kernel-module/driver

2015-08-27 Thread Johan Hovold
[ Please avoid top-posting. ] On Thu, Aug 27, 2015 at 12:13:32PM +0530, Ajay Garg wrote: > I started in the morning to build the driver from the source provided > by the vendor, but it was written in the times of kernel-version 2.4, > and I got hopelessly stuck. The vendor driver is only for 2.4?

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Ajay Garg
I started in the morning to build the driver from the source provided by the vendor, but it was written in the times of kernel-version 2.4, and I got hopelessly stuck. Wanting to take a break, I reset my setup, and VERY strangely, what I now observe is :: a) I am NOT able to send anything from th

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Johan Hovold
On Wed, Aug 26, 2015 at 08:09:30PM +0200, Peter Stuge wrote: > Johan Hovold wrote: > > On Wed, Aug 26, 2015 at 09:39:36PM +0530, Ajay Garg wrote: > .. > > > garbage characters transmitted from embedded-device > .. > > > It seems that there is some issue with the driver. > > > > Why do think it's a

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Peter Stuge
Johan Hovold wrote: > On Wed, Aug 26, 2015 at 09:39:36PM +0530, Ajay Garg wrote: .. > > garbage characters transmitted from embedded-device .. > > It seems that there is some issue with the driver. > > Why do think it's a driver issue? I can confirm similar issues with the in-tree driver and my h

Re: Likely issue with ch341 kernel-module/driver

2015-08-26 Thread Johan Hovold
[ +CC: linux-usb ] On Wed, Aug 26, 2015 at 09:39:36PM +0530, Ajay Garg wrote: > Hi all. > > I am attaching the RS232-TTL via a serial-USB converter on my machine. > > However, when I connect a putty-session with my embedded-device, I see > strange issues (garbage characters transmitted from embe