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

From: Greg KH
Date: Tue Mar 02 2010 - 18:55:41 EST


On Mon, Mar 01, 2010 at 07:07:00PM +0100, Peter Feuerer wrote:
> Hi Greg,
>
> I tried to flash an AVR microcontroler via an USB to serial
> converter which uses pl2302 driver. It didn't work, so I set up
> following test to reproduce the bug:
>
> I connected two pls2302 usb-serial converters to two different
> usb-ports of my machine and connected them with a rs232-nullmodem
> cable to each other.
>
> 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?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/