On Fri, 4 Dec 2009, Bastien Nocera wrote: > > > > > https://bugzilla.redhat.com/show_bug.cgi?id=517438 > > > > > > > > > > > Whilst starting a Torrent with Transmission on a VFAT USB hard drive, audio > > > > > > (through a USB 5.1 sound card) started skipping like nobody's business. > > > > > > > > > > > ALSA sound/usb/usbaudio.c:882: cannot submit datapipe for urb 0, error -28: not enough bandwidth > > > > > > ALSA sound/usb/usbaudio.c:882: cannot submit datapipe for urb 0, error -28: not enough bandwidth > > > > I would guess that the problem is the extra computational load caused > > by running Torrent. > > I'd say uber-bogus. There's no computation yet, Sorry, I wrote "computational load" but I meant "I/O load". Slip of the brain. > it's Transmission > creating the "how many gigs" files for the torrent. If you ran it on > ext4 (as I have the exact same drive setup for a couple of days now), > there wouldn't be any traffic to speak of, because ext4 can do sparse > reservation for files. > > dd'ing /dev/null to the USB disk would probably have the same effect. (You mean /dev/zero.) Yes, it probably would. You can try it and see. > The audio device is a "cheap as chips" Aureon MKII 5.1 sound card, with > all 6 channels filled up with audio through PulseAudio. > > > It could prevent the usbaudio driver from running > > in a timely fashion (because of the added interrupt latency), thereby > > losing its bandwidth allocation. A usbmon trace would tell whether > > this is really what's happening. > <snip> > > > The whole reason for ISO to exist is to receive the guaranteed bandwidth, > > > isn't it (see clause 3.3 of 2.0 spec)? > > > > > > I understand that until the ISO URB is submitted, there's no way for the > > > HCD to know that it should allocate the bandwidth. What is our solution, > > > then? Should we create some sort of "channels" that allocate the bandwidth > > > (what spec calls "prenegotiated")? > > > > That is more or less our plan (preallocate periodic bandwidth as soon > > as a config or an altsetting is installed). It's going to take a while > > to implement, however. > > /me crosses fingers! Crossing your fingers is fine -- just don't try to hold your breath! :-) Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html