Sierra Wireless MC7750 / MM 0.7.990 / NM 0.9.8




Hi,

Please forgive me if this list is not an appropriate venue for my question. I'm trying to get an integrated 
Sierra Wireless MC7750 Modem (Verizon 4G LTE) up and running using the latest ModemManager (0.7/0.8), libqmi, 
and NetworkManager 0.9.8.

The modem works reliably on Windows.  I have also successfully gotten it to work (once!) on Linux, but the 
configuration failed to survive a reboot.  It currently gives the following error when I try to connect using 
NetworkManager:

kma bree ~ $ !nmcli
nmcli con up uuid 7a80b6d4-a52d-40c7-b279-7533422ff01e
Error: Connection activation failed: The connection was not a 3GPP2 connection.

This occurs very quickly, *as if* somehow Network Manager isn't even attempting to ask ModemManager to make 
the connection (but I don't actually know this).  It certainly doesn't cause ModemManager to spit out its own 
errors simultaneously.  (Both are logging debug level info).  I would expect to see complaints from 
ModemManager as well, but all I get is the NetworkManager error.

Any ideas how I managed to actually get a completely working configuration after installing updated package 
builds --- but before rebooting --- and nothing but this 3GPP2 connection activation error since?  
Unfortunately, one of the many things I tried doing after the reboot was deleting and re-creating the 4G LTE 
connection in nm-connection-editor.

As an aside, how can I tell if we're trying to go through QMI or AT commands?  Is there a way to force either 
one?  Is there a way to force a connection to a particular device in the system-connections directory?  Is it 
possible some USB devices got shuffled around after rebooting?

I have also managed to get the the WWAN network up once or twice without Network Manager as follows:

bree kma # more wwan_up.sh
#!/bin/sh
mmcli -m /org/freedesktop/ModemManager1/Modem/0 --set-allowed-modes=ANY --set-preferred-mode=3G
mmcli -m /org/freedesktop/ModemManager1/Modem/0 -e
qmi-network /dev/cdc-wdm0 start
dhclient -d -4 wwan0

bree kma # ./wwan_up.sh
successfully set allowed modes in the modem
successfully enabled the modem
Starting network with 'qmicli -d /dev/cdc-wdm0 --wds-start-network=  --client-no-release-cid'...
Saving state... (CID: 7)
Saving state... (PDH: 42752512)
Network started successfully
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wwan0/7a:03:21:3e:3c:26
Sending on   LPF/wwan0/7a:03:21:3e:3c:26
Sending on   Socket/fallback
DHCPREQUEST of 10.188.230.154 on wwan0 to 255.255.255.255 port 67
DHCPREQUEST of 10.188.230.154 on wwan0 to 255.255.255.255 port 67
DHCPNAK from 10.171.246.74
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 3
DHCPREQUEST of 10.171.246.73 on wwan0 to 255.255.255.255 port 67
DHCPOFFER of 10.171.246.73 from 10.171.246.74
DHCPACK of 10.171.246.73 from 10.171.246.74
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd reload

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload smbd
bound to 10.171.246.73 -- renewal in 3169 seconds.

----

However, this method is not reliable.

Modem Manager is clearly talking to the modem, as a sample of the following debug output indicates:

Mar 30 19:58:37 bree ModemManager[1006]: <debug> Signal strength (cdma-1xevdo): -99 dBm
Mar 30 19:58:37 bree ModemManager[1006]: <debug> Signal strength: -99 dBm --> 23%
Mar 30 19:58:37 bree ModemManager[1006]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: signal quality 
updated (23)
Mar 30 19:59:07 bree ModemManager[1006]: <debug> Running registration checks (CDMA1x: 'yes', EV-DO: 'yes')
Mar 30 19:59:07 bree ModemManager[1006]: [/dev/cdc-wdm0] Sent message...#012<<<<<< RAW:#012<<<<<<   length = 
13#012<<<<<<   data   = 01:0C:00:00:03:01:00:FB:00:24:00:00:00
Mar 30 19:59:07 bree ModemManager[1006]: [/dev/cdc-wdm0] Sent message (translated)...#012<<<<<< 
QMUX:#012<<<<<<   length  = 12#012<<<<<<   flags   = 0x00#012<<<<<<   service = "nas"#012<<<<<<   client  = 
1#012<<<<<< QMI:#012<<<<<<   flags       = "none"#012<<<<<<   transaction = 251#012<<<<<<   tlv_length  = 
0#012<<<<<<   message     = "Get Serving System" (0x0024)
Mar 30 19:59:07 bree ModemManager[1006]: <debug> loading signal quality...
Mar 30 19:59:07 bree ModemManager[1006]: [/dev/cdc-wdm0] Sent message...#012<<<<<< RAW:#012<<<<<<   length = 
13#012<<<<<<   data   = 01:0C:00:00:03:01:00:FC:00:20:00:00:00
Mar 30 19:59:07 bree ModemManager[1006]: [/dev/cdc-wdm0] Sent message (translated)...#012<<<<<< 
QMUX:#012<<<<<<   length  = 12#012<<<<<<   flags   = 0x00#012<<<<<<   service = "nas"#012<<<<<<   client  = 
1#012<<<<<< QMI:#012<<<<<<   flags       = "none"#012<<<<<<   transaction = 252#012<<<<<<   tlv_length  = 
0#012<<<<<<   message     = "Get Signal Strength" (0x0020)
Mar 30 19:59:07 bree ModemManager[1006]: [/dev/cdc-wdm0] Received message...#012>>>>>> RAW:#012>>>>>>   
length = 74#012>>>>>>   data   = 
01:49:00:80:03:01:02:FB:00:24:00:3D:00:02:04:00:00:00:00:00:23:01:00:02:21:05:00:02:02:00:00:00:1F:01:00:01:1E:01:00:00:17:03:00:10:F8:00:16:01:00:44:15:03:00:01:02:40:11:02:00:01:08:10:01:00:40:01:06:00:01:02:01:01:01:02
Mar 30 19:59:07 bree ModemManager[1006]: [/dev/cdc-wdm0] Received message (translated)...#012>>>>>> 
QMUX:#012>>>>>>   length  = 73#012>>>>>>   flags   = 0x80#012>>>>>>   service = "nas"#012>>>>>>   client  = 
1#012>>>>>> QMI:#012>>>>>>   flags       = "response"#012>>>>>>   transaction = 251#012>>>>>>   tlv_length  = 
61#012>>>>>>   message     = "Get Serving System" (0x0024)#012>>>>>> TLV:#012>>>>>>   type       = "Result" 
(0x02)#012>>>>>>   length     = 4#012>>>>>>   value      = 00:00:00:00#012>>>>>>   translated = 
SUCCESS#012>>>>>> TLV:#012>>>>>>   type       = "HDR Personality" (0x23)#012>>>>>>   length     = 1#012>>>>>> 
  value      = 02#012>>>>>>   translated = ehrpd#012>>>>>> TLV:#012>>>>>>   type       = "Detailed Service 
Status" (0x21)#012>>>>>>   length     = 5#012>>>>>>   value      = 02:02:00:00:00#012>>>>>>   translated = [ 
status = 'available' capability = 'ps' hdr_status = 'none' hdr_hybrid = 'no' forbidden = 'no' ]#012>>>>>> 
TLV:#012>>>>>>   type       = "PRL Indicator 3GPP2" (0x1f)#012>>>>>>   length     = 1#012>>>>>>   value      
= 01#012>>>>>>   translated = yes#012>>>>>> TLV:#012>>>>>>   type       = "Concurrent Service Info 3GPP2" 
(0x1e)#012>>>>>>   length     = 1#012>>>>>>   value      = 00#012>>>>>>   translated = no#012>>>>>> 
TLV:#012>>>>>>   type       = "Time Zone 3GPP2" (0x17)#012>>>>>>   length     = 3#012>>>>>>   value      = 
10:F8:00#012>>>>>>   translated = [ leap_seconds = '16' local_time_offset = '-8' daylight_saving_time = 'no' 
]#012>>>>>> TLV:#012>>>>>>   type       = "Default Roaming Indicator" (0x16)#012>>>>>>   length     = 
1#012>>>>>>   value      = 44#012>>>>>>   translated = (null)#012>>>>>> TLV:#012>>>>>>   type       = 
"Roaming Indicator List" (0x15)#012>>>>>>   length     = 3#012>>>>>>   value      = 01:02:40#012>>>>>>   
translated = { [0] = '[ radio_interface = 'cdma-1xevdo' roaming_indicator = '(null)' ] '}#012>>>>>> 
TLV:#012>>>>>>   type       = "Data Service Capability" (0x11)#012>>>>>>   length     = 2#012>>>>>>   value   
   = 01:08#012>>>>>>   translated = { [0] 
Mar 30 19:59:07 bree ModemManager[1006]: <debug> Processing CDMA info...
Mar 30 19:59:07 bree ModemManager[1006]: [/dev/cdc-wdm0] Received message...#012>>>>>> RAW:#012>>>>>>   
length = 25#012>>>>>>   data   = 01:18:00:80:03:01:02:FC:00:20:00:0C:00:02:04:00:00:00:00:00:01:02:00:9D:02
Mar 30 19:59:07 bree ModemManager[1006]: [/dev/cdc-wdm0] Received message (translated)...#012>>>>>> 
QMUX:#012>>>>>>   length  = 24#012>>>>>>   flags   = 0x80#012>>>>>>   service = "nas"#012>>>>>>   client  = 
1#012>>>>>> QMI:#012>>>>>>   flags       = "response"#012>>>>>>   transaction = 252#012>>>>>>   tlv_length  = 
12#012>>>>>>   message     = "Get Signal Strength" (0x0020)#012>>>>>> TLV:#012>>>>>>   type       = "Result" 
(0x02)#012>>>>>>   length     = 4#012>>>>>>   value      = 00:00:00:00#012>>>>>>   translated = 
SUCCESS#012>>>>>> TLV:#012>>>>>>   type       = "Signal Strength" (0x01)#012>>>>>>   length     = 2#012>>>>>> 
  value      = 9D:02#012>>>>>>   translated = [ strength = '-99' radio_interface = 'cdma-1xevdo' ]
Mar 30 19:59:07 bree ModemManager[1006]: <debug> Signal strength (cdma-1xevdo): -99 dBm
Mar 30 19:59:07 bree ModemManager[1006]: <debug> Signal strength: -99 dBm --> 23%
Mar 30 19:59:07 bree ModemManager[1006]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: signal quality 
updated (23)

---------

Finally, here's some basic system information...

Hardware:

Lenovo T430s Laptop
Sierra Wireless MC7750 integrated WWAN card (Verizon 4G LTE)

OS/Software:

Linux Mint 14 Nadia Mate Edition (based on Ubuntu 12.10 Quantal) with the following upgraded packages:

ii  libmm-glib0                                 0.7.990~git201303282148.3333-0~pkg191~quantal1 amd64        
D-Bus service for managing modems - shared libraries
ii  libmm-glib-dev                              0.7.990~git201303282148.3333-0~pkg191~quantal1 amd64        
D-Bus service for managing modems - development files
ii  libmm-glib-doc                              0.7.990~git201303282148.3333-0~pkg191~quantal1 all          
D-Bus service for managing modems - development files
ii  libqmi-glib0:amd64                          1.0-1~pre2~quantal                             amd64        
Support library to use the Qualcomm MSM Interface (QMI) protocol
ii  libqmi-glib-dev:amd64                       1.0-1~pre2~quantal                             amd64        
Header files for adding QMI support to applications that use glib
ii  libqmi-utils                                1.0-1~pre2~quantal                             amd64        
Utilities to use the QMI protocol from the command line
ii  linux-image-3.8.3-030803-generic            3.8.3-030803.201303141650                      amd64        
Linux kernel image for version 3.8.3 on 64 bit x86 SMP
ii  linux-image-extra-3.8.3-030803-generic      3.8.3-030803.201303141650                      amd64        
Linux kernel image for version 3.8.3 on 64 bit x86 SMP
ii  modemmanager                                0.7.990~git201303282148.3333-0~pkg191~quantal1 amd64        
D-Bus service for managing modems
ii  modemmanager-dbg                            0.7.990~git201303282148.3333-0~pkg191~quantal1 amd64        
D-Bus service for managing modems - debugging symbols
ii  modemmanager-dev                            0.7.990~git201303282148.3333-0~pkg191~quantal1 amd64        
D-Bus service for managing modems - development files
ii  modemmanager-doc                            0.7.990~git201303282148.3333-0~pkg191~quantal1 all          
D-Bus service for managing modems - development files
ii  network-manager                             0.9.8.0-0ubuntu2                               amd64        
network management framework (daemon and userspace tools)
ii  network-manager-dbg                         0.9.8.0-0ubuntu2                               amd64        
network management framework (debugging symbols)
ii  network-manager-dev                         0.9.8.0-0ubuntu2                               amd64        
network management framework (development files)
ii  network-manager-gnome                       0.9.8.0-1ubuntu3~mtrudel1                      amd64        
network management framework (GNOME frontend)
ii  network-manager-gnome-dbg                   0.9.8.0-1ubuntu3~mtrudel1                      amd64        
network management framework (debugging symbols)
ii  network-manager-pptp                        0.9.6.0-0ubuntu1                               amd64        
network management framework (PPTP plugin core)
ii  network-manager-pptp-gnome                  0.9.6.0-0ubuntu1                               amd64        
network management framework (PPTP plugin GNOME GUI)

bree kma # lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 114f:68a2 Wavecom 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 17ef:1003 Lenovo Integrated Smart Card Reader
Bus 001 Device 004: ID 147e:2020 Upek 
Bus 001 Device 005: ID 0a5c:21e6 Broadcom Corp. 
Bus 001 Device 006: ID 04f2:b2da Chicony Electronics Co., Ltd 
bree kma # dmesg | grep 3-4
[    1.387926] usb 3-4: new high-speed USB device number 2 using xhci_hcd
[    1.406252] usb 3-4: config 1 has an invalid interface number: 8 but max is 3
[    1.406254] usb 3-4: config 1 has no interface number 1
[    1.407814] usb 3-4: New USB device found, idVendor=114f, idProduct=68a2
[    1.407821] usb 3-4: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[    1.407827] usb 3-4: Product: MC7750
[    1.407838] usb 3-4: Manufacturer: Sierra Wireless, Incorporated
[    8.450084] qmi_wwan 3-4:1.8: cdc-wdm0: USB WDM device
[    8.450252] qmi_wwan 3-4:1.8 wwan0: register 'qmi_wwan' at usb-0000:00:14.0-4, WWAN/QMI device, 
7a:03:21:3e:3c:26
[    8.463360] qcserial 3-4:1.0: Qualcomm USB modem converter detected
[    8.463451] usb 3-4: Qualcomm USB modem converter now attached to ttyUSB0
[    8.466155] qcserial 3-4:1.2: Qualcomm USB modem converter detected
[    8.466278] usb 3-4: Qualcomm USB modem converter now attached to ttyUSB1
[    8.468310] qcserial 3-4:1.3: Qualcomm USB modem converter detected
[    8.468379] usb 3-4: Qualcomm USB modem converter now attached to ttyUSB2
bree kma # mmcli -L

Found 1 modems:
        /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Incorporated] MC7750

bree kma # uname -a
Linux bree 3.8.3-030803-generic #201303141650 SMP Thu Mar 14 20:51:08 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
bree kma # 

Thanks in advance for any help/advice!



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