TUSB8041: The TUSB8041 USB3.0 hub is occasionally not recognized.

Part Number: TUSB8041
Other Parts Discussed in Thread: AM5718, TUSB8044A

Tool/software:

Hi,

On our board, TUSB8041 chip connects to AM5718 and is powered by on-board supply.

In a board stress test, USB3.0 flash drives were connected to downstream ports of TUSB8041, USB flash drive write/read test was performed, and then reboot the board for next round test.

Most of time during reboot, the 4-port USB3.0 hub feature of TUSB8041 could be recognized successfully, and flash drive was recognized as SuperSpeed device.

However, occasionally, 4-port USB 3.0 hub was not recognized, only USB 2.0 hub was recognized, and the USB3.0 flash drive was recognized as high-speed devices.

The log for one of such failure case is provided below.

Please propose what the possible cause of this issue is, as well as recommended solution.  Thanks,

[    1.564846] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19

[    1.573146] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.580405] usb usb1: Product: xHCI Host Controller

[    1.585817] usb usb1: Manufacturer: Linux 4.19.315-g13ecea8fab xhci-hcd

[    1.592456] usb usb1: SerialNumber: xhci-hcd.0.auto

[    1.625472] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.

[    1.633662] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19

[    1.642009] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.649269] usb usb2: Product: xHCI Host Controller

[    1.654164] usb usb2: Manufacturer: Linux 4.19.315-g13ecea8fab xhci-hcd

[    1.660810] usb usb2: SerialNumber: xhci-hcd.0.auto

[    1.703272] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19

[    1.711580] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.718838] usb usb3: Product: xHCI Host Controller

[    1.723734] usb usb3: Manufacturer: Linux 4.19.315-g13ecea8fab xhci-hcd

[    1.730379] usb usb3: SerialNumber: xhci-hcd.1.auto

[    1.763691] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.

[    1.771954] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19

[    1.780300] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    1.787594] usb usb4: Product: xHCI Host Controller

[    1.792489] usb usb4: Manufacturer: Linux 4.19.315-g13ecea8fab xhci-hcd

[    1.799185] usb usb4: SerialNumber: xhci-hcd.1.auto

[    1.812396] usbcore: registered new interface driver usb-storage

[    1.906282] usb 1-1: new high-speed USB device number 2 using xhci-hcd

[    2.095566] usb 1-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00

[    2.103777] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1

[    2.143622] usb 1-1: SerialNumber: 090000899906

[139291.004649] usb 1-1.1: new low-speed USB device number 3 using xhci-hcd

[139291.140194] usb 1-1.1: New USB device found, idVendor=03f0, idProduct=0d4a, bcdDevice= 2.07

[139291.148684] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0

[139291.157117] usb 1-1.1: Product: HP USB Keyboard

[139291.278482] input: HP USB Keyboard as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:03F0:0D4A.0001/input/input2

[139291.366018] hid-generic 0003:03F0:0D4A.0001: input,hidraw0: USB HID v1.10 Keyboard [HP USB Keyboard] on usb-xhci-hcd.0.auto-1.1/input0

[139291.385959] input: HP USB Keyboard System Control as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.1/1-1.1:1.1/0003:03F0:0D4A.0002/input/input3

[139291.465526] input: HP USB Keyboard Consumer Control as /devices/platform/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.1/1-1.1:1.1/0003:03F0:0D4A.0002/input/input4

[139291.484300] hid-generic 0003:03F0:0D4A.0002: input,hidraw1: USB HID v1.10 Device [HP USB Keyboard] on usb-xhci-hcd.0.auto-1.1/input1

[139291.498937] usbcore: registered new interface driver usbhid

[139291.509001] usbhid: USB HID core driver

[139364.697086] usb 1-1.1: USB disconnect, device number 3

[139367.554638] usb 1-1.1: new high-speed USB device number 4 using xhci-hcd

[139367.694165] usb 1-1.1: New USB device found, idVendor=ffff, idProduct=5678, bcdDevice= 2.00

[139367.702688] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[139367.711191] usb 1-1.1: Product: Disk 2.0

[139367.715718] usb 1-1.1: Manufacturer: USB

[139367.719744] usb 1-1.1: SerialNumber: 9207034574976631292

[139367.731535] usb-storage 1-1.1:1.0: USB Mass Storage device detected

[139367.742491] scsi host1: usb-storage 1-1.1:1.0

[139384.153008] usb 1-1.1: USB disconnect, device number 4

[139409.024636] usb 1-1.1: new high-speed USB device number 5 using xhci-hcd

[139409.395180] usb 1-1.1: Device not responding to setup address.

[139409.614681] usb 1-1.1: Device not responding to setup address.

[139409.834660] usb 1-1.1: device not accepting address 5, error -71

[139410.154647] usb 1-1.1: new high-speed USB device number 6 using xhci-hcd

[139410.289165] usb 1-1.1: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 1.10

[139410.297654] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[139410.306093] usb 1-1.1: Product: DataTraveler 3.0 

[139410.310818] usb 1-1.1: Manufacturer: Kingston

[139410.316104] usb 1-1.1: SerialNumber: 408D5CBF949DE731991900BC

[139410.326027] usb-storage 1-1.1:1.0: USB Mass Storage device detected

[139410.334450] scsi host1: usb-storage 1-1.1:1.0

[139418.201004] usb 1-1.1: USB disconnect, device number 6

 

device list when this happened

root:~# lsusb

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

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 002: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

device list for normal recognition

root:~# lsusb

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 001 Device 002: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Peng