From: Johan Hovold <jhovold@gmail.com>
To: peter@piie.net
Cc: Greg KH <greg@kroah.com>,
linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-usb@vger.kernel.org
Subject: Re: [BUG] usb-serial / pl2302 corrupted receive
Date: Wed, 3 Mar 2010 15:17:18 +0100 [thread overview]
Message-ID: <20100303141718.GA15162@localhost> (raw)
In-Reply-To: <20100303114705.33716f9pnen8a8kc@webmail.df.eu>
On Wed, Mar 03, 2010 at 11:47:05AM +0100, peter@piie.net wrote:
> 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?
Not necessarily. The warning you attached to your first post is a false
one (it has been fixed in 2.6.33) and is not directly related to the
problem you describe.
/Johan
next prev parent reply other threads:[~2010-03-03 14:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-01 18:07 [BUG] usb-serial / pl2302 corrupted receive Peter Feuerer
2010-03-02 23:53 ` Greg KH
2010-03-03 10:47 ` peter
2010-03-03 14:17 ` Johan Hovold [this message]
2010-03-03 18:31 ` Andreas Kemnade
2010-03-03 12:14 ` Alan Cox
2010-03-03 14:50 ` Johan Hovold
2010-03-03 15:01 ` [PATCH] USB: pl2303: switch to generic write implementation Johan Hovold
2010-03-03 15:08 ` Oliver Neukum
2010-03-04 11:12 ` [PATCH v2] " Johan Hovold
2010-03-15 23:20 ` Greg KH
2010-03-17 9:16 ` Johan Hovold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100303141718.GA15162@localhost \
--to=jhovold@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=peter@piie.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.