Number of USBs connected on a PC

0

I have a really "weird" question.

We have to connect a lot of USB's devices (Android phones) on a PC thus we are using three USB hubs (we are also using adapters to power the hubs) and three USB ports for the HUBS. We also use another USB port for keyboard and another one for the mouse.

The problem is that when I try to connect more than 15 phones on the hubs the PC become unstable. ( I tried first with Windows 7 and then CentOS as the host OS) Even if the devices perform really well on CentOS I cannot connect more than 15.

The question is:

How can I check if there is a hardware limitation regarding the number of USB devices I can connect to the PC? And if there is a limitation can I overcome it?

Finally, I would like to ask if there is any software that I can use to log/monitor any problems regarding the USB connection.

Thanks

glarkou

Posted 2012-10-06T17:01:19.347

Reputation: 131

2By desgin, you can connect a maximum of 128 devices (including hubs and a "USB root hub" on your motherboard) to a USB controller. I am not sure if all motherboards has this tested, but I guess recent versions of Windows and Linux should have this capability. I guess the problems could be caused by power shortage, buggy USB protocol implementation in the devices, faulty hubs or even buggy driver when handling multiple devices. Could you specify the model of your hubs and phones and if you have installed any relevant drivers. – billc.cn – 2012-10-06T17:26:39.160

1Can we get your system specs? – user88311 – 2012-10-06T17:32:04.973

A little clarification: If you have a second USB host controller, I believe you would get an additional 128 devices. Like these folks above said, each USB hub and controller are themselves devices, so each one uses a USB spot. – UtahJarhead – 2012-10-06T20:43:23.267

There are at least 3 constraints. (1) The USB protocol can only address 127 devices; you cannot "overcome" that. (2) The host PC has limits on the power delivered on each USB port; you have "overcome" that by using powered hubs. (3) The USBus is hosted by a single PC and has finite bandwidth; you cannot "overcome" that. IOW it's not just the number of connected USB devices, it's also about how much bus traffic each device requires before the host PC becomes overloaded/nonresponsive. Given that it's the PC that struggles, it's the PC capabilities that should be questioned, not USB capacity. – sawdust – 2012-10-06T20:46:06.507

@UtahJarhead - It's very likely that multiple USB host controllers are being used. (The PC mobo I'm using now has 4 USB controllers and 4 hubs, for a total of 8 USB ports.) Multiple USB controllers are good for the USB devices, since there'll be more USB bandwidth for each device. But it is a bigger I/O load for the PC. Win7 could allocate 20% of "System bandwidth" to "Enhanced" USB controllers and 10% to OpenHCD controllers, or potentially 60% of "System bandwidth" on my PC. – sawdust – 2012-10-06T21:30:31.507

What exactly do you mean with "unstable"? – CL. – 2012-10-07T15:33:55.647

Sorry for the late respond. The PC is a Lenovo ThinkCentre M90-5474 with i3 - 530 and 3 GB of Ram. The PC runs CentOS 6.3. USB Hub = Dlink DUB-H7 (http://images.amazon.com/images/G/01/electronics/detail-page/dubh7-2-071306.jpg) and HTC Hero,Desire,Desire S, Incredible S, Nexus S phones are connected to the PC through 3 of the Hubs. Afterwards, those mobile devices are mounted to a Remote Centos Server using VMWare Workstation

– glarkou – 2012-10-08T08:39:25.240

How many of the PC's USB ports have phones connected? If more than one, then try an experiment of using only one of the PC's ports and use more (external) hubs. If the PC was the bottleneck before, it should shift to USB bandwidth. – sawdust – 2012-10-09T23:48:59.437

Hm.. I will try that as well. All the USB ports have USB devices connected at the moment. – glarkou – 2012-10-10T15:03:35.380

No answers