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

Home Page Forums Network Management ZeroShell Lack of understanding (modprobe usbserial and two 3g modems)

This topic contains 2 replies, has 0 voices, and was last updated by  Paul_T 6 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #43375

    Paul_T
    Member

    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

    #52364

    bungjoe
    Member

    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. 🙁

    #52365

    bungjoe
    Member

    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,

    #52366

    Paul_T
    Member

    Hello,

    I found a way of doing it actually;

    ## 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

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.