Hi On 28.03.2017 05:35, Olivier Langlois wrote:
Hardware: HP Spectre 13 http://h10032.www1.hp.com/ctg/Manual/c05228576.pdf Kernel version: 4.10.6 SMP PREEMPT x86_64
Is this a new issue? was it working on some other kernel?
When I plug my usb storage on the USB 3.1 Gen1 port, the storage is working: [ 498.070841] usb 2-3: new SuperSpeed USB device number 2 using xhci_hcd [ 498.114368] usb-storage 2-3:1.0: USB Mass Storage device detected
...
but when I plug it on one of the 2 Thunderbolt port, I get:
<lots of PCI messages related to hoplugging xhci>
[ 352.851123] xhci_hcd 0000:37:00.0: xHCI Host Controller [ 352.851129] xhci_hcd 0000:37:00.0: new USB bus registered, assigned bus number 3 [ 352.852299] xhci_hcd 0000:37:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x00009810 [ 352.852566] hub 3-0:1.0: USB hub found [ 352.852575] hub 3-0:1.0: 2 ports detected [ 352.852749] xhci_hcd 0000:37:00.0: xHCI Host Controller [ 352.852753] xhci_hcd 0000:37:00.0: new USB bus registered, assigned bus number 4 [ 352.852915] hub 4-0:1.0: USB hub found [ 352.852923] hub 4-0:1.0: 2 ports detected [ 353.211414] usb 3-2: new high-speed USB device number 2 using xhci_hcd [ 353.351482] usb 3-2: device descriptor read/64, error -71 [ 353.611477] usb 3-2: device descriptor read/64, error -71 [ 353.871617] usb 3-2: new high-speed USB device number 3 using xhci_hcd
Odd that it tries to enumerate as high-speed. Might be because xHC controller is being hotplug added at device connect, and xhci driver adds USB2 hcd first, and usb3 hcd second. What happens if you first connect a high-speed USB device to the first Thunderbolt type-C Gen2 port, and then after a while when xhci driver is properly loaded plug in the SuperSpeed device to the second TB type-C gen2 port? Thomas Reifferscheid reported a similar issue recently. His device got detected as both high and superspeed at the same time if it was connected during boot http://marc.info/?l=linux-usb&m=148897296702314&w=2 He listed 3 workarounds, but I haven't yet had time to get into this issue in detail. -Mathias -- 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