www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Lack of understanding (modprobe usbserial and two 3g modems)

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
Paul_T



Joined: 08 Jun 2012
Posts: 3

PostPosted: Fri Jun 08, 2012 3:02 pm    Post subject: Lack of understanding (modprobe usbserial and two 3g modems) Reply with quote

Hello,

I do appologise as I find it hard to believe this hasn't been addressed elsewhere but I appear unable to find it.

As the usbserial module can only be loaded once, I'm having problems getting two usb modems working, they both work fine, even with both plugged in, just only the last one I run modprobe on ever shows ttyUSB devices.

I have an E173 and an E353, as mentioned, both work flawlessly individually, just haven't got the knowledge of how to create the ttyUSB devices for both of them simultaniously to continue my load balancing configuration.

Any assistance would be appriciated.

~Paul T
Back to top
View user's profile Send private message
bungjoe



Joined: 29 May 2012
Posts: 4

PostPosted: Sat Jun 09, 2012 3:08 am    Post subject: Reply with quote

Hi there, having the same problem here.

I didn't have a solution yet but someone at linux-usb@vger.kernel.org said that it's because the kernel is way too old and the driver you are binding the device to is the usbserial_generic whic is not supported for multiple bindings. he mention to upgrade the kernel to 3.4.xx or later.

but i don't know if its true or not, coz i don't know how to upgrade a kernel. so in the mean time i'll stick with only one modem. Sad
Back to top
View user's profile Send private message
bungjoe



Joined: 29 May 2012
Posts: 4

PostPosted: Sat Jun 09, 2012 9:01 am    Post subject: Reply with quote

Hi,

I have obtained another modem and its working now, you have to use a modems with a same vendor id and product id.

mine is EC1261-2 and when i plugged in the second one it's automaticaly detected and assigned the corresponding ttyUSB without having to modprobe the driver again, which is ttyUSB4-7. For now, i'll stick to this solution.

Now it is balancing my internet from the same provider, next time i'll use 2 different provider if one service is not enough.

Regards,
Back to top
View user's profile Send private message
Paul_T



Joined: 08 Jun 2012
Posts: 3

PostPosted: Sat Jun 09, 2012 10:26 am    Post subject: Reply with quote

Hello,

I found a way of doing it actually;

Code:
## T-Mobile USB 3G [ Huawei E173 ]
usb_modeswitch -v 0x12d1 -p 0x1c0b -V 0x12d1 -P 0x1c05 -M "55534243123456780000000000000011062000000100000000000000000000" -m 0x0f
modprobe usbserial vendor=0x12d1 product=0x1c05


## Three USB 3G [ Huawei E353 ]
usb_modeswitch -v 0x12d1 -p 0x1446 -V 0x12d1 -P 0x1506 -M "55534243123456780000000000000011062000000100000000000000000000" -n 1 -m 0x01
modprobe option
echo 12d1 1506 > /sys/bus/usb-serial/drivers/option1/new_id


Is the start-up script I'm using, and I have ttyUSB's for them both, ttyUSB0 all the way to ttyUSB7, where 0 and 3 are the actual modems I believe, I had the T-Mobile dongle connected for a short period before it dropped, but thats likely weather related as it's gotten quite bad here in the past 12 hours.

~Paul T
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group