Re: Huawei E3131 wwan interface, partial success?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all guys!
I discovered osmething very funny, something I wasn't expecting.
And when you'll read the story, for sure you will be in my same position! Let 
me know.

Relying on the immense knowledge and kindness of Bjorn and you all, I gathered 
some infos about the device who made my life extremely interesting, and not 
easy.

so - what protocol do you think it's embedded over ncm?
QMI?
<whatever>?
... the protocol seems to be AT.
Yes guys - AT! And I could never imagine it looking at the .c driver from 
Huawei right now. Yes, I'm not extremely acute. But, let's go to the technical 
thing: ndisdup works.


1 - Detecting connection
  I could not look at device leds, so I brought an AM radio near it. when I 
  give the ndisdup commad on the standard serial ports, nothing happen.
2 - Connecting to the network
  To connect to the network you use the normal ndisdup command over WDM.

At least in my case, the firmware became unstable, extremely unstable, after 
some minutes. The normal serial ports, and the at^statqry commands are not 
aware of what's happening, but the connection is activve. to confirm this, I 
can say that the modem emits
ndis^stats:...
unsolicited messages, and becomes hot after a while.

Here is what happens: echo is never activated on this at port, even with ATE1 
command.

Script started on Mon Jul  1 17:08:31 2013
KDGKBLED: Inappropriate ioctl for device ## don't worry, caused by setled
Error reading current flags setting. Maybe you are not on the console?
mrkiko@eeeadesso:/tmp$ sudo modprobe -r cdc_ncm
mrkiko@eeeadesso:/tmp$ sudo modprobe -f cdj
mrkiko@eeeadesso:/tmp$ sudo dmesg | tail
[  949.084335] usbcore: deregistering interface driver cdc_ncm
[  949.084405] cdc_ncm 3-2:1.1 wwan0: unregister 'cdc_ncm' usb-0000:00:1d.7-2, Mobile Broadband Network Device
[  975.807854] mii: module_layout: kernel tainted.
[  975.807873] Disabling lock debugging due to kernel taint
[  975.824301] usb 3-2: MAC-Address: ...not reporting
[  975.828761] cdc_ncm 3-2:1.1: cdc-wdm0: USB WDM device
[  975.829481] cdc_ncm 3-2:1.1 wwan0: register 'cdc_ncm' at usb-0000:00:1d.7-2, Mobile Broadband Network Device, not reporting
[  975.829616] usbcore: registered new interface driver cdc_ncm

And then, minicom
mrkiko@eeeadesso:/tmp$ sudo minicom -D /dev/cdc-wdm0
^RSSI: 19

^RSSI: 21

^RSSI: 22

^RSSI: 19

^RSSI: 17

^RSSI: 15

^RSSI: 17

^RSSI: 18

^RSSI: 17

^RSSI: 15

^RSSI: 14

^RSSI: 9

^RSSI: 15

^RSSI: 16

^RSSI: 13

^RSSI: 11

^RSSI: 18

^RSSI: 17

^RSSI: 16

^RSSI: 14

^RSSI: 17

^RSSI: 17

^RSSI: 17

^RSSI: 17

^RSSI: 18

^RSSI: 15

^RSSI: 17

^RSSI: 16

^RSSI: 17

^RSSI: 22

^RSSI: 20

^RSSI: 19

^RSSI: 17

^RSSI: 19

^RSSI: 20

^RSSI: 22

^MODE: 5,4

^RSSI: 8
<I wrote at+csq>


+CSQ: 8,99

OK
<I wrote at^ndisdup=1,1,"web.coopvoce.it">
OK

^NDISSTAT:0,33,,"IPV4"
<It failed because of network low coverage; I retrired.>.
OK
<Same story, I retried>
^NDISSTAT:0,33,,"IPV4"
<Same Story, tried again>
OK

^NDISSTAT:1,,,"IPV4"

^DSFLOWRPT:00000002,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000004,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000006,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000008,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000000A,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000000C,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000000E,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000010,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000012,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000014,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000016,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000018,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000001A,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000001C,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000001E,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000020,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000022,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000024,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000026,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000028,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000002A,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000002C,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000002E,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000030,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000032,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000034,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000036,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000038,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000003A,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000003C,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000003E,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000040,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000042,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000044,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000046,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000048,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000004A,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000004C,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000004E,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000050,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000052,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000054,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000056,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000058,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000005A,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000005C,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000005E,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000060,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000062,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000064,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000066,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000068,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000006A,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000006C,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000006E,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000070,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000072,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000074,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000076,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000078,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000007A,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000007C,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000007E,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000080,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000082,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000084,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000086,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:00000088,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

[ 1587.967595] cdc_ncm 3-2:1.1: unknown notification 42 received: index 1 len 8

^DSFLOWRPT:0000008A,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000008C,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000

^DSFLOWRPT:0000008E,00000000,00000000,0000000000000000,0000000000000000,00000000,00000000
<at^ndisdup=1,0>
OK

^NDISSTAT:0,,,"IPV4"

^HWVER:"CH2E303SM"

OK

Manufacturer: huawei
Model: E3131
Revision: 21.157.41.01.1037
IMEI: 862732016826443
+GCAP: +CGSM,+DS,+ES

OK


that said - I'm not able to bring up the wwan0 interface right now, but I think 
it's a problem with the drivers itself.

>From here on - I need help...

Thank you!!
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux