I have new 3g modem Huawei E171 (latest revision):
Code: Select all
Found modem : E171
Model : Huawei E171 (MTS Russia)
IMEI : 86149601*******
Serial NR. :
Firmware : 21.156.00.00.143
Compile date / time : Sep 30 2011 18:39:14
Dashboard version : UTPS21.003.28.22.143_MAC21.003.28.24.143
Chipset : Qualcomm
Voice feature : enabled
SIM Lock status : Locked (CardLock)
Wrong codes entered : 0 (unlock attempts left : 10)
Code: Select all
########################################################
# Huawei 12d1:14fe
DefaultVendor= 0x12d1
DefaultProduct=0x14fe
TargetClass=0xff
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
######################################################
I tried manually to switch the device:
Code: Select all
usb_modeswitch -v 0x12d1 -p 0x14fe -V 0x12d1 -P 0x1506 -M "55534243123456780000000000000011062000000100000000000000000000"
Code: Select all
root@OpenWrt:~# lsusb
Bus 001 Device 003: ID 12d1:1506 Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Code: Select all
root@OpenWrt:~# cat /proc/bus/usb/devices
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 1.02
S: Manufacturer=HUAWEI
S: Product=HUAWEI Mobile
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=02 Driver=(none)
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=03 Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I run dmesg, but modem not created in the system ttyUSB0, ttyUSB1, ttyUSB2
Code: Select all
root@OpenWrt:~# dmesg
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
usb 1-1: new high speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: usbfs: process 1065 (usb_modeswitch) did not claim interface 0 before use
usb 1-1: USB disconnect, address 2
ar71xx-wdt: enabling watchdog timer
usb 1-1: new high speed USB device using ar71xx-ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice
log dmesg with scsi:
Code: Select all
root@OpenWrt:~# dmesg
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
usb 1-1: new high speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: usbfs: process 1065 (usb_modeswitch) did not claim interface 0 before use
usb 1-1: USB disconnect, address 2
ar71xx-wdt: enabling watchdog timer
usb 1-1: new high speed USB device using ar71xx-ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: USB disconnect, address 3
usb 1-1: new high speed USB device using ar71xx-ehci and address 4
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: usbfs: process 1220 (usb_modeswitch) did not claim interface 0 before use
usb 1-1: usbfs: process 1235 (usb_modeswitch) did not claim interface 0 before use
SCSI subsystem initialized