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 is the problem ... I think XD. The problem with the driver gives me the kernel 3.12.6 original, a despairing attempt to update the two files you mentioned, but still always feel the same. Always respond timeout. 2014-04-14 1:02 GMT-04:30 Kijam López <kijamve@xxxxxxxxx>: > 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 is " 0x02 S1 0x03 a", I should say > something like this: > " 0x02 S100 0x0A 00000000000000000 0x0A 00000479 0x0A 00000 0x0A > 00000330 0x0A 00000 0x0A 0061 0x0A 0000 0x0A X-XXXXXXXX 0x0A XXXXXXXXX > 0x0A 221715 0x0A 120414 0x0A 0x03 0x1B " > > In Windows OS, it works perfectly with the same PC and the same USB > adapter. But Linux is not responding. Or respond but the driver is not > interpreted correctly. > > My Kernel is 3.12.6, but i updated from GitHub this file an rebuild > this drivers: > https://github.com/torvalds/linux/blob/master/drivers/usb/serial/ch341.c > https://github.com/torvalds/linux/blob/master/drivers/usb/serial/usb-serial.c > (commit d9a38a8741fdffabc32e6d0943b1cdcf22712bec) > > > 2014-04-14 0:53 GMT-04:30 Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>: >> 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: >>> >>> <snip> >>> Test command: Fail >> >> I'm confused, what should it do? >> >> And what kernel version are you using here? >> >> thanks, >> >> greg k-h -- 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