Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can not use USB sound card - cannot submit datapipe for urb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
pyrotek
n00b
n00b


Joined: 24 Jul 2007
Posts: 23

PostPosted: Sat Jan 29, 2011 2:40 am    Post subject: Can not use USB sound card - cannot submit datapipe for urb Reply with quote

Hi All,

I've just brought a new laptop , Lenovo Thinkpad Edge 13".
I am trying to get my Roland Edirol UA-25ex to work as a capture device under jack.

I've used this USB sound card quite a lot under linux and never had issues until now.
Everytime I go to set it up in duplex mode 48khz it throws the flowing errors :-

Jack log :-
Code:

Sat Jan 29 10:35:28 2011: ERROR: ALSA: could not start playback (Broken pipe)
Sat Jan 29 10:35:28 2011: ERROR: Cannot start driver
Sat Jan 29 10:35:28 2011: ERROR: JackServer::Start() failed with -1


dmesg :-
Code:

[  384.261578] ehci_hcd 0000:00:1d.0: iso resched full ffff880136759000 (now 6272 max 14464)
[  384.261588] cannot submit datapipe for urb 0, error -28: not enough bandwidth
[  423.100404] ehci_hcd 0000:00:1d.0: iso resched full ffff88015497c200 (now 6064 max 14256)
[  423.100411] cannot submit datapipe for urb 0, error -28: not enough bandwidth
[  434.630395] ehci_hcd 0000:00:1d.0: iso resched full ffff8801365f1700 (now 111 max 8303)
[  434.630403] cannot submit datapipe for urb 0, error -28: not enough bandwidth
[  453.138300] ehci_hcd 0000:00:1d.0: iso resched full ffff8801365f1800 (now 896 max 9088)
[  453.138308] cannot submit datapipe for urb 0, error -28: not enough bandwidth



my usb layout :-
Code:

#lsusb
Bus 002 Device 004: ID 0582:00e6 Roland Corp.
Bus 002 Device 002: ID 8087:0020 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


my pci tree :-
Code:

lspci
00:00.0 Host bridge: Intel Corporation Arrandale DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Arrandale Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation Ibex Peak HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation Ibex Peak USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation Ibex Peak High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 2 (rev 06)
00:1c.4 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 5 (rev 06)
00:1c.5 PCI bridge: Intel Corporation Ibex Peak PCI Express Root Port 6 (rev 06)
00:1d.0 USB Controller: Intel Corporation Ibex Peak USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Ibex Peak LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation Ibex Peak 4 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation Ibex Peak SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation Ibex Peak Thermal Subsystem (rev 06)
03:00.0 Network controller: Intel Corporation WiFi Link 100 Series
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
ff:00.0 Host bridge: Intel Corporation QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Device 2d12 (rev 02)
ff:02.3 Host bridge: Intel Corporation Device 2d13 (rev 02)



I also notice that my Intel USB hub may have an issue with full duplex sound cards :-
Intel Chipset document

Hear is the part that worries me :-
| 6. Intel® 5 Series Chipset and Intel® 3400 Series Chipset Full-Speed
| USB Isochronous Packet Truncation
|
| Problem: Full-Speed isochronous-out transactions with multi-frame
| packets may be truncated, in the presence of Full or Low-Speed USB
| asynchronous transactions.
| • For this to occur, two devices, one performing Full-Speed
| isochronous-out transactions and one performing asynchronous
| transactions must be connected to the same USB controller
| (Ports 0-7 and 8-13).
|
| Implication: In the case of a USB audio device this issue may result
| in no audible impact or audible artifacts such as pops and clicks.
|
| Note:
| • High-Speed and Low-Speed USB devices are not impacted by this issue.
| • Only devices supporting Full-Speed isochronous-out transactions that
| Intel is aware of are audio devices, such as sound adapters,
| speakers, and headphones.
| • Intel has only observed the issue when a Full-Speed audio devices
| and Full-Speed USB web camera are connected to the same USB
| controller.
|
| Workaround: None.
| Status: Fixed

Apparently in rev B3 chipsets this issue is fixed.
Not sure how to find out if I have a B3, but i am guessing not.

If this is the case what can I do ?
I pretty much brought the laptop to use for audio capture!

Thanks
Back to top
View user's profile Send private message
syhrus
n00b
n00b


Joined: 30 Nov 2005
Posts: 5

PostPosted: Thu Jun 30, 2011 3:23 pm    Post subject: alsamixer Reply with quote

I was working now for 2 day's on the problem:
"cannot submit datapipe for urb 0, error -28: not enough bandwidth".

finally - u cant imagine how simple it was - i found the reason and got my usb-sound back again.

the main reason was the "auto-mute feature" after changing audio source with pulse.

so try to go ahead.
- open gnome-alsamixer or alsamixer
- switch to tab USB Mixer
- and increase master volume (Speaker) from zero to more...

here is the original source for this hint:
http://forum.ubuntuusers.de/topic/medusa-5-1-usb-headset/#post-2532118

looks like the errormessage above has nothing todo with missing sound.

hope this will help.

regards
ds
Back to top
View user's profile Send private message
rogerx
n00b
n00b


Joined: 06 Apr 2004
Posts: 65

PostPosted: Wed Mar 13, 2013 2:34 am    Post subject: Reply with quote

I was getting an error very similar to this, for an USB ADS Tech InstantFM Music receiver when connecting the device to only certain USB-2/USB-3 motherboard ports.

The following errors would be repeated numerously:
Feb 23 18:59:21 localhost4 kernel: ehci_hcd 0000:00:1a.0: iso resched full ffff8807fda60ac0 (now 3119 max 11311)
Feb 23 18:59:21 localhost4 kernel: cannot submit urb 0, error -28: not enough bandwidth

I found out, from another post elsewhere, disabling the following within the Linux kernel config:

Device Drivers > USB
USB Verbose Debugging (USB_DEBUG)
OHCI HCD (USB_OHCI_HCD)
UHCI HCD (USB_UHCI_HCD)

NOTE: Before disabling USB HCD drivers, make sure you have backup devices in case your USB keyboard fails to initialize. But from the poster posting this hint, those USB HCD drivers are not really needed as long as your USB ports can handle Transaction Translators. Wonder why these in kernel help menus for these specific HCD drivers lack this documentation?

Also, make sure "Improved Transaction Translator scheduling" (USB_EHCI_TT_NEWSCHED) is selected as well, but in my case it was already selected/active.

Of all the solutions, nothing worked until I disabled the above three options and rebooted. Although I was unsuccessful narrowing down the specific problem driver with selective disabling, the ADS Tech device now works on most ports, even with these options re-enabled now! NOTE: I have yet to perform a cold boot, and only issued a reboot command.


A more complete log file for this device:

Mar 12 18:25:04 kernel: usb 1-1.1: new full-speed USB device number 6 using ehci_hcd
Mar 12 18:25:04 kernel: hub 1-1:1.0: port 1 not reset yet, waiting 10ms
Mar 12 18:25:04 kernel: usb 1-1.1: skipped 4 descriptors after interface
Mar 12 18:25:04 kernel: usb 1-1.1: skipped 2 descriptors after interface
Mar 12 18:25:04 kernel: usb 1-1.1: skipped 1 descriptor after endpoint
Mar 12 18:25:04 kernel: usb 1-1.1: skipped 1 descriptor after interface
Mar 12 18:25:04 kernel: usb 1-1.1: default language 0x0409
Mar 12 18:25:04 kernel: usb 1-1.1: udev 6, busnum 1, minor = 5
Mar 12 18:25:04 kernel: usb 1-1.1: New USB device found, idVendor=06e1, idProduct=a155
Mar 12 18:25:04 kernel: usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 12 18:25:04 kernel: usb 1-1.1: Product: ADS InstantFM Music
Mar 12 18:25:04 kernel: usb 1-1.1: Manufacturer: ADS TECH
Mar 12 18:25:04 kernel: usb 1-1.1: usb_probe_device
Mar 12 18:25:04 kernel: usb 1-1.1: configuration #1 chosen from 1 choice
Mar 12 18:25:04 kernel: usb 1-1.1: adding 1-1.1:1.0 (config #1, interface 0)
Mar 12 18:25:04 kernel: snd-usb-audio 1-1.1:1.0: usb_probe_interface
Mar 12 18:25:04 kernel: snd-usb-audio 1-1.1:1.0: usb_probe_interface - got id
Mar 12 18:25:04 kernel: usb 1-1.1: adding 1-1.1:1.1 (config #1, interface 1)
Mar 12 18:25:04 kernel: usb 1-1.1: adding 1-1.1:1.2 (config #1, interface 2)
Mar 12 18:25:04 kernel: usbhid 1-1.1:1.2: usb_probe_interface
Mar 12 18:25:04 kernel: usbhid 1-1.1:1.2: usb_probe_interface - got id
Mar 12 18:25:04 kernel: radio-si470x 1-1.1:1.2: usb_probe_interface
Mar 12 18:25:04 kernel: radio-si470x 1-1.1:1.2: usb_probe_interface - got id
Mar 12 18:25:04 kernel: radio-si470x 1-1.1:1.2: DeviceID=0x1242 ChipID=0x0a0f
Mar 12 18:25:04 kernel: radio-si470x 1-1.1:1.2: software version 1, hardware version 7
Mar 12 18:25:04 kernel: usb 1-1.1: link qh8-0e01/ffff8807f30b2b40 start 6 [1/3 us]
Mar 12 18:25:05 kernel: ehci_hcd 0000:00:1a.0: iso resched full ffff8807fbfb37c0 (now 5955 max 14147)
Mar 12 18:25:05 kernel: cannot submit urb 0, error -28: not enough bandwidth

Edited Mar 12 19:11 - I think I've found the issue, this device requires full bandwidth and a device plugged into the hub elsewhere on the motherboard ports may actually pull power from another motherboard hub. As such, also unplug all USB devices to further troubleshoot. Think my misconception may have been thinking each hub on the motherboard had adequate power or individual sources of power, when really not all motherboard hubs had individual power sources and are really sharing one power source.
_________________
Roger
http://rogerx.freeshell.org/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum