Email or username:

Password:

Forgot your password?
Top-level
Biggles

@basisbit @da_667 @catsalad even then it is unreliable e.g. laptops like to build hubs into themselves (we have this problem with the work setups)

3 comments
basisbit 🦈🇪🇺🇺🇦

@Taco_lad @da_667 @catsalad
Usually I would not link to him, but.... LinusTechTips recently made a video explaining this a bit:
youtube.com/watch?v=hiwaxlttWo #usb

Agnieszka R. Turczyńska

@Taco_lad @basisbit @da_667 @catsalad I have shared the picture with a friend, and he answered: "You want to kill me". Then he shared the picture with his friends and get back to me with some informations. I will use that as an excuse to enlighten you. However, if you are already USB expert, you may safely skip to the end of this toot.

So, this is how it goes.
This is maximum you can achieve using those hubs. You can have 7 layers of devices in USB, however host and root count as a layer themselves. That lefts us 5 layers to use. Sometimes the device has a hub build inside, which takes another layer.

Each hub can have 7 ports at most, but because of reasons (unknown to me) hubs with more than 4 ports have two 4-ports chained together.

In theory, using the device tree as effectively as possible, one can connect 117,649 devices to the single controller, however there is a limit implemented in many of the controllers, as they can handle up to 128 devices.

Allegedly, the newest AMD chipsets can handle 512 devices.

So, this is what I've learned today. And if I need this knowledge even after, that means something went really, really wrong.

Enjoy your day, fellow nerdy people.

PS. Does anyone know a technique to remember the number 117,649?

@Taco_lad @basisbit @da_667 @catsalad I have shared the picture with a friend, and he answered: "You want to kill me". Then he shared the picture with his friends and get back to me with some informations. I will use that as an excuse to enlighten you. However, if you are already USB expert, you may safely skip to the end of this toot.

HansvR

@agturcz I would just remember it, but tomorrow I've forgotten your name.

Go Up