所以,我最近在电脑上添加了一个 USB3 卡,我认为一切都很好,Linux 检测到了它,但奇怪的是(或不是?)它显示为 2 个集线器
[ 2.086988] xhci_hcd 0000:07:00.0: xHCI Host Controller
[ 2.086996] xhci_hcd 0000:07:00.0: new USB bus registered, assigned bus number 2
[ 2.092364] xhci_hcd 0000:07:00.0: hcc params 0x014051cf hci version 0x100 quirks 0x00000010
[ 2.092561] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.092563] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.092564] usb usb2: Product: xHCI Host Controller
[ 2.092565] usb usb2: Manufacturer: Linux 4.9.0-3-amd64 xhci-hcd
[ 2.092566] usb usb2: SerialNumber: 0000:07:00.0
和
[ 2.092881] xhci_hcd 0000:07:00.0: xHCI Host Controller
[ 2.092884] xhci_hcd 0000:07:00.0: new USB bus registered, assigned bus number 3
[ 2.092921] ehci-pci 0000:00:1d.7: debug port 1
[ 2.095951] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.095965] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[ 2.095966] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.095967] usb usb3: Product: xHCI Host Controller
[ 2.095968] usb usb3: Manufacturer: Linux 4.9.0-3-amd64 xhci-hcd
[ 2.095969] usb usb3: SerialNumber: 0000:07:00.0
[ 2.096100] hub 3-0:1.0: USB hub found
[ 2.096116] hub 3-0:1.0: 4 ports detected
这与 lsusb 类似,显示两个设备均由 xhci 处理
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 3: Dev 5, If 0, Class=Mass Storage, Driver=uas, 480M
|__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/3p, 480M
|__ Port 1: Dev 11, If 0, Class=Mass Storage, Driver=uas, 480M
因此问题是,我的 USB3 硬盘报告支持超高速,但仅连接到 usb2(高速?)集线器。
这也显示在 dmesg 中
当连接时,我看到
[538663.101097] usb 2-4: new high-speed USB device number 6 using xhci_hcd
[538663.246919] usb 2-4: New USB device found, idVendor=0bc2, idProduct=ab44
[538663.246922] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[538663.246923] usb 2-4: Product: Backup+ Hub
[538663.246924] usb 2-4: Manufacturer: Seagate
[538663.246925] usb 2-4: SerialNumber: 01CB7196B0S3
[538663.248429] hub 2-4:1.0: USB hub found
[538663.248973] hub 2-4:1.0: 3 ports detected
[538664.169034] usb 2-4.1: new high-speed USB device number 11 using xhci_hcd
[538664.319996] usb 2-4.1: New USB device found, idVendor=0bc2, idProduct=ab38
[538664.319999] usb 2-4.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[538664.320000] usb 2-4.1: Product: Backup+ Hub BK
[538664.320001] usb 2-4.1: Manufacturer: Seagate
lsusb -v 外部硬盘显示它支持超高速
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
所以我不知道该怎么做。我的卡有缺陷吗?Linux 做错了什么吗?有没有办法强制它使用另一个“集线器”?