Problem connecting to LTE on from Ubuntu 20.04 in Canada on EM7455 module

Hello, I am unsure what the problem is but I cannot get connected to the network. My SIM has been activated and is inserted and yet it seems that ModemManager cannot find it?

OS: Ubuntu 20.04
Kernel: 5.15.0-1040-intel-iotg
Firmware:

!IMPREF:
preferred fw version: 02.33.03.00
preferred carrier name: GENERIC
preferred config name: GENERIC_002.072_001
preferred subpri index: 000
current fw version: 02.33.03.00
current carrier name: GENERIC
current config name: GENERIC_002.072_001
current subpri index: 000

When I run the ModemManager.service I get this output:

Oct 18 17:24:10 bison-ElkhartLake sudo[3690]:    bison : TTY=pts/1 ; PWD=/home/bison ; USER=root ; COMMAND=/usr/bin/systemctl start ModemManager.service
Oct 18 17:24:10 bison-ElkhartLake sudo[3690]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 18 17:24:10 bison-ElkhartLake systemd[1]: Starting Modem Manager...
Oct 18 17:24:10 bison-ElkhartLake ModemManager[3693]: <info>  ModemManager (version 1.18.6) starting in system bus...
Oct 18 17:24:10 bison-ElkhartLake systemd[1]: Started Modem Manager.
Oct 18 17:24:10 bison-ElkhartLake sudo[3690]: pam_unix(sudo:session): session closed for user root
Oct 18 17:24:10 bison-ElkhartLake NetworkManager[675]: <info>  [1697671450.7313] modem-manager: ModemManager now available
Oct 18 17:24:12 bison-ElkhartLake ModemManager[3693]: opening device...
Oct 18 17:24:12 bison-ElkhartLake ModemManager[3693]: cannot connect to proxy: Could not connect: Connection refused
Oct 18 17:24:12 bison-ElkhartLake ModemManager[3693]: spawning new mbim-proxy (try 1)...
Oct 18 17:24:12 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 4096
Oct 18 17:24:13 bison-ElkhartLake ModemManager[3693]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.1/0000:0a:00.0': not supported by any plugin
Oct 18 17:24:13 bison-ElkhartLake ModemManager[3693]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.2/0000:0b:00.0': not supported by any plugin
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: <info>  [cdc-wdm0/mbim] MBIM device is not QMI capable
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] channel destroyed
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: <info>  [device /sys/devices/pci0000:00/0000:00:14.0/usb1/1-8] creating modem with plugin 'sierra' and '4' ports
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: <info>  [base-manager] modem for device '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8' successfully created
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: opening device...
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 4096
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Opening device with flags 'version-info, proxy, mbim, expect-indications'...
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] created endpoint
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] creating MBIM device...
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] MBIM device created
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] opening MBIM device...
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: opening device...
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 4096
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] MBIM device open
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Checking version info (15 retries)...
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] QMI Device supports 34 services:
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    ctl (1.5)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    wds (1.67)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    dms (1.14)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    nas (1.25)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    qos (1.6)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    wms (1.10)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    auth (1.3)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    at (1.2)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    voice (2.1)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    cat2 (2.24)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    uim (1.45)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    pbm (1.4)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    test (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    loc (2.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    sar (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    ts (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    tmd (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    wda (1.16)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    csvt (1.1)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    coex (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    pdc (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    rfrpe (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    dsd (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    ssctl (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    unknown [0x2e] (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    unknown [0x30] (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    unknown [0x31] (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    unknown [0x36] (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    rms (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    unknown [0xf0] (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    unknown [0xf3] (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    unknown [0xf5] (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    unknown [0xf6] (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0]    unknown [0xfc] (1.0)
Oct 18 17:24:15 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Enabling QMI indications via MBIM...
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] enabled QMI indications via MBIM
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: <info>  [modem0/cdc-wdm0/mbim] MBIM device is QMI capable
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Allocating new client ID...
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Registered 'dms' (version 1.14) client with ID '3'
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Allocating new client ID...
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Registered 'nas' (version 1.25) client with ID '4'
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Allocating new client ID...
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Registered 'loc' (version 2.0) client with ID '1'
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Allocating new client ID...
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: [/dev/cdc-wdm0] Registered 'pdc' (version 1.0) client with ID '4'
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: <info>  [modem0] QMI-based capability and mode switching support enabled
Oct 18 17:24:16 bison-ElkhartLake ModemManager[3693]: <warn>  [modem0] couldn't query SIM slots: NoDeviceSupport
Oct 18 17:24:22 bison-ElkhartLake kernel: [UFW BLOCK] IN=enp10s0 OUT= MAC=01:00:5e:00:00:01:10:3c:59:13:64:ed:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=6649 PROTO=2 
Oct 18 17:24:29 bison-ElkhartLake ModemManager[3693]: <info>  [modem0] state changed (unknown -> locked)
Oct 18 17:24:29 bison-ElkhartLake ModemManager[3693]: <warn>  [modem0] modem couldn't be initialized: Couldn't check unlock status: SIM not inserted
Oct 18 17:24:29 bison-ElkhartLake ModemManager[3693]: <info>  [modem0] state changed (locked -> failed)
Oct 18 17:24:29 bison-ElkhartLake NetworkManager[675]: <info>  [1697671469.7520] device (cdc-wdm0): state change: unmanaged -> unavailable (reason 'none', sys-iface-state: 'external')
Oct 18 17:24:29 bison-ElkhartLake NetworkManager[675]: <info>  [1697671469.7569] device (cdc-wdm0): modem state 'failed'
Oct 18 17:24:29 bison-ElkhartLake NetworkManager[675]: <info>  [1697671469.7577] manager: (cdc-wdm0): new Broadband device (/org/freedesktop/NetworkManager/Devices/9)
Oct 18 17:24:29 bison-ElkhartLake NetworkManager[675]: <info>  [1697671469.7644] modem-broadband[cdc-wdm0]: failed to retrieve SIM object: No SIM object available

Obviously it cannot find the SIM card… but I do not know why. The SIM is from EIOTCLUB and I ahve activated / tested it in a phone, where it works fine.

Here is my GSTATUS output:

!GSTATUS: 
Current Time:  1487             Temperature: 45
Reset Counter: 2                Mode:        ONLINE         
System mode:   WCDMA            PS state:    Not attached 
WCDMA band:    WCDMA 1700 
WCDMA channel: 1987
GMM (PS) state:DEREGISTERED     NO IMSI        
MM (CS) state: IDLE             NO IMSI        
WCDMA L1 state:L1M_PCH_SLEEP    LAC:           5E24 (24100)
RRC state:   DISCONNECTED       UTRAN Cell ID: 001FAADD (2075357)
RxM RSSI C0:   -78              RxD RSSI C0:  --- 
RxM RSSI C1:    ---             RxD RSSI C1:  --- 

mmcli outputs the following:

  -----------------------------
  General  |              path: /org/freedesktop/ModemManager1/Modem/0
           |         device id: 583cee470daeed03a88c36048748090d72875837
  -----------------------------
  Hardware |      manufacturer: Sierra Wireless, Incorporated
           |             model: Sierra Wireless EM7455 Qualcomm® Snapdragon™ X7 LTE-A
           | firmware revision: SWI9X30C_02.33.03.00
           |    carrier config: default
           |      h/w revision: EM7455
           |         supported: gsm-umts, lte
           |           current: gsm-umts, lte
           |      equipment id: 359820320798141
  -----------------------------
  System   |            device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-8
           |           drivers: qcserial, cdc_mbim
           |            plugin: sierra
           |      primary port: cdc-wdm0
           |             ports: cdc-wdm0 (mbim), ttyUSB0 (qcdm), ttyUSB1 (at), wwan0 (net)
  -----------------------------
  Status   |             state: failed
           |     failed reason: sim-missing
           |       power state: on
           |    signal quality: 0% (cached)
  -----------------------------
  Modes    |         supported: allowed: 3g; preferred: none
           |                    allowed: 4g; preferred: none
           |                    allowed: 3g, 4g; preferred: 4g
           |                    allowed: 3g, 4g; preferred: 3g
           |           current: allowed: any; 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-26, eutran-29, 
           |                    eutran-30, eutran-41
  -----------------------------
  IP       |         supported: ipv4, ipv6, ipv4v6

Any advice or help would be greatly appreciated. Let me know if I can provide any additional debug details?

What are the return of the following AT commannds?

Ati3
At!entercnd=“A710”
At+cfun?
At+cpin?
At+cgdcont?
At!gstatus?
At!selrat?
At!band?
At!usbcomp?
At!uims?

Ati3

Manufacturer: Sierra Wireless, Incorporated
Model: EM7455
Revision: SWI9X30C_02.33.03.00 r8209 CARMD-EV-FRMWR2 2019/08/28 20:59:30
MEID: 35982032079814
IMEI: 359820320798141
IMEI SV: 20
FSN: LF202311010110
+GCAP: +CGSM

At!entercnd=“A710”

OK

At+cfun?

+CFUN: 1

At+cpin?

+CPIN: READY

At+cgdcont?

+CGDCONT: 1,"IP","mobile","0.0.0.0",0,0,0,0

At!gstatus?

!GSTATUS: 
Current Time:  688              Temperature: 45
Reset Counter: 3                Mode:        ONLINE         
System mode:   LTE              PS state:    Attached     
LTE band:      B4               LTE bw:      20 MHz  
LTE Rx chan:   2050             LTE Tx chan: 20050
LTE CA state:  NOT ASSIGNED
EMM state:     Registered       Normal Service 
RRC state:     RRC Idle       
IMS reg state: No Srv  

PCC RxM RSSI:  -68              RSRP (dBm):  -111
PCC RxD RSSI:  -73              RSRP (dBm):  -116
Tx Power:      --               TAC:         7F58 (32600)
RSRQ (dB):     -20.0            Cell ID:     06431506 (105059590)
SINR (dB):     -10.6
OK

At!selrat?

!SELRAT: 00, Automatic

At!band?

Index, Name,                        GW Band Mask     L Band Mask      TDS Band Mask
00, All bands,                      0002000007C00000 00000100330818DF 0000000000000000

At!usbcomp?

Config Index: 1
Config Type:  1 (Generic)
Interface bitmask: 00001009 (diag,modem,mbim) 

At!uims?

!UIMS: 1

Things I’ve Tried

I am using UIMS 1 because that is what is specified by my device provider as explained here (NWK200 Linux Setup Guide - OnLogic Support)

I have also tried using MBIM mode by running AT!USBCOMP=1,1,1009 which actually does change things, though I’m not sure if it’s for the better… This is me output after running ModemManager.service under this configuration:

bison@bison-ElkhartLake:~$ mmcli -m 0
  --------------------------------
  General  |                 path: /org/freedesktop/ModemManager1/Modem/0
           |            device id: 583cee470daeed03a88c36048748090d72875837
  --------------------------------
  Hardware |         manufacturer: Sierra Wireless, Incorporated
           |                model: Sierra Wireless EM7455 Qualcomm® Snapdragon™ X7 LTE-A
           |    firmware revision: SWI9X30C_02.33.03.00
           |       carrier config: default
           |         h/w revision: EM7455
           |            supported: gsm-umts, lte
           |              current: gsm-umts, lte
           |         equipment id: 359820320798141
  --------------------------------
  System   |               device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-8
           |              drivers: qcserial, cdc_mbim
           |               plugin: sierra
           |         primary port: cdc-wdm0
           |                ports: cdc-wdm0 (mbim), ttyUSB0 (qcdm), ttyUSB1 (at), wwan0 (net)
  --------------------------------
  Status   |       unlock retries: sim-pin2 (3)
           |                state: disabled
           |          power state: on
           |       signal quality: 0% (cached)
  --------------------------------
  Modes    |            supported: allowed: 3g; preferred: none
           |                       allowed: 4g; preferred: none
           |                       allowed: 3g, 4g; preferred: 4g
           |                       allowed: 3g, 4g; preferred: 3g
           |              current: allowed: 3g, 4g; preferred: 4g
  --------------------------------
  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-26, eutran-29, 
           |                       eutran-30, 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-26, eutran-29, 
           |                       eutran-30, eutran-41
  --------------------------------
  IP       |            supported: ipv4, ipv6, ipv4v6
  --------------------------------
  3GPP     |                 imei: 359820320798141
           |        enabled locks: fixed-dialing
  --------------------------------
  3GPP EPS | ue mode of operation: csps-2
  --------------------------------
  SIM      |     primary sim path: /org/freedesktop/ModemManager1/SIM/0

Oct 18 18:15:28 bison-ElkhartLake systemd[1]: Starting Modem Manager...
Oct 18 18:15:28 bison-ElkhartLake ModemManager[4061]: <info>  ModemManager (version 1.18.6) starting in system bus...
Oct 18 18:15:28 bison-ElkhartLake systemd[1]: Started Modem Manager.
Oct 18 18:15:28 bison-ElkhartLake sudo[4058]: pam_unix(sudo:session): session closed for user root
Oct 18 18:15:28 bison-ElkhartLake NetworkManager[664]: <info>  [1697674528.1308] modem-manager: ModemManager now available
Oct 18 18:15:29 bison-ElkhartLake ModemManager[4061]: opening device...
Oct 18 18:15:29 bison-ElkhartLake ModemManager[4061]: cannot connect to proxy: Could not connect: Connection refused
Oct 18 18:15:29 bison-ElkhartLake ModemManager[4061]: spawning new mbim-proxy (try 1)...
Oct 18 18:15:29 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 4096
Oct 18 18:15:30 bison-ElkhartLake ModemManager[4061]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.1/0000:0a:00.0': not supported by any plugin
Oct 18 18:15:30 bison-ElkhartLake ModemManager[4061]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.2/0000:0b:00.0': not supported by any plugin
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: <info>  [cdc-wdm0/mbim] MBIM device is not QMI capable
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] channel destroyed
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: <info>  [device /sys/devices/pci0000:00/0000:00:14.0/usb1/1-8] creating modem with plugin 'sierra' and '4' ports
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: <info>  [base-manager] modem for device '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8' successfully created
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: opening device...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 4096
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Opening device with flags 'version-info, proxy, mbim, expect-indications'...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] created endpoint
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] creating MBIM device...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] MBIM device created
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] opening MBIM device...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: opening device...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Read max control message size from descriptors file: 4096
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] MBIM device open
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Checking version info (15 retries)...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] QMI Device supports 34 services:
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    ctl (1.5)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    wds (1.67)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    dms (1.14)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    nas (1.25)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    qos (1.6)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    wms (1.10)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    auth (1.3)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    at (1.2)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    voice (2.1)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    cat2 (2.24)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    uim (1.45)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    pbm (1.4)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    test (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    loc (2.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    sar (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    ts (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    tmd (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    wda (1.16)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    csvt (1.1)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    coex (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    pdc (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    rfrpe (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    dsd (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    ssctl (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    unknown [0x2e] (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    unknown [0x30] (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    unknown [0x31] (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    unknown [0x36] (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    rms (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    unknown [0xf0] (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    unknown [0xf3] (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    unknown [0xf5] (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    unknown [0xf6] (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0]    unknown [0xfc] (1.0)
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Enabling QMI indications via MBIM...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] enabled QMI indications via MBIM
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: <info>  [modem0/cdc-wdm0/mbim] MBIM device is QMI capable
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Allocating new client ID...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Registered 'dms' (version 1.14) client with ID '3'
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Allocating new client ID...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Registered 'nas' (version 1.25) client with ID '4'
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Allocating new client ID...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Registered 'loc' (version 2.0) client with ID '1'
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Allocating new client ID...
Oct 18 18:15:32 bison-ElkhartLake ModemManager[4061]: [/dev/cdc-wdm0] Registered 'pdc' (version 1.0) client with ID '2'
Oct 18 18:15:33 bison-ElkhartLake ModemManager[4061]: <info>  [modem0] QMI-based capability and mode switching support enabled
Oct 18 18:15:33 bison-ElkhartLake ModemManager[4061]: <warn>  [modem0] couldn't query SIM slots: NoDeviceSupport
Oct 18 18:15:33 bison-ElkhartLake ModemManager[4061]: <warn>  [modem0/sim0] couldn't load list of emergency numbers: Failed to parse CRSM query result '+CRSM: 105,129,""'
Oct 18 18:15:34 bison-ElkhartLake ModemManager[4061]: <warn>  [modem0] couldn't load initial EPS bearer settings: LTE attach status info is unsupported
Oct 18 18:15:34 bison-ElkhartLake ModemManager[4061]: <info>  [modem0] state changed (unknown -> disabled)
Oct 18 18:15:34 bison-ElkhartLake NetworkManager[664]: <info>  [1697674534.5470] device (cdc-wdm0): state change: unmanaged -> unavailable (reason 'none', sys-iface-state: 'external')
Oct 18 18:15:34 bison-ElkhartLake NetworkManager[664]: <info>  [1697674534.5486] device (cdc-wdm0): modem state 'disabled'
Oct 18 18:15:34 bison-ElkhartLake NetworkManager[664]: <info>  [1697674534.5496] manager: (cdc-wdm0): new Broadband device (/org/freedesktop/NetworkManager/Devices/7)

Didn’t AT!gstatus? Show attached?

Can you see ip address in at+cgpaddr=1

Fore the IP I get:

+CGPADDR: 1,10.20.119.145

Yes my currently GSTATUS indicates:

!GSTATUS: 
Current Time:  56466            Temperature: 44
Reset Counter: 4                Mode:        ONLINE         
System mode:   LTE              PS state:    Attached     
LTE band:      B2               LTE bw:      15 MHz  
LTE Rx chan:   675              LTE Tx chan: 18675
LTE CA state:  NOT ASSIGNED
EMM state:     Registered       Normal Service 
RRC state:     RRC Idle       
IMS reg state: No Srv  

PCC RxM RSSI:  -76              RSRP (dBm):  -111
PCC RxD RSSI:  -76              RSRP (dBm):  -115
Tx Power:      --               TAC:         7F58 (32600)
RSRQ (dB):     -17.3            Cell ID:     0642DE0F (105045519)
SINR (dB):     -1.8

Looks like the PS state is indeed attached…

But I still get this from Modem Manager:

Oct 19 09:57:59 bison-ElkhartLake ModemManager[40149]: <info>  [modem0] QMI-based capability and mode switching support enabled
Oct 19 09:57:59 bison-ElkhartLake ModemManager[40149]: <warn>  [modem0] couldn't query SIM slots: NoDeviceSupport
Oct 19 09:58:00 bison-ElkhartLake ModemManager[40149]: <warn>  [modem0/sim0] couldn't load list of emergency numbers: Failed to parse CRSM query result '+CRSM: 105,129,""'
Oct 19 09:58:00 bison-ElkhartLake ModemManager[40149]: <warn>  [modem0] couldn't load initial EPS bearer settings: LTE attach status info is unsupported
Oct 19 09:58:00 bison-ElkhartLake ModemManager[40149]: <info>  [modem0] state changed (unknown -> disabled)

can you try the MBPL SDK?

https://source.sierrawireless.com/resources/airprime/software/mbpl/mbpl-software-latest/#sthash.7DIH1SLn.dpbs

You can also try the MBIM interface in AT!USBCOMP to see if it works in your environment.

1 Like

The instructions on MBPL did the trick :partying_face: thank you so much, you’re the best!

One more quick question though, I find that I need to re-run those instructions on reboot to get the connection started. Is there a way to auto-reconnect / configure things like the DNS servers, etc?

are you using the sample application connection manager to connect?
Or you are using AT!SCACT to connect?

You might need to modify the connection manager code to make it run automatically
Or you can write a script to enter AT!SCACT and dhclient