From: Andreas Kemnade <andreas@kemnade.info>
To: Johan Hovold <jhovold@gmail.com>
Cc: peter@piie.net, Greg KH <greg@kroah.com>,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [BUG] usb-serial / pl2302 corrupted receive
Date: Wed, 3 Mar 2010 19:31:56 +0100 [thread overview]
Message-ID: <20100303193156.78127498@kemnade.info> (raw)
In-Reply-To: <20100303141718.GA15162@localhost>
[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]
Hi,
On Wed, 3 Mar 2010 15:17:18 +0100
Johan Hovold <jhovold@gmail.com> wrote:
> 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.
>
Are udev rules around which attach gpsd to the usb to serial adapter?
That might interfere.
I had problems with pl2302 adaptors due to that reason. I wondered why
stty -F /dev/ttyUSBx showed different things than on earlier calls.
Greetings
Andreas Kemnade
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2010-03-03 19:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-01 18:07 Peter Feuerer
2010-03-02 23:53 ` Greg KH
2010-03-03 10:47 ` peter
2010-03-03 14:17 ` Johan Hovold
2010-03-03 18:31 ` Andreas Kemnade [this message]
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=20100303193156.78127498@kemnade.info \
--to=andreas@kemnade.info \
--cc=greg@kroah.com \
--cc=jhovold@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®