Problems to get valid location data with Sierra Wireless MC7455

Aleksander Morgado aleksander at aleksander.es
Thu Sep 20 11:14:55 UTC 2018


Hey Ulrich,

> I have a customer's i.MX6 based board that runs under a current Linux
> kernel and is equipped with a Sierra Wireless MC7455 LTE modem which is
> connected to an invalid SIM card (contract expired). Nevertheless I am
> of course able to successfully scan for available 3GPP networks and get
> what I expect. So far so good. The MC7455 additionally comes with GNSS
> support, but I am not able to persuade it to deliver valid location
> data.
>
> Here is my setup on the software side:
>
>     - Linux 4.18.3
>     - ModemManager 1.8.0 patched up to git revision 1b3b2e26a7ff
>     - libmbim 1.16.0 patched up to 1.17.3
>     - libqmi 1.18.0 patched up to 1.21.3
>
> When the system is booted, I can see the module being enumerated on the
> USB:
>
>     root at MP:~ lsusb -d 1199:
>     Bus 001 Device 003: ID 1199:9071 Sierra Wireless, Inc.
>
> The kernel comes up and successfully probes it, although it moans about
> invalid interface numbers:
>
>     root at MP:~ dmesg | grep -E "(usb 1-1.3:|qcserial |qmi_wwan )"
>     [    3.258854] usb 1-1.3: new high-speed USB device number 3 using ci_hdrc
>     [    3.410179] usb 1-1.3: config 1 has an invalid interface number: 8 but max is 4
>     [    3.417523] usb 1-1.3: config 1 has an invalid interface number: 10 but max is 4
>     [    3.424950] usb 1-1.3: config 1 has no interface number 1
>     [    3.430379] usb 1-1.3: config 1 has no interface number 4
>     [    3.438150] qcserial 1-1.3:1.0: Qualcomm USB modem converter detected
>     [    3.444908] usb 1-1.3: Qualcomm USB modem converter now attached to ttyUSB0
>     [    3.452591] qcserial 1-1.3:1.2: Qualcomm USB modem converter detected
>     [    3.459314] usb 1-1.3: Qualcomm USB modem converter now attached to ttyUSB1
>     [    3.466964] qcserial 1-1.3:1.3: Qualcomm USB modem converter detected
>     [    3.473703] usb 1-1.3: Qualcomm USB modem converter now attached to ttyUSB2
>     [    3.481504] qmi_wwan 1-1.3:1.8: cdc-wdm0: USB WDM device
>     [    4.910133] qmi_wwan 1-1.3:1.8 wwan0: register 'qmi_wwan' at usb-ci_hdrc.0-1.3, WWAN/QMI device, c6:44:84:34:fe:2f
>     [    4.928245] qmi_wwan 1-1.3:1.10: cdc-wdm1: USB WDM device
>     [    4.934630] qmi_wwan 1-1.3:1.10 wwan1: register 'qmi_wwan' at usb-ci_hdrc.0-1.3, WWAN/QMI device, c6:44:84:34:fe:2f
>
> ModemManager detects the modem
>
>     root at MP:~ mmcli --list-modems
>
>     Found 1 modems:
>         /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Incorporated] MC7455
>
> and delivers detailed information about it
>
>     root at MP:~ mmcli -m 0
>
>     /org/freedesktop/ModemManager1/Modem/0 (device id '537df516c8af51781fccbe316204f17a05a6225d')
>       -------------------------
>       Hardware |   manufacturer: 'Sierra Wireless, Incorporated'
>                |          model: 'MC7455'
>                |       revision: 'SWI9X30C_02.20.03.00 r6691 CARMD-EV-FRMWR2 2016/06/30 10:54:05'
>                |   H/W revision: '1.0'
>                |      supported: 'gsm-umts
>                |                  lte
>                |                  gsm-umts, lte'
>                |        current: 'gsm-umts, lte'
>                |   equipment id: '359072062219494'
>       -------------------------
>       System   |         device: '/sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1.3'
>                |        drivers: 'qcserial, qmi_wwan'
>                |         plugin: 'Sierra'
>                |   primary port: 'cdc-wdm0'
>                |          ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0 (qmi), cdc-wdm1 (qmi), wwan0 (net), wwan1 (net)'
>       -------------------------
>       Numbers  |           own : 'unknown'
>       -------------------------
>       Status   |           lock: 'sim-pin2'
>                | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'
>                |          state: 'enabled'
>                |    power state: 'on'
>                |    access tech: 'unknown'
>                | signal quality: '0' (cached)
>       -------------------------
>       Modes    |      supported: 'allowed: 2g, 3g, 4g; preferred: none'
>                |        current: 'allowed: 2g, 3g, 4g; preferred: none'
>       -------------------------
>       Bands    |      supported: 'utran-1, utran-3, utran-4, utran-5, utran-8, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8, eutran-12, eutran-13, eutran-20, eutran-25, eutran-41'
>                |        current: 'utran-1, utran-3, utran-4, utran-5, utran-8, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8, eutran-12, eutran-13, eutran-20, eutran-25, eutran-41'
>       -------------------------
>       IP       |      supported: 'ipv4, ipv6, ipv4v6'
>       -------------------------
>       3GPP     |           imei: '359072062219494'
>                |  enabled locks: 'none'
>                |    operator id: 'unknown'
>                |  operator name: 'unknown'
>                |   subscription: 'unknown'
>                |   registration: 'idle'
>                |    EPS UE mode: 'csps-2'
>                |            PCO:
>       -------------------------
>       SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'
>
>       -------------------------
>       Bearers  |          paths: 'none'
>
> Preparing it to deliver location data I get
>
>     root at MP:~ mmcli -m 0 --enable
>     successfully enabled the modem
>     root at MP:~ mmcli -m 0 --location-set-supl-server=supl.google.com
>     successfully set SUPL server address
>     root at MP:~ mmcli -m 0 --location-disable-3gpp --location-enable-gps-nmea --location-enable-gps-raw --location-enable-agps
>     successfully setup location gathering
>     root at MP:~ mmcli -m 0 --location-status
>
>     /org/freedesktop/ModemManager1/Modem/0
>       ----------------------------
>       Location |   capabilities: '3gpp-lac-ci, gps-raw, gps-nmea, agps'
>                |        enabled: 'gps-raw, gps-nmea, agps'
>                |        signals: 'no'
>       ----------------------------
>       GPS      |              refresh rate: '30'
>                |         A-GPS SUPL server: 'supl.google.com'
>                | supported assistance data: 'xtra'
>                |   assistance data servers: 'http://xtrapath1.izatcloud.net/xtra3grc.bin'
>                |                            'http://xtrapath2.izatcloud.net/xtra3grc.bin'
>                |                            'http://xtrapath3.izatcloud.net/xtra3grc.bin'
>     root at MP:~ mmcli -m 0 --location-get
>
>     /org/freedesktop/ModemManager1/Modem/0
>       -------------------------
>       3GPP location   | Not available
>       -------------------------
>       GPS NMEA traces | $GPGGA,,,,,,0,,,,,,,,*66
>                       | $GPGSA,A,1,,,,,,,,,,,,,,,*1E
>                       | $GPVTG,,T,,M,,N,,K,N*2C
>                       | $GPRMC,,V,,,,,,,,,,N*53
>       -------------------------
>       Raw GPS         | Not available
>       -------------------------
>       CDMA BS         | Not available
>
> but unfortunately: that's it - no valid location data is ever gathered!
>
> To make the picture complete, here is what the journal knows with
> respect to ModemManager:
>
>     root at MP:~ journalctl -u ModemManager.service
>     -- Logs begin at Thu 2018-02-01 00:00:01 UTC, end at Thu 2018-02-01 00:01:16 UTC. --
>     Feb 01 00:00:06 MP systemd[1]: Starting Modem Manager...
>     Feb 01 00:00:07 MP ModemManager[249]: <info>  ModemManager (version 1.9.0) starting in system bus...
>     Feb 01 00:00:08 MP ModemManager[249]: <warn>  [plugin manager] could not load plugin '/usr/lib/ModemManager/libmm-plugin-novatel-lte.so': initialization failed
>     Feb 01 00:00:09 MP systemd[1]: Started Modem Manager.
>     Feb 01 00:00:10 MP ModemManager[249]: [/dev/cdc-wdm0] Opening device with flags 'version-info, proxy'...
>     Feb 01 00:00:10 MP ModemManager[249]: [/dev/cdc-wdm0] loaded driver of cdc-wdm port: qmi_wwan
>     Feb 01 00:00:10 MP ModemManager[249]: cannot connect to proxy: Could not connect: Connection refused
>     Feb 01 00:00:10 MP ModemManager[249]: spawning new qmi-proxy (try 1)...
>     Feb 01 00:00:10 MP ModemManager[249]: [/dev/cdc-wdm1] Opening device with flags 'version-info, proxy'...
>     Feb 01 00:00:10 MP ModemManager[249]: [/dev/cdc-wdm1] loaded driver of cdc-wdm port: qmi_wwan
>     Feb 01 00:00:10 MP ModemManager[249]: cannot connect to proxy: Could not connect: Connection refused
>     Feb 01 00:00:10 MP ModemManager[249]: spawning new qmi-proxy (try 1)...
>     Feb 01 00:00:11 MP ModemManager[249]: cannot connect to proxy: Could not connect: Connection refused
>     Feb 01 00:00:11 MP ModemManager[249]: spawning new qmi-proxy (try 2)...
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1] Checking version info (10 retries)...
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0] Checking version info (10 retries)...
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1] QMI Device supports 33 services:
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    ctl (1.5)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    wds (1.67)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    dms (1.14)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    nas (1.25)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    qos (1.6)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    wms (1.10)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    auth (1.3)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    at (1.2)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    voice (2.1)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    cat2 (2.24)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    uim (1.45)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    pbm (1.4)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    test (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    loc (2.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    sar (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    ts (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    tmd (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    wda (1.16)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    csvt (1.1)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    coex (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    pdc (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    rfrpe (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    dsd (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    ssctl (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    unknown [0x2e] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    unknown [0x30] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    unknown [0x31] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    unknown [0x36] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    rms (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    unknown [0xf0] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    unknown [0xf3] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    unknown [0xf5] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm1]    unknown [0xf6] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0] QMI Device supports 33 services:
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    ctl (1.5)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    wds (1.67)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    dms (1.14)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    nas (1.25)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    qos (1.6)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    wms (1.10)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    auth (1.3)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    at (1.2)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    voice (2.1)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    cat2 (2.24)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    uim (1.45)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    pbm (1.4)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    test (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    loc (2.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    sar (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    ts (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    tmd (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    wda (1.16)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    csvt (1.1)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    coex (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    pdc (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    rfrpe (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    dsd (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    ssctl (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0x2e] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0x30] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0x31] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0x36] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    rms (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0xf0] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0xf3] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0xf5] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0xf6] (1.0)
>     Feb 01 00:00:11 MP ModemManager[249]: <info>  Couldn't check support for device '/sys/devices/soc0/soc/2000000.aips-bus/2094000.flexcan': not supported by any plugin
>     Feb 01 00:00:11 MP ModemManager[249]: <info>  Couldn't check support for device '/sys/devices/soc0/soc/2100000.aips-bus/2188000.ethernet': not supported by any plugin
>     Feb 01 00:00:26 MP ModemManager[249]: <info>  [device /sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1.3] creating modem with plugin 'Sierra' and '7' ports
>     Feb 01 00:00:26 MP ModemManager[249]: <warn>  Could not grab port (tty/ttyUSB1): 'Cannot add port 'tty/ttyUSB1', unhandled serial type'
>     Feb 01 00:00:26 MP ModemManager[249]: <info>  Modem for device '/sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/usb1/1-1/1-1.3' successfully created
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0] Opening device with flags 'version-info, proxy'...
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0] loaded driver of cdc-wdm port: qmi_wwan
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0] Checking version info (10 retries)...
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0] QMI Device supports 33 services:
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    ctl (1.5)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    wds (1.67)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    dms (1.14)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    nas (1.25)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    qos (1.6)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    wms (1.10)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    auth (1.3)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    at (1.2)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    voice (2.1)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    cat2 (2.24)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    uim (1.45)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    pbm (1.4)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    test (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    loc (2.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    sar (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    ts (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    tmd (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    wda (1.16)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    csvt (1.1)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    coex (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    pdc (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    rfrpe (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    dsd (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    ssctl (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0x2e] (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0x30] (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0x31] (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0x36] (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    rms (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0xf0] (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0xf3] (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0xf5] (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0]    unknown [0xf6] (1.0)
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0] Reading expected data format from: /sys/class/net/wwan0/qmi/raw_ip
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0] Allocating new client ID...
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0] Registered 'wda' (version 1.16) client with ID '1'
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0] Writing expected data format to: /sys/class/net/wwan0/qmi/raw_ip
>     Feb 01 00:00:26 MP ModemManager[249]: [/dev/cdc-wdm0] Reading expected data format from: /sys/class/net/wwan0/qmi/raw_ip
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Allocating new client ID...
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Releasing 'wda' client with flags 'release-cid'...
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Unregistered 'wda' client with ID '1'
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Registered 'dms' (version 1.14) client with ID '2'
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Allocating new client ID...
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Registered 'nas' (version 1.25) client with ID '3'
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Allocating new client ID...
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Registered 'wms' (version 1.10) client with ID '2'
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Allocating new client ID...
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Registered 'uim' (version 1.45) client with ID '2'
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Allocating new client ID...
>     Feb 01 00:00:27 MP ModemManager[249]: [/dev/cdc-wdm0] Registered 'loc' (version 2.0) client with ID '1'
>     Feb 01 00:00:28 MP ModemManager[249]: <warn>  couldn't load list of Own Numbers: 'Couldn't get MSISDN: QMI protocol error (16): 'NotProvisioned''
>     Feb 01 00:00:29 MP ModemManager[249]: <warn>  Couldn't get detailed info for PRI image with build ID '02.20.03.00_ATT': QMI protocol error (71): 'InvalidQmiCommand'
>     Feb 01 00:00:29 MP ModemManager[249]: <warn>  Couldn't get detailed info for PRI image with build ID '02.20.03.00_GENERIC': QMI protocol error (71): 'InvalidQmiCommand'
>     Feb 01 00:00:29 MP ModemManager[249]: <warn>  Couldn't get detailed info for PRI image with build ID '02.20.03.22_SPRINT': QMI protocol error (71): 'InvalidQmiCommand'
>     Feb 01 00:00:29 MP ModemManager[249]: <warn>  Couldn't get detailed info for PRI image with build ID '02.20.03.22_VERIZON': QMI protocol error (71): 'InvalidQmiCommand'
>     Feb 01 00:00:29 MP ModemManager[249]: <warn>  No valid firmware images listed. Assuming firmware unsupported.
>     Feb 01 00:00:29 MP ModemManager[249]: <info>  Modem: state changed (unknown -> disabled)
>     Feb 01 00:00:29 MP ModemManager[249]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled -> enabling)
>     Feb 01 00:00:31 MP ModemManager[249]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> enabled)
>     Feb 01 00:00:41 MP ModemManager[249]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (unknown -> idle)
>
> While just pasting ModemManager's log for the first time I stumbled
> across the second warning ("Could not grab port (tty/ttyUSB1): 'Cannot
> add port 'tty/ttyUSB1', unhandled serial type'"), and presumably this is
> the reason for not getting any location data as /dev/ttyUSB1 seems to be
> the source for GNSS information, right? So what am I doing wrong here?
>

That is not the issue, no. ttyUSB1 may be unhandled, because you're
really receiving all location information via QMI LOC service. If you
run MM in debug mode (with --debug) then you should see all QMI LOC
messages being reported every 1s with the NMEA traces reported by the
modem. You can see those NMEA traces in mmcli output (e.g. GPGGA...)
but the module isn't returning any location yet.

> Then there are additional QMI related warnings ending with "No valid
> firmware images listed. Assuming firmware unsupported." - could it be
> that they are somehow related? Do I have to flash a more current
> firmware?
>

Nah, don't think those are related.

> If this looks familiar to somebody I would be very glad to get a hint
> where to look deeper.
>

I assume that given that you don't have network connection, A-GPS may
not work at all, so you're really running with standalone GPS. Do you
have the GPS specific antenna connected to the module? Do you have
good satellite coverage?

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list