Re: [BUG] usb-serial / pl2302 corrupted receive

From: Alan Cox
Date: Wed Mar 03 2010 - 07:11:27 EST

> > Terminal1:
> > cat /dev/ttyUSB1
> >
> > Terminal2:
> > while true; do echo 123456789012345678901234567890 > /dev/ttyUSB0 ; done
> cat and echo are known to not work well with usb to serial devices. Can
> you duplicate this with a "real" tty program like minicom or something
> else?

That should no longer be the case. The kfifo buffering implementation
fixed all the broken internal buffering in the usb tty code - or should
have done.

Definitely worthy of more investigation if the second open/closes are
disrupting stuff.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at