3 ms·
> I looked at the USB 3 spec and couldn't find any guarantee that there was any number of devices you could plug into hubs and have it work. It's a controller
by magicalhippo 4y ago
> I looked at the USB 3 spec and couldn't find any guarantee that there was any number of devices you could plug into hubs and have it work.
It's a controller and/or BIOS limitation[1][2]. The complication is that while USB devices can be addressed using 7 bits = 127 devices total, each device usually creates more than one endpoint, and each endpoint consumes controller and system memory resources. The BIOS allocates the memory, and the amount is apparently hardcoded (guess a setting would be too difficult). If you have many USB 3 devices with a lot of endpoints, that memory runs out quickly.
In addition, each endpoint reserves some bandwidth, so the uplink needs to be able to provide that bandwidth.
[1]: https://community.intel.com/t5/Embedded-Intel-Core-Processors/Hardware-limitations-on-USB-endpoints-XHCI/m-p/264562/highlight/true#M2929 https://community.intel.com/t5/Embedded-Intel-Core-Processor...
[2]: https://borncity.com/win/2019/09/06/windows-10-not-enough-usb-controller-resources/#comment-11009 https://borncity.com/win/2019/09/06/windows-10-not-enough-us...
- glowingly 4y agoNow that you mention multiple endpoints, I noticed (admittedly, this is in USB1/2, which seems to be a totally separate system from USB3) my KB shows up as multiple HIDs. Probably for RGB and nkey rollover. But I wonder how it is implemented? Is there an internal hub (adding one more layer of hubs, ontop of whatever is done internally in my PC before the physical USB port - a lot, if lsusb/lspci-tree-list is to go by)?
- rasz 4y agoUSB Composite Device. for example https://www.tracesystemsinc.com/blog/composite-devices.html https://www.tracesystemsinc.com/blog/composite-devices.html