wwan-interface not being shown with sierra-modem-in-QMI-mode

Bjørn Mork bjorn at mork.no
Sun Aug 14 18:05:06 UTC 2016


qmicli will release all cids by default. Releasing the wds cid used to establish the connection will close it.


Bjørn

On August 14, 2016 2:38:36 PM CEST, Ajay Garg <ajaygargnsit at gmail.com> wrote:
>Hi All.
>
>I switched my modem into QMI-mode, and rebooted the SOC
>(Ubuntu-on-SSD-interfaced-with-modem.
>After reboot, following is the information ::
>
>
>== Pre-Requisites are in place ==
>
>############################################################
>root at logic-desktop:~# *lsusb*
>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>Bus 001 Device 005: ID 1199:68a2 Sierra Wireless, Inc.
>Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
>Bus 001 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
>Bus 001 Device 002: ID 046d:c31d Logitech, Inc. Media Keyboard K200
>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
>root at logic-desktop:~#* ps -aux | grep qmi-proxy*
>root       861  0.0  0.1  28032  5740 ?        Sl   17:44   0:00
>/usr/lib/libqmi/qmi-proxy
>root      2692  0.0  0.0   4692  2032 pts/0    S+   17:57   0:00 grep
>--color=auto qmi-proxy
>
>root at logic-desktop:~# *lsmod | grep sierra*
>
>root at logic-desktop:~# *lsmod | grep qcserial*
>qcserial               13006  0
>usb_wwan               19306  1 qcserial
>usbserial              38972  2 qcserial,usb_wwan
>
>root at logic-desktop:~# *lsmod | grep qmi_wwan*
>qmi_wwan               21469  0
>cdc_wdm                18518  1 qmi_wwan
>usbnet                 37829  1 qmi_wwan
>############################################################
>
>
>
>
>
>== Initial-Interface Listing ==
>
>############################################################
>root at logic-desktop:~# ifconfig
>eth1      Link encap:Ethernet  HWaddr 00:90:0b:4c:65:fa
>          UP BROADCAST MULTICAST  MTU:1500  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>          Memory:d0700000-d071ffff
>
>eth2      Link encap:Ethernet  HWaddr 00:90:0b:4c:65:fb
>         inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
>          inet6 addr: fe80::290:bff:fe4c:65fb/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:96 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:16999 (16.9 KB)  TX bytes:14453 (14.4 KB)
>          Memory:d0600000-d061ffff
>
>lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          inet6 addr: ::1/128 Scope:Host
>          UP LOOPBACK RUNNING  MTU:65536  Metric:1
>          RX packets:58 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:4150 (4.1 KB)  TX bytes:4150 (4.1 KB)
>############################################################
>
>
>
>
>
>== Connection-Establishment ==
>
>############################################################
>root at logic-desktop:~# *qmicli -d /dev/cdc-wdm0
>--wds-start-network="apn=airtelgprs.com <http://airtelgprs.com>"*
>[/dev/cdc-wdm0] Network started
>    Packet data handle: '25416552'
>
>root at logic-desktop:~# *qmicli -d /dev/cdc-wdm0
>--nas-get-signal-strength*
>[/dev/cdc-wdm0] Successfully got signal strength
>Current:
>    Network 'gsm': '-69 dBm'
>RSSI:
>    Network 'gsm': '-69 dBm'
>ECIO:
>    Network 'gsm': '-127.5 dBm'
>IO: '-106 dBm'
>SINR: (8) '9.0 dB'
>############################################################
>
>
>
>
>== Latest-Interface Listing ==
>
>############################################################
>root at logic-desktop:~# ifconfig
>eth1      Link encap:Ethernet  HWaddr 00:90:0b:4c:65:fa
>          UP BROADCAST MULTICAST  MTU:1500  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>          Memory:d0700000-d071ffff
>
>eth2      Link encap:Ethernet  HWaddr 00:90:0b:4c:65:fb
>         inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
>          inet6 addr: fe80::290:bff:fe4c:65fb/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:9142 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:7768 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:9357236 (9.3 MB)  TX bytes:1060556 (1.0 MB)
>          Memory:d0600000-d061ffff
>
>lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          inet6 addr: ::1/128 Scope:Host
>          UP LOOPBACK RUNNING  MTU:65536  Metric:1
>          RX packets:955 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:955 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:75461 (75.4 KB)  TX bytes:75461 (75.4 KB)
>############################################################
>
>
>
>What am I missing?
>
>Will be grateful for pointers.
>
>
>Thanks and Regards,
>Ajay
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>libqmi-devel mailing list
>libqmi-devel at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/libqmi-devel



More information about the libqmi-devel mailing list