Page 1 of 1
Huawei E173 : It WORKS! But How To Make It...
Posted: 13 Nov 2011, 20:44
by robson9776
Dear all,
I'm so happy because all my 5 (yes, I have FIVE) Huawei E-173 has been successfully detected and configured on my Ubuntu 11.10. just in case if you want to know, here's what I've done :
Code: Select all
$ lsusb | grep Huawei
Bus 002 Device 049: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem)
Bus 002 Device 048: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem)
Bus 002 Device 047: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem)
Bus 002 Device 046: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem)
Bus 002 Device 043: ID 12d1:140c Huawei Technologies Co., Ltd.
NOTE : I don't know why but from all Huawei E173 I have, there's one which have different ProductNumber that is 140c. It's kinda weird actually... because I saw some of them sometimes changed into 1001. somebody knows why this happen?
then enter this following codes :
Code: Select all
# Huawei E173
TargetVendor= 0x12d1
TargetProduct= 0x1446
DefaultVendor= 0x12d1
DefaultProduct=0x1446
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
save it, then execute this command :
NOTE : since I have 4 Huawei E173 attached, I have to execute that command 4 times also.
and when you see using this command :
you will find that your 3G modems are successfully recognized. unfortunately, this setting and configuration will be gone when you reboot / shut down your computer. my question is... how to make it still there...? thanks before
Posted: 13 Nov 2011, 20:53
by robson9776
wait a second.... I got an error here... seems that my modems are disconnected...
here's what I've got from
dmesg | grep tty
Code: Select all
[ 0.000000] console [tty0] enabled
[ 1.713898] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.714113] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 10.577135] usb 2-1.1.7: GSM modem (1-port) converter now attached to ttyUSB0
[ 10.577190] usb 2-1.1.7: GSM modem (1-port) converter now attached to ttyUSB1
[ 10.577243] usb 2-1.1.7: GSM modem (1-port) converter now attached to ttyUSB2
[ 15.402951] usb 2-1.1.1: GSM modem (1-port) converter now attached to ttyUSB3
[ 15.403153] usb 2-1.1.1: GSM modem (1-port) converter now attached to ttyUSB4
[ 15.403284] usb 2-1.1.1: GSM modem (1-port) converter now attached to ttyUSB5
[ 15.403413] usb 2-1.1.1: GSM modem (1-port) converter now attached to ttyUSB6
[ 114.678853] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB7
[ 114.680011] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB8
[ 114.680419] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB9
[ 152.539648] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB10
[ 152.541091] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB11
[ 152.541493] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB12
[ 163.285798] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB13
[ 163.286569] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB14
[ 163.286929] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB15
[ 197.983010] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 197.983236] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 197.983361] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 198.627304] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB7
[ 198.628336] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB8
[ 198.628757] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB9
[ 198.633416] option1 ttyUSB13: GSM modem (1-port) converter now disconnected from ttyUSB13
[ 198.633749] option1 ttyUSB14: GSM modem (1-port) converter now disconnected from ttyUSB14
[ 198.633943] option1 ttyUSB15: GSM modem (1-port) converter now disconnected from ttyUSB15
[ 199.057617] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB13
[ 199.058553] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB14
[ 199.058878] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB15
[ 199.646344] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 199.646467] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 199.646561] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 199.855043] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB7
[ 199.855449] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB8
[ 199.855973] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB9
[ 199.908573] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 199.908697] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 199.908814] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 200.105018] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB7
[ 200.105315] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB8
[ 200.105605] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB9
[ 200.130268] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 200.130374] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 200.130471] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 200.334610] option1 ttyUSB13: GSM modem (1-port) converter now disconnected from ttyUSB13
[ 200.334727] option1 ttyUSB14: GSM modem (1-port) converter now disconnected from ttyUSB14
[ 200.334866] option1 ttyUSB15: GSM modem (1-port) converter now disconnected from ttyUSB15
[ 200.611502] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB7
[ 200.612316] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB8
[ 200.612668] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB9
[ 200.658124] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 200.658235] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 200.658330] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 200.854607] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB7
[ 200.855112] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB8
[ 200.855393] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB9
[ 200.902710] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 200.902809] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 200.902902] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 201.317870] option1 ttyUSB10: GSM modem (1-port) converter now disconnected from ttyUSB10
[ 201.318010] option1 ttyUSB11: GSM modem (1-port) converter now disconnected from ttyUSB11
[ 201.318130] option1 ttyUSB12: GSM modem (1-port) converter now disconnected from ttyUSB12
[ 201.324156] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB7
[ 201.324880] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB8
[ 201.325250] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB9
[ 201.377082] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB10
[ 201.377443] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB11
[ 201.377723] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB12
[ 201.410082] option1 ttyUSB12: GSM modem (1-port) converter now disconnected from ttyUSB12
[ 201.410218] option1 ttyUSB11: GSM modem (1-port) converter now disconnected from ttyUSB11
[ 201.410352] option1 ttyUSB10: GSM modem (1-port) converter now disconnected from ttyUSB10
[ 201.602507] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB10
[ 201.602760] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB11
[ 201.603106] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB12
[ 201.754480] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB13
[ 201.754907] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB14
[ 201.755434] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB15
[ 201.757010] option1 ttyUSB15: GSM modem (1-port) converter now disconnected from ttyUSB15
[ 201.757139] option1 ttyUSB14: GSM modem (1-port) converter now disconnected from ttyUSB14
[ 201.757261] option1 ttyUSB13: GSM modem (1-port) converter now disconnected from ttyUSB13
[ 201.964495] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB13
[ 201.964837] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB14
[ 201.965138] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB15
[ 201.966527] option1 ttyUSB15: GSM modem (1-port) converter now disconnected from ttyUSB15
[ 201.966759] option1 ttyUSB14: GSM modem (1-port) converter now disconnected from ttyUSB14
[ 201.966890] option1 ttyUSB13: GSM modem (1-port) converter now disconnected from ttyUSB13
[ 202.208399] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB13
[ 202.208866] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB14
[ 202.209123] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB15
[ 202.349981] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 202.350105] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 202.350200] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 202.544672] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB7
[ 202.545156] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB8
[ 202.545609] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB9
[ 202.588519] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 202.588640] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 202.588758] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 202.774681] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB7
[ 202.775120] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB8
[ 202.775477] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB9
[ 202.803527] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 202.803647] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 202.803745] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 203.018467] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB7
[ 203.018859] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB8
[ 203.019190] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB9
[ 203.042611] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 203.042694] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 203.042780] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 210.241049] option1 ttyUSB15: GSM modem (1-port) converter now disconnected from ttyUSB15
[ 210.241150] option1 ttyUSB14: GSM modem (1-port) converter now disconnected from ttyUSB14
[ 210.241254] option1 ttyUSB13: GSM modem (1-port) converter now disconnected from ttyUSB13
[ 210.432497] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB7
[ 210.433013] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB8
[ 210.433304] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB9
[ 210.445647] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 210.445764] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 210.445846] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 210.632435] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB7
[ 210.632817] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB8
[ 210.633191] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB9
[ 210.635195] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 210.635307] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 210.635415] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 210.831244] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB7
[ 210.831564] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB8
[ 210.831843] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB9
[ 210.842693] option1 ttyUSB9: GSM modem (1-port) converter now disconnected from ttyUSB9
[ 210.842808] option1 ttyUSB8: GSM modem (1-port) converter now disconnected from ttyUSB8
[ 210.842921] option1 ttyUSB7: GSM modem (1-port) converter now disconnected from ttyUSB7
[ 211.042545] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB7
[ 211.042920] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB8
[ 211.043338] usb 2-1.1.6: GSM modem (1-port) converter now attached to ttyUSB9
[ 211.086938] option1 ttyUSB12: GSM modem (1-port) converter now disconnected from ttyUSB12
[ 211.087028] option1 ttyUSB11: GSM modem (1-port) converter now disconnected from ttyUSB11
[ 211.087107] option1 ttyUSB10: GSM modem (1-port) converter now disconnected from ttyUSB10
[ 211.272177] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB10
[ 211.272405] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB11
[ 211.272680] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB12
[ 211.286132] option1 ttyUSB12: GSM modem (1-port) converter now disconnected from ttyUSB12
[ 211.286216] option1 ttyUSB11: GSM modem (1-port) converter now disconnected from ttyUSB11
[ 211.286290] option1 ttyUSB10: GSM modem (1-port) converter now disconnected from ttyUSB10
[ 211.651927] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB10
[ 211.652338] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB11
[ 211.652696] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB12
[ 216.244344] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB13
[ 216.244873] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB14
[ 216.245384] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB15
[ 216.245699] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB16
[ 217.267007] option1 ttyUSB13: GSM modem (1-port) converter now disconnected from ttyUSB13
[ 217.267221] option1 ttyUSB14: GSM modem (1-port) converter now disconnected from ttyUSB14
[ 217.267315] option1 ttyUSB15: GSM modem (1-port) converter now disconnected from ttyUSB15
[ 217.267431] option1 ttyUSB16: GSM modem (1-port) converter now disconnected from ttyUSB16
[ 217.461157] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB13
[ 217.461508] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB14
[ 217.462054] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB15
[ 217.462473] usb 2-1.1.3: GSM modem (1-port) converter now attached to ttyUSB16
[ 219.238811] option1 ttyUSB12: GSM modem (1-port) converter now disconnected from ttyUSB12
[ 219.238916] option1 ttyUSB11: GSM modem (1-port) converter now disconnected from ttyUSB11
[ 219.239024] option1 ttyUSB10: GSM modem (1-port) converter now disconnected from ttyUSB10
[ 219.450333] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB10
[ 219.450715] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB11
[ 219.451473] usb 2-1.1.5: GSM modem (1-port) converter now attached to ttyUSB12
what's wrong with it? please help...
Posted: 13 Nov 2011, 23:00
by Josh
Generally, usb_modeswitch was not well suited for switching more than one modem at the time. Fortunately, I'm just about to change that.
If you want, you can test the coming version, it should improve things for you:
http://www.draisberghof.de/usb_modeswit ... st.tar.bz2
Just "make install", it's been tested on Ubuntu 11.10. If you don't have and don't want the "tcl" package installed, do "make install-static".
Posted: 13 Nov 2011, 23:03
by Josh
What has probably happened on your system is that usb_modeswitch may have been run five times, but all instances tried to handle the same device.
If you see 12d1:1446, the modem is still in install mode.
Posted: 14 Nov 2011, 16:58
by robson9776
forget about this error, it caused by my USB hub. lack of voltage, I think...
robson9776 wrote:wait a second.... I got an error here... seems that my modems are disconnected...
here's what I've got from
dmesg | grep tty
Code: Select all
[ ... lots of output ... edited for brevity ... ]
what's wrong with it? please help...
Posted: 14 Nov 2011, 17:02
by robson9776
Josh wrote:Generally, usb_modeswitch was not well suited for switching more than one modem at the time. Fortunately, I'm just about to change that.
If you want, you can test the coming version, it should improve things for you:
http://www.draisberghof.de/usb_modeswit ... st.tar.bz2
Just "make install", it's been tested on Ubuntu 11.10. If you don't have and don't want the "tcl" package installed, do "make install-static".
wow, thanks bro! I will take a try and inform you how's the result. but I have a little doubt, will it 'back to square one' after reboot / shut down just like before? Thanks!
Posted: 14 Nov 2011, 20:28
by Josh
robson9776 wrote:... it caused by my USB hub. lack of voltage, I think...
That's a classic:
even a single modem will most likely fail on an unpowered hub, and if you try to use more than one of these on a powered hub, make sure that every single one is provided with the full 500mA.
These things need all the power they can get.
Regarding shutdown/reboot, you can always save any files that you changed and/or reinstall the original package, right? I'm optimistic though that you will find the test version quite reliable.
Posted: 14 Nov 2011, 21:31
by Josh
Josh wrote: I'm optimistic though that you will find the test version quite reliable.
Just having written that, I discovered a stupid bug
Please load the test package again (it's updated) or set "EnableLogging" to 1 in usb_modeswitch.conf ...