public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Lee Revell <rlrevell@joe-job.com>
Cc: kus Kusche Klaus <kus@keba.com>,
	stern@rowland.harvard.edu, linux-usb-users@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: Re: 2.6.11, USB: High latency?
Date: Wed, 30 Mar 2005 17:28:09 -0800	[thread overview]
Message-ID: <200503301728.09969.david-b@pacbell.net> (raw)
In-Reply-To: <1112230265.19975.21.camel@mindpipe>

On Wednesday 30 March 2005 4:51 pm, Lee Revell wrote:
> [cc list restored]

Thanks, I never had one to start with ... :)


> On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote:
> > Quoth rlevell@joe-job.com:
> > > I think this is connected to a problem people have been reporting on the
> > > Linux audio lists.  With some USB chipsets, USB audio interfaces just
> > > don't work.  There are dropouts even at very high latencies.  
> > 
> > Well, I'd not yet expect USB audio to work over EHCI quite yet,
> > though one of the patches Greg just posted should help some of
> > the issues with full speed iso through USB 2.0 hubs.  (At least
> > for OUT transfers as to speakers.)
> > 
> 
> This is the exact configuration of one of the users who reported the
> problem on LAU.  Got a pointer to the patch?  And what's the issue with
> IN transfers?

This is what Greg just posted (and Linus merged into BK, so it'll be
in BK snapshots starting tomorrow):

  http://marc.theaimsgroup.com/?l=linux-usb-devel&m=111221966815043&w=2

The issue with IN transfers is that microframe scheduling is ... tricky.
One must track all kinds of stuff (which TTs are involved, which microframes
are busy, how busy they are, how much non-TT bandwidth is available).  And
the relevant EHCI data structures are almost as irregular as the USB trees
one must cope with.

Plus one must have the time to spend debugging and fixing the problems, stress
testing the fixes, and devices that will trigger the problems.  I've had none
of those, for quite some time now.  (My particular USB speakers have pretty much
always worked on Linux, even through a USB 2.0 hub.)

Karsten has some not-ready-for-prime-time patches which he's posted
recently.  They basically hardwire some of the scheduling outputs well
enough to get some of his IN transfers to work.  Maybe he'll be nice
enough to repost them against current BK (they include the patch above).

I'd like to see all that split ISO stuff working with EHCI, but someone
else is going to have to do most of the work.  Once it's working we can
take the CONFIG_EXPERIMENTAL off, which will remove another source of
errors.  :)

- Dave


  reply	other threads:[~2005-03-31  1:28 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-30 22:57 2.6.11, USB: High latency? David Brownell
2005-03-31  0:43 ` Lee Revell
2005-03-31  1:13   ` David Brownell
2005-03-31  1:21     ` Lee Revell
2005-03-31  1:32       ` David Brownell
2005-03-31  0:51 ` Lee Revell
2005-03-31  1:28   ` David Brownell [this message]
2005-03-31  1:32     ` Lee Revell
2005-03-31  1:40       ` David Brownell
2005-03-31  1:44         ` Lee Revell
2005-03-31  1:39     ` Lee Revell
  -- strict thread matches above, loose matches on Subject: below --
2005-04-04  8:03 kus Kusche Klaus
2005-04-04  8:36 ` Ingo Molnar
2005-04-04 19:40 ` Alan Stern
2005-04-01 13:16 kus Kusche Klaus
2005-04-01 13:41 ` Ingo Molnar
2005-04-01  6:46 kus Kusche Klaus
2005-04-01 17:20 ` Alan Stern
2005-03-31 12:12 kus Kusche Klaus
2005-03-31 11:15 kus Kusche Klaus
2005-03-31 16:48 ` Alan Stern
2005-03-30 13:51 kus Kusche Klaus
2005-03-30 15:55 ` Alan Stern
2005-03-30 21:28   ` Lee Revell
2005-03-31 11:30 ` Ingo Molnar

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=200503301728.09969.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=kus@keba.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-users@lists.sourceforge.net \
    --cc=rlrevell@joe-job.com \
    --cc=stern@rowland.harvard.edu \
    /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