mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Greg KH <greg@kroah.com>
Cc: Peter Feuerer <peter@piie.net>, linux-kernel@vger.kernel.org
Subject: Re: [BUG] usb-serial / pl2302 corrupted receive
Date: Wed, 3 Mar 2010 12:14:41 +0000	[thread overview]
Message-ID: <20100303121441.622e271f@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <20100302235353.GB2196@kroah.com>

> > 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.

  parent reply	other threads:[~2010-03-03 12:11 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
2010-03-03 12:14   ` Alan Cox [this message]
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=20100303121441.622e271f@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=greg@kroah.com \
    --cc=linux-kernel@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®