Re: Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-14 Thread Kijam López
Yes! Thank you so much, do not know how many days I had trying to make it work :D. That patch worked perfectly me, now if I works perfect. I look forward to mourn :'(. I do not understand why not even include that patch in the Kernel. 2014-04-14 5:43 GMT-04:30 Karl Palsson : > > > On Sun, Apr 1

Re: Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-14 Thread Karl Palsson
On Sun, Apr 13, 2014 at 08:51:56PM -0430, Kijam López wrote: > The following code works for me correctly in Windows, but Linux does > not work. I am using the same PC, both operating systems are installed > native. I do not use virtual machine. I need to work on Linux. I have > tried in different

Re: Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-13 Thread Kijam López
As a side note, I mentioned in a previous post, but remember, the "delta = 0x01" I print, not the original driver. In https://github.com/torvalds/linux/blob/master/drivers/usb/serial/ch341.c file on line 464 approximately, I wrote: dev_info(&port->dev, "%s - delta=0x%02X\n", __func__, delta);

Re: Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-13 Thread Kijam López
By testing, sometimes even when ENQ command, if they leave these four lines: ch341_update_line_status - multiple status change ch341_update_line_status - delta = 0x01 ch341_update_line_status - multiple status change ch341_update_line_status - delta = 0x01 Always gives Timeout. Apparently there i

Re: Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-13 Thread Kijam López
All commands and responses are formatted: STX data ETX LRC (I replace No printable Char for [space]0xXX[space]) If I sent a ENQ answers his state, which is 2 bytes, so replies: 0x02 `@ 0x03 # (`@ is a two-byte mask representing the internal state of the device) If sending the S1 command, which i

Re: Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-13 Thread Greg KH
On Mon, Apr 14, 2014 at 12:16:40AM -0430, Kijam López wrote: > I reported here: > > https://bugreports.qt-project.org/browse/QTBUG-38305 > > But just migrate my APP to ANSI C and is exactly the same. > > My code test in ANSI C: > > #include > #include > #include > #i

Re: Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-13 Thread Kijam López
I reported here: https://bugreports.qt-project.org/browse/QTBUG-38305 But just migrate my APP to ANSI C and is exactly the same. My code test in ANSI C: #include #include #include #include #include #include #include #include #include

Re: Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-13 Thread Greg KH
On Sun, Apr 13, 2014 at 08:51:56PM -0430, Kijam López wrote: > The following code works for me correctly in Windows, but Linux does > not work. I am using the same PC, both operating systems are installed > native. I do not use virtual machine. I need to work on Linux. I have > tried in different l

Re: Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-13 Thread Kijam López
The following code works for me correctly in Windows, but Linux does not work. I am using the same PC, both operating systems are installed native. I do not use virtual machine. I need to work on Linux. I have tried in different linux distributions and does not work anywhere. // In the main cl

Re: Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-13 Thread Greg KH
On Sun, Apr 13, 2014 at 08:19:11PM -0430, Kijam López wrote: > Hi!, I'm having trouble with this adapter, and lately I think it's the > driver. Here I leave a link where I report the problem: > > http://stackoverflow.com/questions/23040820/driver-ch341-usb-adapter-serial-port-or-qserialport-not-wo

Driver CH341 USB Adapter Serial Port not Works in Linux

2014-04-13 Thread Kijam López
Hi!, I'm having trouble with this adapter, and lately I think it's the driver. Here I leave a link where I report the problem: http://stackoverflow.com/questions/23040820/driver-ch341-usb-adapter-serial-port-or-qserialport-not-works-in-linux -- To unsubscribe from this list: send the line "unsubsc