Comment 0 for bug 889953

Revision history for this message
David Monniaux (david-monniaux) wrote :

usb-audio with a Zoom H4N does not work.

The Zoom H4N contains a USB hub and a usb-audio device. When connecting, it produces the following error in dmesg:
cannot submit datapipe for urb 0, error -28: not enough bandwidth
When attempting to use Jack in full-duplex, jackd attempts a 0x4142 ioctl (SNDRV_PCM_IOCTL_START), gets an EPIPE, and crashes; the kernel produces another 'cannot submit datapipe for urb 0, error -28: not enough bandwidth' message in dmesg.

From reading various forums and lists, the problem seems related to a bug in bandwidth allocation in EHCI_HCD with respect to isochronous endpoints (audio devices), which happens particularly badly when these devices are behind hubs.

Workaround: disable the EHCI controller to which the audio device is connected, e.g.
echo -n '0000:00:1d.7' > /sys/bus/pci/drivers/ehci_hcd/unbind
where 0000:00:1d.7 is to be replaced by the correct PCI address. This will reconnect the device under USB 1.1.

This problem has been going on for years in the Linux kernel and should definitely be fixed.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-image-3.0.0-12-generic 3.0.0-12.20
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
NonfreeKernelModules: wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: david 2167 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf6adc000 irq 46'
   Mixer name : 'Intel Cantiga HDMI'
   Components : 'HDA:111d76b2,10280277,00100302 HDA:80862802,80860101,00100000'
   Controls : 19
   Simple ctrls : 11
Date: Sun Nov 13 21:09:45 2011
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=ef890c0a-abf2-48af-b767-6c84d2fdf528
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: Dell Inc. Latitude E4200
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=238c0805-e3d7-41bb-bcc2-ee866f5734f3 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-12-generic N/A
 linux-backports-modules-3.0.0-12-generic N/A
 linux-firmware 1.60
SourcePackage: linux
UpgradeStatus: Upgraded to oneiric on 2011-10-15 (29 days ago)
dmi.bios.date: 05/06/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 02GMRH
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA16:bd05/06/2010:svnDellInc.:pnLatitudeE4200:pvr:rvnDellInc.:rn02GMRH:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude E4200
dmi.sys.vendor: Dell Inc.