Re: QMI does not work in 3.10



On Thu, 2013-07-25 at 20:33 +0200, Simone Ferlin-Oliveira wrote:
Hi,
I know fixed one of the problems and can see /deb/cdc_wdm0 although I have
more than one modem o the same type - huawei E353 - I see only one cdc_wdm.
How can one check whether the modem is QMI-enabled (at^SETPORT?) and/or
verify it?

AFAIK you can't really check whether it's QMI-enabled or not, you just
have to ensure it has the right USB layout, try loading it with
qmi_wwan, and pray that it works.

What's the "lsusb -v -d 12d1:1506" output for it after its been
modeswitched?

Note that the "unknown symbol" stuff means that the qmi_wwan.ko you've
got doesn't work with your kernel (it probably needs a newer usbnet.ko
too) so it simply won't load.

Dan

On Thursday, July 25, 2013, Simone Ferlin-Oliveira wrote:

Hi,

I am using Huawei E353 and trying to enable QMI on these modems, although
I can connect to the provider, nothing happens under /dev/...

Is there something missing?

My output:

lsmod:
Module                  Size  Used by
qmi_wwan                7982  0
cdc_ncm                13942  0
cdc_ether               6658  0
usbnet                 28671  3 qmi_wwan,cdc_ncm,cdc_ether ***
ppp_async               7571  1
ppp_generic            24492  5 ppp_async
slhc                    5236  1 ppp_generic
option                 21303  2
usb_wwan                9753  1 option
usbserial              34260  5 option,usb_wwan
***qmi_wwan, cdc_ncm and cdc_ether were loaded with modprobe statically

lsusb and/or usb-modeswitch:
Bus 001 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
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
Bus 001 Device 003: ID 12d1:1506 Huawei Technologies Co., Ltd. E398
LTE/UMTS/GSM Modem/Networkcard

uname -a
Linux nne327 3.10.0norarm-gad89ba6-dirty #1 PREEMPT

ls -lh /dev/:
lrwxrwxrwx 1 root root           9 Jan  1  1970 MAKEDEV -> /bin/true
crw------T 1 root root     10, 134 Jan  1  1970 apm_bios
drwxr-xr-x 2 root root         600 Jan  1  1970 block
drwxr-xr-x 3 root root          60 Jan  1  1970 bus
drwxr-xr-x 2 root root        2.9K Jan  1  1970 char
crw------- 1 root root      5,   1 Jan  1  1970 console
crw------T 1 root root     10,  63 Jan  1  1970 cpu_dma_latency
drwxr-xr-x 6 root root         120 Jan  1  1970 disk
lrwxrwxrwx 1 root root          13 Jan  1  1970 fd -> /proc/self/fd
crw-rw-rwT 1 root root      1,   7 Jan  1  1970 full
lrwxrwxrwx 1 root root           7 Jan  1  1970 gsmmodem -> ttyUSB0
crw-r----T 1 root kmem      1,   2 Jan  1  1970 kmem
crw-r--r-T 1 root root      1,  11 Jan  1  1970 kmsg
(...)

and /var/log/syslog:
Jul 25 14:38:53 localhost kernel: [ 7323.515513] qmi_wwan: Unknown symbol
usbnet_change_mtu (err 0)
Jul 25 14:38:53 localhost kernel: [ 7323.515602] qmi_wwan: Unknown symbol
usbnet_open (err 0)
Jul 25 14:38:53 localhost kernel: [ 7323.515668] qmi_wwan: Unknown symbol
usbnet_get_ethernet_addr (err 0)
Jul 25 14:38:53 localhost kernel: [ 7323.515741] qmi_wwan: Unknown symbol
usbnet_tx_timeout (err 0)
Jul 25 14:38:53 localhost kernel: [ 7323.516576] qmi_wwan: Unknown symbol
usbnet_suspend (err 0)
Jul 25 14:38:53 localhost kernel: [ 7323.528748] qmi_wwan: Unknown symbol
usbnet_start_xmit (err 0)
Jul 25 14:38:53 localhost kernel: [ 7323.528826] qmi_wwan: Unknown symbol
usbnet_get_endpoints (err 0)
Jul 25 14:38:53 localhost kernel: [ 7323.538545] qmi_wwan: Unknown symbol
usbnet_stop (err 0)
Jul 25 14:38:53 localhost kernel: [ 7323.539280] qmi_wwan: Unknown symbol
usbnet_disconnect (err 0)
Jul 25 14:38:53 localhost kernel: [ 7323.545411] qmi_wwan: Unknown symbol
usbnet_probe (err 0)
Jul 25 14:38:53 localhost kernel: [ 7323.550667] qmi_wwan: Unknown symbol
usbnet_resume (err 0)

_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list




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