> > Okay, I've collected more information: > > I commented out the ftdi_write/ftdi_read function pointers in ftdi_sio.c, > > so that the generic handler of usbserial handles the write calls. > > > > Attached you'll find the debug log of usbserial showing the same behavior. > > Looks like the problem is not the ftdi_sio driver, it's in an upstream layer. > > > > Any hints how I could proceed now? > > Are you sure your userspace program isn't dropping the bytes? I find it > hard to believe that the tty layer could be doing it.
Attached you'll find the source of my test application. It opens /dev/ttyUSB0 and starts writing data using normal write(). As you can see in the debug log, no data is lost, the data is just wrong. (and splitted in a very strange way and the zero byte write requests are also a bit concerning) Thomas
serial.c
Description: Binary data
