Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
raspberian
Posts: 1
Joined: 13 Sep 2012, 01:24

Huawei umg1691 and automatic connect

Post by raspberian » 13 Sep 2012, 01:50

Hello,
I have a raspberry pi and t-mobile umg1691 with default as 12d1:1446. The question I have is more related to sakis3g, but their forum is down and I spent almost 1 week dealing with this to no avail :(

usb_modeswitch changes it to 12d1:1436 just fine, so I have:

Code: Select all

root@pwnpi:~# usb-devices 

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  9 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1436 Rev=00.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:  #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 1 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=ff Driver=cdc_ether
I:  If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:  If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
I:  If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
and later on I can connect via sakis3g to the cell network.

However I can not get it to connect automatically to 3g network every time device boots i.e. I need to power the raspberry pi and once OS finishes loading I want to be connected to 3g without any interaction.

I tried to follow http://www.sakis3g.org/versions/latest/ ... uplug.html guide and insert all my values, but no go. I tried to put sakis and usb_modeswitch udev rules in /etc/udev/rules.d/.... but not go, before that I tried to put usb_modeswitch in /etc/rc.local but no go.

How do I narrow down the problem? what particular logs can I take a look at? Is 12d1:1346 the correct mode? I got to 12d1:140c some time in the past, maybe thats my problem? Any help or ideas are welcome.

Thanks.

Post Reply