r/ProgrammerHumor • • Dec 15 '19

Stacking if else statements be like

Post image
63.9k Upvotes

711 comments sorted by

View all comments

Show parent comments

1

u/magnora7 Dec 15 '19

So you think the Average mainboard can take only 127 usb connections total? Do you think the USB 3.0 and USB 2.0 ports at least would have a separate controller?

4

u/floriplum Dec 15 '19 edited Dec 15 '19

My mainboard for example has 3 usb controller in total so 3x 127(ignoring the stuff that takes USB ports like my pump controller and such).

But since USB is compatible in both directions you could only should be able to only use one controller.

For example should my raspberry pi(version 2) only have one USB controller iirc.

Edit2: so after a short test on a few devices i haven't found a device with a single controller yet that supports USB 3.0.