You are not logged in.

#1 2014-09-02 01:01:29

Gazok
Member
Registered: 2013-05-03
Posts: 6

[Solved] usb err = -32 and -22 with GIGABYTE 990XA-UD3 motherboard

Solution

Enable IOMMU in bios, and optionally(?) add iommu=soft or iommu=pt to boot command kernel line.

Original Post

I recently purchased a new GA-990XA-UD3 motherboard. On installation, my existing arch install complained about usb. As I had nothing irreplacable, I reinstalled arch from scratch. This does not seem to have fixed the errors. I tried an Ubuntu liveCD, which also shared these problems. I'm dual-booting Windows, which has no USB- or networking-related issues.

The 990XA back panel has 8x USB 2.0 and 2x USB 3.0 ports.
Available via internal headers are 6x USB 2.0 (unused), and 2x USB 3.0 (hooked up to case front).

I have the following devices plugged into back-panel USB 2.0:

  • Keyboard-integrated 2x USB 2.0 hub

    • USB HDD

    • Plantronics headset

  • MS IntelliMouse

Any number of these can fail to connect on boot. Any device plugged in after boot seems to function correctly.

This is my dmesg (on this occasion, all but the headset was functional after boot).

dmesg | grep -E "usb|hub"

[    0.897705] usbcore: registered new interface driver usbfs
[    0.897716] usbcore: registered new interface driver hub
[    0.899724] usbcore: registered new device driver usb
[    0.902364] hub 1-0:1.0: USB hub found
[    0.902373] hub 1-0:1.0: 2 ports detected
[    0.902981] hub 2-0:1.0: USB hub found
[    0.902999] hub 2-0:1.0: 2 ports detected
[    0.903518] hub 3-0:1.0: USB hub found
[    0.903526] hub 3-0:1.0: 2 ports detected
[    0.903891] hub 5-0:1.0: USB hub found
[    0.903898] hub 5-0:1.0: 2 ports detected
[    0.957863] hub 4-0:1.0: USB hub found
[    0.957871] hub 4-0:1.0: 5 ports detected
[    1.014530] hub 6-0:1.0: USB hub found
[    1.014537] hub 6-0:1.0: 5 ports detected
[    1.071255] hub 7-0:1.0: USB hub found
[    1.071264] hub 7-0:1.0: 2 ports detected
[    1.127947] hub 8-0:1.0: USB hub found
[    1.127955] hub 8-0:1.0: 4 ports detected
[    1.137302] hub 9-0:1.0: USB hub found
[    1.137307] hub 9-0:1.0: 5 ports detected
[    1.193867] hub 4-0:1.0: USB hub found
[    1.193874] hub 4-0:1.0: 5 ports detected
[    1.260669] hub 10-0:1.0: USB hub found
[    1.260674] hub 10-0:1.0: 5 ports detected
[    1.317286] hub 6-0:1.0: USB hub found
[    1.317292] hub 6-0:1.0: 5 ports detected
[    1.444080] usb 9-1: new high-speed USB device number 2 using ehci-pci
[    1.454228] hub 11-0:1.0: USB hub found
[    1.454234] hub 11-0:1.0: 4 ports detected
[    1.510835] hub 8-0:1.0: USB hub found
[    1.510843] hub 8-0:1.0: 4 ports detected
[    1.580146] hub 9-1:1.0: USB hub found
[    1.580535] hub 9-1:1.0: 4 ports detected
[    1.884279] usb 4-2: new low-speed USB device number 2 using ohci-pci
[    2.421336] usb 4-2: device not accepting address 2, error -32
[    2.551403] usb 4-2: new low-speed USB device number 3 using ohci-pci
[    2.836279] hub 9-1:1.0: hub_port_status failed (err = -32)
[    2.839491] hub 9-1:1.0: hub_port_status failed (err = -32)
[    2.843530] hub 9-1:1.0: hub_port_status failed (err = -32)
[    2.847551] hub 9-1:1.0: hub_port_status failed (err = -32)
[    2.850740] hub 9-1:1.0: hub_port_status failed (err = -32)
[    2.854753] hub 9-1:1.0: hub_port_status failed (err = -32)
[    2.862631] hub 9-1:1.0: hub_port_status failed (err = -32)
[    2.867510] hub 9-1:1.0: hub_port_status failed (err = -32)
[    2.871531] hub 9-1:1.0: hub_port_status failed (err = -32)
[    2.875555] hub 9-1:1.0: hub_port_status failed (err = -32)
[    2.941950] usb 9-1.1: new high-speed USB device number 4 using ehci-pci
[    3.095517] usb 9-1.2: new full-speed USB device number 5 using ehci-pci
[    3.116927] hub 9-1:1.0: hub_port_status failed (err = -32)
[    3.117589] usb 9-1-port2: cannot reset (err = -32)
[    3.118222] usb 9-1-port2: cannot reset (err = -32)
[    3.118911] usb 9-1-port2: cannot reset (err = -32)
[    3.119543] usb 9-1-port2: cannot reset (err = -32)
[    3.119692] usb 9-1-port2: Cannot enable. Maybe the USB cable is bad?
[    3.120366] usb 9-1-port2: cannot disable (err = -32)
[    3.121837] usb 9-1-port2: cannot reset (err = -32)
[    3.122472] usb 9-1-port2: cannot reset (err = -32)
[    3.123105] usb 9-1-port2: cannot reset (err = -32)
[    3.123851] usb 9-1-port2: cannot reset (err = -32)
[    3.124604] usb 9-1-port2: cannot reset (err = -32)
[    3.124752] usb 9-1-port2: Cannot enable. Maybe the USB cable is bad?
[    3.126046] usb 9-1-port2: cannot disable (err = -32)
[    3.192170] usb 9-1.2: new full-speed USB device number 7 using ehci-pci
[    3.210116] usb 9-1.2: device descriptor read/8, error -32
[    3.326347] usb 9-1.2: device descriptor read/8, error -32
[    3.495782] usb 9-1.2: new full-speed USB device number 8 using ehci-pci
[    3.513687] usb 9-1.2: device descriptor read/8, error -32
[    3.629727] usb 9-1.2: device descriptor read/8, error -32
[    3.732698] usb 9-1-port2: cannot disable (err = -32)
[    3.732861] usb 9-1-port2: unable to enumerate USB device
[    3.734204] usb 9-1-port2: cannot disable (err = -32)
[    3.738262] hub 9-1:1.0: hub_port_status failed (err = -32)
[    4.633743] usb-storage 9-1.1:1.0: USB Mass Storage device detected
[    4.634028] scsi6 : usb-storage 9-1.1:1.0
[    4.634255] usbcore: registered new interface driver usb-storage
[    4.951027] usbcore: registered new interface driver uas
[    5.328144] usbcore: registered new interface driver usbhid
[    5.328151] usbhid: USB HID core driver
[    5.367865] input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) as /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:045E:0039.0001/input/input4
[    5.367953] hid-generic 0003:045E:0039.0001: input,hidraw0: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on usb-0000:00:12.0-2/input0

I then plug in my "Dynamode 11N USB adapter" (actually a Realtek 8188SU) into an internal USB 3.0 port:

dmesg

[   66.771022] usb 3-2: new high-speed USB device number 2 using xhci_hcd
[   67.084608] usb 3-2: reset high-speed USB device number 2 using xhci_hcd
[   67.084633] xhci_hcd 0000:04:00.0: Setup ERROR: setup context command for slot 1.
[   67.084637] usb 3-2: hub failed to enable device, error -22
[   67.191360] usb 3-2: reset high-speed USB device number 2 using xhci_hcd
[   67.191401] xhci_hcd 0000:04:00.0: Setup ERROR: setup context command for slot 1.
[   67.191416] usb 3-2: hub failed to enable device, error -22
[   67.298113] usb 3-2: reset high-speed USB device number 2 using xhci_hcd
[   67.323491] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b9245448
[   67.323497] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b9245400
[   67.323500] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b9245490
[   67.323503] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b92454d8
[   67.323505] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b9245520
[   67.323508] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b9245568
[   67.323510] xhci_hcd 0000:04:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b92455b0
[   67.324119] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[   67.412925] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[   67.417905] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   67.418807] usbcore: registered new interface driver rt2800usb

lsusb

Bus 011 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 004: ID 2109:0701  
Bus 009 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb -v

Bus 011 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 009 Device 004: ID 2109:0701  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x2109 
  idProduct          0x0701 
  bcdDevice            1.07
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

Bus 009 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0608 Hub
  bcdDevice           32.98
  iManufacturer           0 
  iProduct                1 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12

Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 004 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x045e Microsoft Corp.
  idProduct          0x0039 IntelliMouse Optical
  bcdDevice            3.00
  iManufacturer           1 
  iProduct                3 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      72
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              10

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3 
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0

Bus 003 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x148f Ralink Technology, Corp.
  idProduct          0x5370 RT5370 Wireless Adapter
  bcdDevice            1.01
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           67
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              450mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           7
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3 
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           31
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
        bMaxBurst               0

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.16
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Unfortunately, I know very little about device management at the kernel level. Does anyone know what might be causing the problem?

Thanks.

Last edited by Gazok (2014-09-04 21:55:14)

Offline

#2 2014-09-03 08:21:34

wtx
Member
Registered: 2014-06-09
Posts: 82

Re: [Solved] usb err = -32 and -22 with GIGABYTE 990XA-UD3 motherboard

I think you can try using such option for kernel:
    usbcore.old_scheme_first=1

You can edit your grub.conf file and add this option.

Since the kernel 2.6.10 a new USB initialisation scheme has been introduced - so maybe the old one will work for you?


Regarding errors -32 and -22 - those are low-level errors and doesn't tell much to end user.
-32 means EPIPE (broken pipe)
-22 means EINVAL (invalid argument)

Offline

#3 2014-09-03 08:37:03

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: [Solved] usb err = -32 and -22 with GIGABYTE 990XA-UD3 motherboard

Do you have IOMMU support enabled in the BIOS? If not, try with IOMMU enabled.

Offline

#4 2014-09-03 10:03:58

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 501

Re: [Solved] usb err = -32 and -22 with GIGABYTE 990XA-UD3 motherboard

teekay wrote:

Do you have IOMMU support enabled in the BIOS? If not, try with IOMMU enabled.

And add iommu=soft or iommu=pt to your kernel command line. I have the same motherboard.

Offline

#5 2014-09-04 21:53:34

Gazok
Member
Registered: 2013-05-03
Posts: 6

Re: [Solved] usb err = -32 and -22 with GIGABYTE 990XA-UD3 motherboard

Thanks everyone, enabling IOMMU fixed it. I still don't know exactly what that means.

Buddlespit wrote:

And add iommu=soft or iommu=pt to your kernel command line. I have the same motherboard.

I don't seem to need to do this, though it might be a good idea? I don't know. I'll do some reading.

Thanks!

Offline

#6 2014-09-04 23:39:40

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 501

Re: [Solved] usb err = -32 and -22 with GIGABYTE 990XA-UD3 motherboard

Gazok wrote:

Thanks everyone, enabling IOMMU fixed it. I still don't know exactly what that means.

Buddlespit wrote:

And add iommu=soft or iommu=pt to your kernel command line. I have the same motherboard.

I don't seem to need to do this, though it might be a good idea? I don't know. I'll do some reading.

Thanks!

You may not need it. If you notice it slowing down any, take 'quiet' out of your kernel command line and see if you're getting page faults during boot.

Offline

#7 2014-09-05 07:06:19

wtx
Member
Registered: 2014-06-09
Posts: 82

Re: [Solved] usb err = -32 and -22 with GIGABYTE 990XA-UD3 motherboard

I'm wondering why enabling IOMMU fixed this problem. How IOMMU relates to USB problems? Could anyone explain that?

Offline

#8 2014-09-05 10:37:08

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: [Solved] usb err = -32 and -22 with GIGABYTE 990XA-UD3 motherboard

wtx wrote:

I'm wondering why enabling IOMMU fixed this problem. How IOMMU relates to USB problems? Could anyone explain that?

That's the big question one should ask the Gigabyte BIOS engineers. AFAIK it affects only 64bit 3.x kernels. 32bit 3.x and any 2.6.x kernels seem to be unaffected.

Offline

#9 2015-08-10 15:39:31

lmat
Member
Registered: 2015-08-10
Posts: 11

Re: [Solved] usb err = -32 and -22 with GIGABYTE 990XA-UD3 motherboard

I had the same problems. I read somewhere that I need to disable IOMMU on this motherboard (mine's actually ga 990 fxa-ud3), so I did that a long time ago when I first installed it. I have had USB woes ever since the board was installed. I've also had SATA problems which I worked around by plugging into an alternate port (this board has 6 which is many more than I need); perhaps these will work properly now, too? I've usually been able to get the keyboard up and going by plugging into different ports a few times.

So, after reading this thread, I enabled iommu in bios, and then the ethernet card didn't work (also got lots of device page faults). So I added iommu=soft to the kernel parameter line, and things seem to be working as expected.

According to https://www.kernel.org/doc/Documentatio … ptions.txt , it looks like iommu=soft effectively disables iommu. How ghetto that I have to enable it in BIOS only to disable it in kernel. That means that IOMMU is having a much larger effect than it should be having, which sounds like a BIOS bug to me. If anyone hears from Gigabyte on this, please update the thread. Thanks!

Last edited by lmat (2015-08-10 15:40:54)

Offline

Board footer

Powered by FluxBB