- 论坛徽章:
- 0
|
All root hubs are assigned a unique number by the USB core. In our example, the root hub is called usb2, as it is the second root hub that was registered with the USB core. There is no limit on the number of root hubs that can be contained in a single system at any time.
ldd3上那么说。可以确定了是可以有多个叫root的hub。
自己的机子在windows下和linux下看到的都是5个root hub. 根据ldd3,在linux下每个都起了不同的名字
ls /sys/bus/usb/devices/
1-0:1.0 1-2 1-2:1.0 1-2:1.1 2-0:1.0 3-0:1.0 3-1 3-1:1.0 4-0:1.0 5-0:1.0 usb1 usb2 usb3 usb4 usb5
分别叫做usb1 usb2 usb3 usb4 usb5.
或许读“linux那些事儿”被误导了,
“是一个 usb 接口.这些口实际上就是所谓的 hub 口.而现实中经常是让一个 usb 控制器和一个
hub 绑定在一起,专业一点说叫集成,而这个 hub 也被称作 root hub,换言之,和 usb 控制器绑定
在一起的 hub 就是系统中最根本的 hub,其它的 hub 可以连接到她这里,然后可以延伸出去,外接
别的设备,当然也可以不用别的 hub,让 usb 设备直接接到 root hub 上.hub 干嘛用的我们知道”
听了那个"最根本的 hub" 感觉只有一个root hub,可能作者并不是想说只能有一个root hub,只是为了简化问题 |
|