Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
roeeklinger60
Posts: 9
Joined: 16 Oct 2019, 10:22

Connecting multiple 4G USB modems to a USB hub

Post by roeeklinger60 » 28 Oct 2019, 12:00

Hey everyone,

So after a long period of trial and error I finally managed to get a multi 4G USB dongle set up working. I can successfully plug several USB modems to my PC’s ports, configure docker and a proxy server and get a proxy server for each modem.

My problem now is how to scale, I would like to run 10-30 4G USB modems per 1 PC and I can’t seem to figure out what USB hub to buy. Basically I will need a USB hub that will support 10-30 modems all connected to my 1 PC.

I was thinking about something like that: http://my.orico.cc/goods.php?id=6452
Will that work ? is there something I need to know about connecting multiple modems to a USB hub or will any hub work ?

Thanks a lot !

LOM
Posts: 1380
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Connecting multiple 4G USB modems to a USB hub

Post by LOM » 28 Oct 2019, 12:15

Read:
http://www.draisberghof.de/usb_modeswit ... f=3&t=2881

and google "usb host channel limitations" for EHCI (USB2) and for XHCI (USB3)

roeeklinger60
Posts: 9
Joined: 16 Oct 2019, 10:22

Re: Connecting multiple 4G USB modems to a USB hub

Post by roeeklinger60 » 28 Oct 2019, 14:32

LOM wrote:Read:
http://www.draisberghof.de/usb_modeswit ... f=3&t=2881

and google "usb host channel limitations" for EHCI (USB2) and for XHCI (USB3)
Thanks ! I have failed to find this using the search.

So, after doing some research, this is my understanding:
1.Figure out the amount of power that each modem consumes, and get a hub that at least supports that amount per port.
2.Figure out the amount of endpoints this hub requires, plus the amount that each modem requires, and make sure that my card supports it. or just split this up to several machine if it doesn't.

I am going to use Raspberry Pi's 4 for this project by the way.
Did I get this all right ? is there any else I should know ?

LOM
Posts: 1380
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Connecting multiple 4G USB modems to a USB hub

Post by LOM » 28 Oct 2019, 15:56

roeeklinger60 wrote: 2.Figure out the amount of endpoints this hub requires, plus the amount that each modem requires, and make sure that my card supports it. or just split this up to several machine if it doesn't.
google "usb host controller endpoint limit" instead and keep in mind that a usb modem with 4-5 interfaces has 10-12 endpoints.

I can't help you more than so, you'll have to do your own research.
This is only theoretical for me, I've never setup so many devices myself.

roeeklinger60
Posts: 9
Joined: 16 Oct 2019, 10:22

Re: Connecting multiple 4G USB modems to a USB hub

Post by roeeklinger60 » 29 Oct 2019, 10:56

LOM wrote:
roeeklinger60 wrote: 2.Figure out the amount of endpoints this hub requires, plus the amount that each modem requires, and make sure that my card supports it. or just split this up to several machine if it doesn't.
google "usb host controller endpoint limit" instead and keep in mind that a usb modem with 4-5 interfaces has 10-12 endpoints.

I can't help you more than so, you'll have to do your own research.
This is only theoretical for me, I've never setup so many devices myself.
Thanks a lot ! I will do my research.

Post Reply