![USB 根集线器可以有多个物理端口吗?](https://linux22.com/image/132227/USB%20%E6%A0%B9%E9%9B%86%E7%BA%BF%E5%99%A8%E5%8F%AF%E4%BB%A5%E6%9C%89%E5%A4%9A%E4%B8%AA%E7%89%A9%E7%90%86%E7%AB%AF%E5%8F%A3%E5%90%97%EF%BC%9F.png)
到目前为止,当我使用 Unix 工具检查计算机时,lsusb
USB 根集线器的数量似乎总是与物理端口的数量一样多。但是一个USB Root Hub可以有多个物理端口吗?
答案1
lsusb -t
是的,请参阅我的系统上的输出:
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 1: Dev 2, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 9: Dev 4, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 5: Dev 6, If 0, Class=Vendor Specific Class, Driver=, 480M
|__ Port 5: Dev 6, If 1, Class=Vendor Specific Class, Driver=, 480M
|__ Port 10: Dev 5, If 1, Class=CDC Data, Driver=cdc_acm, 12M
|__ Port 10: Dev 5, If 0, Class=Communications, Driver=cdc_acm, 12M