- 論壇徽章:
- 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. 根據(jù)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.
或許讀“l(fā)inux那些事兒”被誤導(dǎo)了,
“是一個 usb 接口.這些口實際上就是所謂的 hub 口.而現(xiàn)實中經(jīng)常是讓一個 usb 控制器和一個
hub 綁定在一起,專業(yè)一點說叫集成,而這個 hub 也被稱作 root hub,換言之,和 usb 控制器綁定
在一起的 hub 就是系統(tǒng)中最根本的 hub,其它的 hub 可以連接到她這里,然后可以延伸出去,外接
別的設(shè)備,當(dāng)然也可以不用別的 hub,讓 usb 設(shè)備直接接到 root hub 上.hub 干嘛用的我們知道”
聽了那個"最根本的 hub" 感覺只有一個root hub,可能作者并不是想說只能有一個root hub,只是為了簡化問題 |
|