在电脑上接了一个usb hub,在usb hub上面的第一个接口插入了一个usb鼠标,第三个口插入一个usb硬盘。
同时,接了一个无线鼠标和键盘的usb无线适配器。
有如下信息:
lee@LEE:/sys/bus/usb/devices$ tree
.
|-- 1-0:1.0 -> ../../../devices/pci0000:00/0000:00:1a.7/usb1/1-0:1.0
|-- 1-1 -> ../../../devices/pci0000:00/0000:00:1a.7/usb1/1-1
|-- 1-1.1 -> ../../../devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.1
|-- 1-1:1.0 -> ../../../devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1:1.0
|-- 1-1.1:1.0 -> ../../../devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.1/1-1.1:1.0
|-- 1-1.3 -> ../../../devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.3
|-- 1-1.3:1.0 -> ../../../devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.3/1-1.3:1.0
|-- 2-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.7/usb2/2-0:1.0
|-- 3-0:1.0 -> ../../../devices/pci0000:00/0000:00:1a.0/usb3/3-0:1.0
|-- 4-0:1.0 -> ../../../devices/pci0000:00/0000:00:1a.1/usb4/4-0:1.0
|-- 5-0:1.0 -> ../../../devices/pci0000:00/0000:00:1a.2/usb5/5-0:1.0
|-- 6-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb6/6-0:1.0
|-- 6-1 -> ../../../devices/pci0000:00/0000:00:1d.0/usb6/6-1
|-- 6-1:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0
|-- 6-1:1.1 -> ../../../devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.1
|-- 7-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.1/usb7/7-0:1.0
|-- 8-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.2/usb8/8-0:1.0
|-- usb1 -> ../../../devices/pci0000:00/0000:00:1a.7/usb1
|-- usb2 -> ../../../devices/pci0000:00/0000:00:1d.7/usb2
|-- usb3 -> ../../../devices/pci0000:00/0000:00:1a.0/usb3
|-- usb4 -> ../../../devices/pci0000:00/0000:00:1a.1/usb4
|-- usb5 -> ../../../devices/pci0000:00/0000:00:1a.2/usb5
|-- usb6 -> ../../../devices/pci0000:00/0000:00:1d.0/usb6
|-- usb7 -> ../../../devices/pci0000:00/0000:00:1d.1/usb7
`-- usb8 -> ../../../devices/pci0000:00/0000:00:1d.2/usb8
|
其中,
|-- 1-1.1:1.0 -> ../../../devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.1/1-1.1:1.0
1-1.1:1.0 是usb鼠标的设备名称。根集线器-根集线器端口号1.usb hub端口号:配置号.接口号。
表示:先寻找根集线器1,然后找到根集线器的端口号1,再找到usb hub端口号1。
注意到:每个根集线器都有一个端口0,这个是用于配置usb设备专用的。
|-- 6-1:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0
|-- 6-1:1.1 -> ../../../devices/pci0000:00/0000:00:1d.0/usb6/6-1
6-1:1.0 和6-1:1.1一个表示无线鼠标,一个表示无线键盘。注意到:无线键盘和无线鼠标共用一个usb端口,只不过配置不一样而已。
阅读(3321) | 评论(0) | 转发(1) |