lkml.org 
[lkml]   [2010]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateWed, 03 Mar 2010 11:47:05 +0100
From peter@piie ...
SubjectRe: [BUG] usb-serial / pl2302 corrupted receive
Hi Greg,

Quoting Greg KH <greg@kroah.com>:

> On Mon, Mar 01, 2010 at 07:07:00PM +0100, Peter Feuerer wrote:
>> 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?

I will try to set up a test use-case which uses kermit.

But there is a calltrace in kernel log when using cat & echo, so
something in the driver went wrong.
Thus there is a bug which can be reproduced and it should be fixed,
don't you agree?

best regards,
--peter





\
 
 \ /
  Last update: 2010-03-03 11:57    [from the cache]
©2003-2010