SierraWireless MC7430

Aleksander Morgado aleksander at aleksander.es
Sun Dec 6 07:42:21 UTC 2020


Hey Marc,

> I am trying a new modem on my system and some weird things are happening.  Trying to get the gps to come up but its not being shown as available but the mm debug shows there is a port there.  Wondering how I can debug this to get it enabled ?
>
> ModemManager[248]: <debug> [000000040.585164] [plugin manager) task 0,ttyUSB1: started
> ModemManager[248]: <debug> [000000040.586050] [plugin manager] task 0,ttyUSB1: checking with plugin 'Sierra'
> ModemManager[248]: <debug> [000000040.587130] (Sierra) [ttyUSB1] probe required: 'at, qcdm'
> ModemManager[248]: <debug> [000000040.588107] (tty/ttyUSB1) GPS port detected
> ModemManager[248]: <debug> [000000040.588928] (tty/ttyUSB1) port is not AT-capable
> ModemManager[248]: <debug> [000000040.589703] (tty/ttyUSB1) port is not QCDM-capable
> ModemManager[248]: <debug> [000000040.590784] (tty/ttyUSB1) port probing finished: no more probings needed
>
> ModemManager[248]: <debug> [000000042.746064] AT port 'tty/ttyUSB2' flagged as primary
> ModemManager[248]: <debug> [000000042.746492] (ttyUSB2) type 'at' claimed by /sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1.2
> ModemManager[248]: <debug> [000000042.747188] (ttyUSB1) type 'gps' claimed by /sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1.2
> ModemManager[248]: <debug> [000000042.747802] (ttyUSB0) type 'qcdm' claimed by /sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1.2
> ModemManager[248]: <debug> [000000042.748239] (/sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1.2) tty/ttyUSB2 at (primary)
> ModemManager[248]: <debug> [000000042.748544] (/sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1.2) tty/ttyUSB2 data (primary)
> ModemManager[248]: <debug> [000000042.748879] (/sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1.2) tty/ttyUSB0 qcdm
> ModemManager[248]: <debug> [000000042.749150] (/sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1.2) tty/ttyUSB1 gps (nmea)
>
>
> # mmcli -m 0
>   --------------------------------
>   General  |            dbus path: /org/freedesktop/ModemManager1/Modem/0
>            |            device id: 386fa1053746e4f1364aeecc41fa83d11a968985
>   --------------------------------
>   Hardware |         manufacturer: Sierra Wireless, Incorporated
>            |                model: MC7430
>            |    firmware revision: SWI9X30C_02.24.05.06 r7040 CARMD-EV-FRMWR2 2017/05/19 06:23:09
>            |            supported: gsm-umts, lte
>            |              current: gsm-umts, lte
>            |         equipment id: XXXXXXXXX
>   --------------------------------
>   System   |               device: /sys/devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1.2
>            |              drivers: qcserial, qmi_wwan
>            |               plugin: Sierra
>            |         primary port: ttyUSB2
>            |                ports: wwan1 (unknown), ttyUSB0 (qcdm), ttyUSB2 (at),
>            |                       wwan0 (unknown), ttyUSB1 (gps)

I assume this is your own custom system build? If so, I think there's
some kernel driver missing because we're not seeing the cdc-wdm ports
associated to the wwan net ports. Do you have both the qmi-wwan and
the cdc-wdm kernel drivers enabled?

>   --------------------------------
>   Numbers  |                  own: +XXXXXX
>   --------------------------------
>   Status   |       unlock retries: sim-pin (3), sim-puk (10)
>            |                state: enabled
>            |          power state: on
>            |       signal quality: 0% (cached)
>   --------------------------------
>   Modes    |            supported: allowed: 2g, 3g, 4g; preferred: none
>            |              current: allowed: 2g, 3g, 4g; preferred: none
>   --------------------------------
>   IP       |            supported: ipv4, ipv6, ipv4v6
>   --------------------------------
>   3GPP     |                 imei: XXXXXXXX
>            |         registration: idle
>   --------------------------------
>   3GPP EPS | ue mode of operation: csps-2
>   --------------------------------
>   SIM      |            dbus path: /org/freedesktop/ModemManager1/SIM/0
>
>
>
> # mmcli -m 0 --location-status
>   ------------------------
>   Location | capabilities: 3gpp-lac-ci
>            |      enabled: 3gpp-lac-ci
>            |      signals: no
>
>
> Any pointers on how to change the gps port to be used correctly ?
>

The GPS support for these modules is not implemented in ModemManager
using the TTY port (even if the port is flagged as GPS);  it would be
possible to do so, it's just not implemented.

But we do allow QMI-based GPS management in the MC7455 in QMI mode,
using the QMI LOC service. We just need to detect the modem in QMI
mode, and for that we need the QMI control ports (cdc-wdm) to be
exposed by the system.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list