This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB 2.0/3.0 xhci-hcd problem?

I would classify myself as a USB beginner with a lot to learn so any insight is greatly appreciated.

I am using the EMV5432 and the prebuilt GLSDK 6_03_00_01. I have modified the kernel arguments with this addition to add more buffers to the USB driver, which is necessary to stream frames from a USB3.0 camera.

usbcore.usbfs_memory_mb=1000

I have attached a USB 3.0 hub to the EVM USB 3.0 OTG port. The hub is a IOI Technology Corporation U3H414E that is identified as idVendor=0451, idProduct=8041 (the vendor is TI and the product ID indicates this is a hub). Per the IOI web site, the hub does not require a unique driver; it is supposed to work seamlessly with any OS with USB stack support.

When I do this, the kernel logs show that the system has recognized the hub as a super speed device. However, after it is recognized, the xhci-hdc driver is trying to enumerate the device as a high speed device and its failing. There are log entries created every 200 ms. Are these logs entries a problem and if so, how can it be corrected? My kernel logs are pasted below.

Here is what the system sees when no USB devices are attached:

root@omap5-evm:~# lsusb -t

/: Bus 03.Port 1: Dev 1, class="root_hub", Driver=xhci-hcd/1p, 5000M

/: Bus 02.Port 1: Dev 1, class="root_hub", Driver=xhci-hcd/1p, 480M
/: Bus 01.Port 1: Dev 1, class="root_hub", Driver=ehci-omap/3p, 480M
|__ Port 2: Dev 2, If 0, class="Hub", Driver=hub/3p, 480M
|__ Port 3: Dev 3, If 0, class="Vendor" Specific Class, Driver=smsc95xx, 480M

I also plugged my 3.0 USB hub into my Ubuntu 12.04 LTS laptop (also configured with the additional memory for the USB driver) and I see that the hub is enumerated by the high speed xhci-hcd driver as well as the super speed xhci-hcd driver.

Are there any known bugs with the xhci-hcd driver on the EVM5432?

Regards,

Joe

root@omap5-evm:~#

[ 76.069213] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 76.092315] usb 3-1: Parent hub missing LPM exit latency info. Power management will be impacted.
[ 76.102600] usb 3-1: New USB device found, idVendor=0451, idProduct=8041
[ 76.109741] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 76.127807] hub 3-1:1.0: USB hub found
[ 76.136749] hub 3-1:1.0: 4 ports detected
[ 76.209625] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 76.428100] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 76.646850] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 76.834411] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 77.084106] usb 2-1: new high-speed USB device number 6 using xhci-hcd
[ 77.091033] usb 2-1: Device not responding to set address.
[ 77.302886] usb 2-1: Device not responding to set address.
[ 77.513793] usb 2-1: device not accepting address 6, error -71
[ 77.576538] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 77.857543] usb 2-1: new high-speed USB device number 8 using xhci-hcd
[ 77.864471] usb 2-1: Device not responding to set address.
[ 78.076324] usb 2-1: Device not responding to set address.
[ 78.287200] usb 2-1: device not accepting address 8, error -71
[ 78.350036] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 78.568725] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 78.756225] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 78.943786] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 79.131225] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 79.380981] usb 2-1: new high-speed USB device number 14 using xhci-hcd
[ 79.388031] usb 2-1: Device not responding to set address.
[ 79.599853] usb 2-1: Device not responding to set address.
[ 79.810638] usb 2-1: device not accepting address 14, error -71
[ 79.873474] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 80.092163] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 80.279663] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 80.467224] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 80.716918] usb 2-1: new high-speed USB device number 19 using xhci-hcd
[ 80.723937] usb 2-1: Device not responding to set address.
[ 80.935699] usb 2-1: Device not responding to set address.
[ 81.146636] usb 2-1: device not accepting address 19, error -71
[ 81.209350] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 81.490356] usb 2-1: new high-speed USB device number 21 using xhci-hcd
[ 81.497406] usb 2-1: Device not responding to set address.
[ 81.709106] usb 2-1: Device not responding to set address.
[ 81.920013] usb 2-1: device not accepting address 21, error -71
[ 81.982818] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 82.201751] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 82.389038] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 82.576538] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 82.764068] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 82.982788] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 83.232604] usb 2-1: new high-speed USB device number 28 using xhci-hcd
[ 83.239624] usb 2-1: Device not responding to set address.
[ 83.451507] usb 2-1: Device not responding to set address.
[ 83.662200] usb 2-1: device not accepting address 28, error -71
[ 83.724975] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 83.943725] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 84.131286] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 84.318725] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 84.506225] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 84.693725] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 84.881225] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 85.068817] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 85.318481] usb 2-1: new high-speed USB device number 37 using xhci-hcd
[ 85.325500] usb 2-1: Device not responding to set address.
[ 85.537261] usb 2-1: Device not responding to set address.
[ 85.748138] usb 2-1: device not accepting address 37, error -71
[ 85.810913] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 86.091918] usb 2-1: new high-speed USB device number 39 using xhci-hcd
[ 86.098937] usb 2-1: Device not responding to set address.
[ 86.310699] usb 2-1: Device not responding to set address.
[ 86.521575] usb 2-1: device not accepting address 39, error -71
[ 86.584411] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 86.865417] usb 2-1: new high-speed USB device number 41 using xhci-hcd
[ 86.872528] usb 2-1: Device not responding to set address.
[ 87.084136] usb 2-1: Device not responding to set address.
[ 87.295013] usb 2-1: device not accepting address 41, error -71
[ 87.357788] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 87.638824] usb 2-1: new high-speed USB device number 43 using xhci-hcd
[ 87.645874] usb 2-1: Device not responding to set address.
[ 87.857635] usb 2-1: Device not responding to set address.
[ 88.068603] usb 2-1: device not accepting address 43, error -71
[ 88.131286] hub 2-0:1.0: unable to enumerate USB device on port 1
[ 88.287414] usb 3-1: USB disconnect, device number 2

  • Hi Joe,

    Did you ttry to power on your device with already connected device?

    Lets see if there is some impact with that particular scenario.

    Regards,

    Boyko

  • Thank you Boyko for the feedback.

    When I have the hub plugged into the EVM5432 and I power up the EVM5432, the system only recognizes the USB3.0 hub, not the USB 2.0 hub, in other words, same problem.

    I should explain an interesting point about the USB3.0 OTG port. I have connected the jumper J10 so that the software views the port as a host. However, with the jumper attached, the system does not see the hub. Once the EVM5432 is up and running, I can remove the jumper and all of a sudden, the 5432 sees the hub and enumerates the USB 3.0 super speed hub but not the USB 2.0 high speed hub. I am not sure why I have to remove the jumper to make the pre attached hub be seen. Is this behavior expected?

    Joe

  • Boyko or anyone else from TI,

    Is the problem I have described enumerating a TI USB 3.0 hub via the USB 3.0 port on the EVM5432 a bug, a configuration issue, or not supported?

    Joe

  • Hi Joe, I am trying to recreate your problem but with no success, I shall let you know if I get more information on that problem.

    Regards,

    Boyko