problems with huawei E3372 alias Telekom Speedstick V

Aleksander Morgado aleksander at aleksander.es
Fri Aug 29 01:40:55 PDT 2014


Hey,

On Thu, Aug 28, 2014 at 9:45 PM, Thomas Schäfer <tschaefer at t-online.de> wrote:
> Hi,
>
> I have problem to get a connection with that device. The device seems to
> switch to the correct mode:
>
> [  153.464197] usb 1-2: new high-speed USB device number 3 using ehci-pci
> [  153.579890] usb 1-2: New USB device found, idVendor=12d1, idProduct=14fe
> [  153.579905] usb 1-2: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [  153.579915] usb 1-2: Product: HUAWEI_MOBILE
> [  153.579924] usb 1-2: Manufacturer: HUAWEI_MOBILE
> [  153.579932] usb 1-2: SerialNumber: 0123456789ABCDEF
> [  153.652051] usb-storage 1-2:1.0: USB Mass Storage device detected
> [  153.652474] scsi host4: usb-storage 1-2:1.0
> [  153.652898] usbcore: registered new interface driver usb-storage
> [  154.446074] usb 1-2: USB disconnect, device number 3
> [  154.852229] usb 1-2: new high-speed USB device number 4 using ehci-pci
> [  154.967792] usb 1-2: New USB device found, idVendor=12d1, idProduct=1506
> [  154.967812] usb 1-2: New USB device strings: Mfr=1, Product=2,
> SerialNumber=0
> [  154.967825] usb 1-2: Product: HUAWEI_MOBILE
> [  154.967837] usb 1-2: Manufacturer: HUAWEI_MOBILE
> [  154.975473] usb-storage 1-2:1.3: USB Mass Storage device detected
> [  154.975804] scsi host5: usb-storage 1-2:1.3
> [  154.977286] usb-storage 1-2:1.4: USB Mass Storage device detected
> [  154.978833] scsi host6: usb-storage 1-2:1.4
> [  155.013359] usbcore: registered new interface driver usbserial
> [  155.013434] usbcore: registered new interface driver usbserial_generic
> [  155.013498] usbserial: USB Serial support registered for generic
> [  155.025204] usbcore: registered new interface driver cdc_wdm
> [  155.043458] usbcore: registered new interface driver option
> [  155.043541] usbserial: USB Serial support registered for GSM modem (1-port)
> [  155.045396] option 1-2:1.0: GSM modem (1-port) converter detected
> [  155.047310] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
> [  155.047436] option 1-2:1.1: GSM modem (1-port) converter detected
> [  155.050545] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
> [  155.056228] usbcore: registered new interface driver cdc_ncm
> [  155.075914] huawei_cdc_ncm 1-2:1.2: MAC-Address: 00:1e:10:1f:00:00
> [  155.075927] huawei_cdc_ncm 1-2:1.2: setting rx_max = 16384
> [  155.080539] huawei_cdc_ncm 1-2:1.2: cdc-wdm0: USB WDM device
> [  155.083579] huawei_cdc_ncm 1-2:1.2 wwan0: register 'huawei_cdc_ncm' at
> usb-0000:00:1d.7-2, Huawei CDC NCM device, 00:1e:10:1f:00:00
> [  155.084527] usbcore: registered new interface driver huawei_cdc_ncm
> [  155.979850] scsi 5:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31
> PQ: 0 ANSI: 2
> [  155.980632] scsi 5:0:0:0: Attached scsi generic sg1 type 5
> [  155.985131] scsi 6:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31
> PQ: 0 ANSI: 2
> [  155.986173] sd 6:0:0:0: Attached scsi generic sg2 type 0
> [  155.992715] sd 6:0:0:0: [sdb] Attached SCSI removable disk
> [  156.039610] sr 5:0:0:0: [sr0] scsi-1 drive
>
>
>
> T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  4 Spd=480  MxCh= 0
> D:  Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=12d1 ProdID=1506 Rev= 1.02
> S:  Manufacturer=HUAWEI_MOBILE
> S:  Product=HUAWEI_MOBILE
> C:* #Ifs= 5 Cfg#= 1 Atr=c0 MxPwr=  2mA
> I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=option
> E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=option
> E:  Ad=84(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
> E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> I:  If#= 2 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=huawei_cdc_ncm
> E:  Ad=86(I) Atr=03(Int.) MxPS=  16 Ivl=2ms
> I:* If#= 2 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=huawei_cdc_ncm
> E:  Ad=86(I) Atr=03(Int.) MxPS=  16 Ivl=2ms
> E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
> I:* If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
>
>
> Modemmanager recognizes it and it seems to be to be connected. But it isn't.
> Unfortunately I have no recent Modemmanager at my test-notebook, so I will
> present the logfile later.
>
> In Windows I have seen, that it uses AT-commands, ndisconn instead of ndisdup,
> but If I try it manually it doesn't work too.
>
> http://www.cis.uni-muenchen.de/~thomas/UsbSnoop-20140828.log.7z
>
> Maybe you have an idea.
>

Regarding NDISCONN instead of NDISDUP; Dan also had some questions
about that, see:
http://lists.freedesktop.org/archives/modemmanager-devel/2014-July/001414.html

One of the things you need to check with that modem is whether the
NDISDUP command is sent in the /dev/cdc-wdm port instead of in a TTY;
I believe that the modems handled by the huawei-cdc-ncm driver in the
kernel need to have the NDISDUP command in the same USB interface as
the WWAN port, which is what huawei-cdc-ncm allows to do.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list