usb 1.1 device fails on some usb3 hardware due to command error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

attaching a funcube dongle ( an usb 1.1 device which is used in software
defined radio ) to an usb 3 port fails an some hardeware.

Here is an extract of the dmesg log:

Aug  2 12:30:01 tux64 kernel: [  195.346767] usb 8-2: New USB device
found, idVendor=04d8, idProduct=fb56
Aug  2 12:30:01 tux64 kernel: [  195.346774] usb 8-2: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Aug  2 12:30:01 tux64 kernel: [  195.346781] usb 8-2: Product: FUNcube
Dongle V1.0
Aug  2 12:30:01 tux64 kernel: [  195.346787] usb 8-2: Manufacturer:
Hanlincrest Ltd.
Aug  2 12:30:01 tux64 kernel: [  195.347015] usb 8-2: usb_probe_device
Aug  2 12:30:01 tux64 kernel: [  195.347023] usb 8-2: configuration #1
chosen from 1 choice
Aug  2 12:30:01 tux64 kernel: [  195.348943] usbhid 8-2:1.2:
usb_probe_interface - got id
Aug  2 12:30:01 tux64 kernel: [  195.358742] usbhid 8-2:1.2: looking for
a minor, starting at 96
Aug  2 12:30:01 tux64 kernel: [  195.358966] hid-generic
0003:04D8:FB56.0004: hiddev0,hidraw3: USB HID v1.11 Device [Hanlincrest
Ltd.          FUNcube Dongle V1.0  ] on usb-0000:02:00.0-2/input2
Aug  2 12:30:01 tux64 kernel: [  195.381827] snd-usb-audio 8-2:1.0:
usb_probe_interface
Aug  2 12:30:01 tux64 kernel: [  195.381846] snd-usb-audio 8-2:1.0:
usb_probe_interface - got id

Aug  2 12:30:01 tux64 kernel: [  195.397880] xhci_hcd 0000:02:00.0:
ERROR: unexpected command completion code 0x11.
Aug  2 12:30:01 tux64 kernel: [  195.397895] usb 8-2: Not enough
bandwidth for altsetting 1

Aug  2 12:30:01 tux64 kernel: [  195.400162] usbcore: registered new
interface driver snd-usb-audio

The hardware is

02:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host
Controller (rev 01)
        Subsystem: ASRock Incorporation Device 7023
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_hcd

On other hardware it just works:
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
Family USB xHCI (rev 04)
    Subsystem: CLEVO/KAPOK Computer Device 0650
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_hcd

and the output of dmesg  looks like:

Aug  2 11:21:47 tuxmobile kernel: [ 1043.365201] hid-generic
0003:04D8:FB56.0002: hiddev0,hidraw1: USB HID v1.11 Device [Hanlincrest
Ltd.  FUNcube Dongle V1.0  ] on usb-0000:00:14.0-2/input2
Aug  2 11:21:47 tuxmobile kernel: [ 1043.394937] snd-usb-audio 3-2:1.0:
usb_probe_interface
Aug  2 11:21:47 tuxmobile kernel: [ 1043.394952] snd-usb-audio 3-2:1.0:
usb_probe_interface - got id
Aug  2 11:21:47 tuxmobile kernel: [ 1043.396222] usb 3-2: Successful
Endpoint Configure command
Aug  2 11:21:47 tuxmobile kernel: [ 1043.396563] usb 3-2: Successful
Endpoint Configure command
Aug  2 11:21:47 tuxmobile kernel: [ 1043.397067] usbcore: registered new
interface driver snd-usb-audio




Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x04d8 Microchip Technology, Inc.
  idProduct          0xfb56
  bcdDevice            0.02
  iManufacturer           1 Hanlincrest Ltd.        
  iProduct                2 FUNcube Dongle V1.0 
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          132
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              150mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           30
        bInCollection           1
        baInterfaceNr( 0)       1
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               1
        iTerminal               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           2
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        96000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0184  1x 388 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      29
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Status:     0x0001
  Self Powered


Regards

Volker Schroer
The description of the device is:







--
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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux