Hi!

I'm currently tracking down a bug in the ftdi_sio driver.
It seems to lose/falsify data under certain circumstances,
several people have experienced it.
The driver version is 1.2.1 (latest) using kernel 2.4.20.

In my setup, a FT245BM chip is used to talk to a VFD display.
I've wrote a small program to output the following control sequences:

First write (2 bytes): 0x1B 0x40
Second write (1 byte): 0x0C
Third write (9 + 64*2 bytes): 0x1f 0x28 0x66 0x11 0x40 0x00 0x02 0x00 0x01
After that should follow a sequence from 0x00 to 0x7F

Attached you'll find a debug output of the ftdi_sio driver.

Interesting is line 295 of the debug log: IMHO this should be 0x0a.
Also interesting are the write requests of 0 bytes.

Could it even be a problem with the usbserial layer?
Any help is really appreciated as I'm not familiar
with the USB part of the kernel!

Thomas

Attachment: ftdi_debug.gz
Description: GNU Zip compressed data

Reply via email to