From: Drew Bertola <drew@drewb.com>
To: clameter@lameter.com
Cc: Greg KH <greg@kroah.com>, linux-kernel@vger.kernel.org
Subject: Re: USB broken in 2.4.4? Serial Ricochet works, USB performance sucks.
Date: Thu, 10 May 2001 20:07:50 -0700 [thread overview]
Message-ID: <20010510200750.A29230@drewb.com> (raw)
In-Reply-To: <20010509222456.A4960@kroah.com> <Pine.LNX.4.10.10105092324130.30061-100000@melchi.fuller.edu>
In-Reply-To: <Pine.LNX.4.10.10105092324130.30061-100000@melchi.fuller.edu>; from clameter@lameter.com on Wed, May 09, 2001 at 11:25:26PM -0700
On Wed, May 09, 2001 at 11:25:26PM -0700, clameter@lameter.com wrote:
> On Wed, 9 May 2001, Greg KH wrote:
>
> > On Wed, May 09, 2001 at 11:09:36PM -0700, clameter@lameter.com wrote:
> > >
> > > Allright then you should first check why the ACM driver is unable to
> > > handle an MTU of 1500. I had to set it to 232 or 500 to make it work at
> > > all. With an MTU of 1500 it does ICMP but not long tcp packets. There is
> > > some issue with long packets that might exceed some buffer size(?).
> >
> > I don't see anything in the ACM driver that would cause a problem for
> > large MTU settings. It is probably a device limitation, not the driver.
>
> The Richochet USB stuff uses generic serial I/O. No special driver. And it
> works fine under Win/ME. Have you run a regular PPP connection over the
> ACM driver with an MTU of 1500?
Joey Hess had a problem similar to what you described, though he noticed
it while using the pcmcia ricochet modem. He passed along this patch:
--- Serial.c.orig Fri Feb 2 12:55:44 2001
+++ serial.c Fri Feb 2 12:56:43 2001
@@ -569,10 +569,16 @@
icount = &info->state->icount;
do {
-
+ /*
+ * Check if flip buffer is full -- if it is, try to
flip,
+ * and if flipping got queued, return immediately
+ */
+ if (tty->flip.count >= TTY_FLIPBUF_SIZE) {
+ tty->flip.tqueue.routine((void *) tty);
+ if (tty->flip.count >= TTY_FLIPBUF_SIZE)
+ return;
+ }
ch = serial_inp(info, UART_RX);
- if (tty->flip.count >= TTY_FLIPBUF_SIZE)
- goto ignore_char;
*tty->flip.char_buf_ptr = ch;
icount->rx++;
--
Drew Bertola | Send a text message to my pager or cell ...
| http://jpager.com/Drew
next prev parent reply other threads:[~2001-05-11 3:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-10 0:52 USB broken in 2.4.4? Serial Ricochet works, USB performance sucks clameter
2001-05-10 3:32 ` Greg KH
2001-05-10 6:09 ` clameter
2001-05-10 5:24 ` Greg KH
2001-05-10 6:25 ` clameter
2001-05-10 5:38 ` Greg KH
2001-05-11 3:07 ` Drew Bertola [this message]
2001-05-11 4:39 ` Greg KH
2001-05-12 3:58 ` clameter
2001-05-10 3:46 ` Drew Bertola
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=20010510200750.A29230@drewb.com \
--to=drew@drewb.com \
--cc=clameter@lameter.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/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.