지금까지 Unix 도구를 사용하여 컴퓨터를 확인하면 lsusb
항상 물리적 포트 수만큼 USB 루트 허브가 있는 것 같습니다. 하지만 USB 루트 허브에 여러 개의 물리적 포트가 있을 수 있나요?
답변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