Bug 60581 - Attaching an usb 1.1 (sound ) device to an usb3 port results in "not enough bandwidth
Summary: Attaching an usb 1.1 (sound ) device to an usb3 port results in "not enough b...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: XHCI bugs virtual user
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-19 07:43 UTC by dl1ksv
Modified: 2022-11-08 09:23 UTC (History)
3 users (show)

See Also:
Kernel Version: 3.10.1-3.14.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Messages from the xhci driver while attaching the dongle (80.68 KB, text/plain)
2013-07-19 07:43 UTC, dl1ksv
Details

Description dl1ksv 2013-07-19 07:43:06 UTC
Created attachment 106940 [details]
Messages from the xhci driver while attaching the dongle

Attaching an usb 1.1 device ( Funcube dongle pro+ ) results in an not enough bandwidth and some error messages from the xhci driver. See attachment.
The device is not usable.
The device works without any problems with ehci or ohci drivers.
Comment 1 Greg Kroah-Hartman 2013-07-19 16:00:39 UTC
On Fri, Jul 19, 2013 at 07:43:06AM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> 
> Attaching an usb 1.1 device ( Funcube dongle pro+ ) results in an not enough
> bandwidth and some error messages from the xhci driver. See attachment.
> The device is not usable.
> The device works without any problems with ehci or ohci drivers.

Please post this to the linux-usb@vger.kernel.org mailing list.

greg k-h
Comment 2 dl1ksv 2013-09-11 15:31:12 UTC
Problem remains with kernel 3.11 and depends on the host controller hardware.

The following hardware has probles:


02:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01) (prog-if 30 [XHCI])
        Subsystem: ASRock Incorporation Device 7023
        Flags: bus master, fast devsel, latency 0, IRQ 72
        Memory at fe900000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: [50] Power Management version 3
        Capabilities: [70] MSI: Enable+ Count=1/4 Maskable+ 64bit+
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [190] Device Serial Number 01-01-01-01-01-01-01-01
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_hcd 

The following hardware works flawless:

00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04) (prog-if 30 [XHCI])
        Subsystem: CLEVO/KAPOK Computer Device 0650
        Flags: bus master, medium devsel, latency 0, IRQ 42
        Memory at f7a00000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_hcd
Comment 3 dl1ksv 2014-01-05 17:07:46 UTC
Problem remains with kernel 3.12.x
Comment 4 dl1ksv 2014-02-06 16:11:09 UTC
The problem remains with kernel 3.14.0-rc1.

Feb  6 17:07:39 tux64 kernel: [ 1421.277121] usb 8-2: new full-speed USB device number 2 using xhci_hcd
Feb  6 17:07:39 tux64 kernel: [ 1421.440253] usb 8-2: New USB device found, idVendor=04d8, idProduct=fb31
Feb  6 17:07:39 tux64 kernel: [ 1421.440266] usb 8-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb  6 17:07:39 tux64 kernel: [ 1421.440273] usb 8-2: Product: FUNcube Dongle V2.0  
Feb  6 17:07:39 tux64 kernel: [ 1421.440279] usb 8-2: Manufacturer: Hanlincrest Ltd.         
Feb  6 17:07:39 tux64 kernel: [ 1421.459256] ALSA sound/usb/stream.c:710 2:1:1: add audio endpoint 0x81
Feb  6 17:07:39 tux64 kernel: [ 1421.459340] xhci_hcd 0000:02:00.0: ERROR: unexpected command completion code 0x11.
Feb  6 17:07:39 tux64 kernel: [ 1421.459352] usb 8-2: Not enough bandwidth for altsetting 1
Feb  6 17:07:39 tux64 kernel: [ 1421.496283] ALSA sound/usb/clock.c:309 2:1:1: cannot get freq at ep 0x81
Feb  6 17:07:39 tux64 kernel: [ 1421.508426] hid-generic 0003:04D8:FB31.0005: hiddev0,hidraw3: USB HID v1.11 Device [Hanlincrest Ltd.          FUNcube Dongle V2.0  ] on usb-0000:02:00.0-2/input2


Unfortunately it's out of my scope to fix this issue. But perhaps someone could guide me to deliver the necessary informations that somebody could fix this.

This device is used for hamradio applications and satellite reception.
Comment 5 Pinky 2022-11-07 19:28:39 UTC
Hi, is this still reproducible?
Comment 6 dl1ksv 2022-11-08 09:23:09 UTC
I still own this hardware from 9 years ago with an running fedora 33 and kernel 5.14.18.

The log looks like

[  126.737651] hid-generic 0003:046D:C050.000A: input,hidraw0: USB HID
v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:12.0-4/input0
[  128.604326] usb 8-1: new full-speed USB device number 2 using xhci_hcd
[  128.780324] usb 8-1: New USB device found, idVendor=04d8,
idProduct=fb31, bcdDevice=20.03
[  128.780344] usb 8-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[  128.780354] usb 8-1: Product: FUNcube Dongle V2.0
[  128.780361] usb 8-1: Manufacturer: Hanlincrest Ltd.
[  128.791213] hid-generic 0003:04D8:FB31.000B: hiddev97,hidraw3: USB
HID v1.11 Device [Hanlincrest Ltd.          FUNcube Dongle V2.0  ] on
usb-0000:02:00.0-1/input2
[  128.872235] mc: Linux media interface: v0.10
[  128.975305] usb 8-1: 1:1: cannot get freq at ep 0x81
[  128.979804] usbcore: registered new interface driver snd-usb-audio
[  129.089290] usb 8-1: 1:1: cannot get freq at ep 0x81
[  129.139295] usb 8-1: 1:1: cannot get freq at ep 0x81
[  129.239464] retire_capture_urb: 7 callbacks suppressed
[  134.240897] retire_capture_urb: 4992 callbacks suppressed


The 'not enough bandwidth' message has gone, but at the moment I have no application software to test whether the funcube dongle works flawless due to the suppressed fallbacks.

THe hardware info is :

02:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host
Controller (rev 01) (prog-if 30 [XHCI])
    Subsystem: ASRock Incorporation Device 7023
    Flags: bus master, fast devsel, latency 0, IRQ 29, NUMA node 0
    Memory at fe900000 (64-bit, non-prefetchable) [size=32K]
    Capabilities: [50] Power Management version 3
    Capabilities: [70] MSI: Enable+ Count=1/4 Maskable+ 64bit+
    Capabilities: [a0] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [190] Device Serial Number 01-01-01-01-01-01-01-01
    Kernel driver in use: xhci_hcd

Note You need to log in before you can comment on or make changes to this bug.