miniPCI USB 3.0 extension card on apalis T30

Hi,

I have installed minPCI USB 3.0 extension card on apalis T30 and Apalis Evaluation Board V1.1A under

Linux apalis-t30 3.1.10-g34c5824 #2 SMP PREEMPT Fri May 20 12:09:08 CEST 2016 armv7l GNU/Linux

system.

I can see this ports under lsusb command:

/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
|__ Port 1: Dev 18, If 0, Class=Mass Storage, Driver=usb-storage, 5000M

But when I connect any device to the USB I can see errors like this:

xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
xhci_hcd 0000:04:00.0: WARN: Stalled endpoint

[ 1267.912799] usb 4-1: Device not responding to set address.
[ 1268.122535] usb 4-1: device not accepting address 29, error -71
[ 1268.192350] hub 4-0:1.0: unable to enumerate USB device on port 1
[ 1268.412456] hub 4-0:1.0: unable to enumerate USB device on port 1
[ 1269.073083] usb 4-1: new SuperSpeed USB device number 32 using xhci_hcd
[ 1269.114135] xhci_hcd 0000:04:00.0: WARN: short transfer on control ep
[ 1274.268580] xhci_hcd 0000:04:00.0: WARN: transfer error on endpoint
[ 1274.275679] xhci_hcd 0000:04:00.0: WARN: transfer error on endpoint
[ 1274.303110] xhci_hcd 0000:04:00.0: WARN: transfer error on endpoint
[ 1274.309533] usb 4-1: New USB device found, idVendor=1409, idProduct=3013
[ 1274.316356] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

It seems like devices are not working properly. Is it any problem with USB 3.0 kernel driver, or something else?

I tested with a Transcend mini PCIe USB 3.0 Expansion card which has a Renesas controller and could see similar logs.

root@apalis-t30:~# lspci
00:00.0 PCI bridge: NVIDIA Corporation Tegra3+ PCIe x2 Bridge (rev a1)
01:00.0 PCI bridge: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch (rev ab)
02:01.0 PCI bridge: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch (rev ab)
02:02.0 PCI bridge: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch (rev ab)
02:03.0 PCI bridge: PLX Technology, Inc. PEX 8605 PCI Express 4-port Gen2 Switch (rev ab)
05:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
06:00.0 PCI bridge: NVIDIA Corporation Tegra3+ PCIe x2 Bridge (rev a1)
07:00.0 Ethernet controller: Intel Corporation Device 1531 (rev 03)

root@apalis-t30:~# dmesg | grep -i "xhci"
[   17.139653] xhci_hcd 0000:05:00.0: xHCI Host Controller
[   17.156635] xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 3
[   17.178748] xhci_hcd 0000:05:00.0: irq 130, io mem 0x10c00000
[   17.232150] usb usb3: Product: xHCI Host Controller
[   17.247046] usb usb3: Manufacturer: Linux 3.1.10-V2.6b2+g34c5824 xhci_hcd
[   17.291708] xHCI xhci_add_endpoint called for root hub
[   17.291778] xHCI xhci_check_bandwidth called for root hub
[   17.341612] xhci_hcd 0000:05:00.0: xHCI Host Controller
[   17.366251] xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 4
[   17.475557] usb usb4: Product: xHCI Host Controller
[   17.521297] usb usb4: Manufacturer: Linux 3.1.10-V2.6b2+g34c5824 xhci_hcd
[   17.559303] xHCI xhci_add_endpoint called for root hub
[   17.559313] xHCI xhci_check_bandwidth called for root hub
[   17.884198] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
[   17.915043] xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
[   17.925157] xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
[   17.935280] xhci_hcd 0000:05:00.0: WARN: short transfer on control ep
[   17.945286] xhci_hcd 0000:05:00.0: WARN: short transfer on control ep

However it does not show any problem with enumerating a Sony USB 3.0 device. Do enumeration errors occur on other devices as well?

Can you share the complete output of lsusb and lspci? Have you checked by transferring files to and from the device?