GSM and LTE cm data connect failed

Hello,

I’ve recently bought a Orange sim card to use with my mangOH Red (WP7702). I would like to connect via LTE-M1.

 root@swi-mdm9x28-wp:~# cm data
    Index:                         1
    APN:                           iot.swir
    PDP Type:                      IPV4
    Connected:                     no
    root@swi-mdm9x28-wp:~# cm data connect
    Setting up profile 1
    Connecting ... failed
    Tue Nov 10 15:40:53 UTC 2020 - Connection Failure: LE_FAULT
    root@swi-mdm9x28-wp:~# 

I get this error whether I am trying to connect to GSM or LTE.

Any ideas ?

Here is log for further investigations:

–> cm radio when RAT is GSM

root@swi-mdm9x28-wp:~# cm radio
Power:                         ON
Current Network Operator:      Orange F
Current RAT:                   GSM network (LE_MRC_RAT_GSM)
Status:                        Registered, home network (LE_MRC_REG_HOME)
Signal:                        Weak signal strength (2)
PS:                            Packet Switched Registered, home network (LE_MRC_REG_HOME)

–> cm radio when RAT is LTE

root@swi-mdm9x28-wp:~# cm radio
Power:                         ON
Current Network Operator:      Orange F
Current RAT:                   Module not registered on network, RAT not available
Status:                        Not registered but currently searching for a new operator (LE_MRC_REG_SEARCHING)
Signal:                        Strong signal strength (4)
PS:                            Packet Switched Not registered (LE_MRC_REG_NONE)

–> logread -f |grep -e “WRN” -e "ERR"

root@swi-mdm9x28-wp:~# logread -f |grep -e "WRN" -e "ERR"
Nov 10 15:49:12 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[882]/supervisor T=main | proc.c GetWatchdogAction() 362 | cm@0 watchdogAction '' in proc section
Nov 10 15:49:12 swi-mdm9x28-wp user.warn Legato: -WRN- | _UNKNOWN_[6207]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
Nov 10 15:49:12 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2203 | SessionRef (0x7f5fd7f0) has been closed
Nov 10 15:49:12 swi-mdm9x28-wp user.warn Legato: -WRN- | _UNKNOWN_[6220]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
Nov 10 15:49:13 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 799 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
Nov 10 15:49:13 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/le_pa T=main | pa_mdc_qmi.c StartSession() 1978 | Data connection failure Call End provided 11, Code 1018
Nov 10 15:49:13 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/le_pa T=main | pa_mdc_qmi.c StartSession() 1989 | Data connection failure Verbose Call End provided Type 6, Verbose 33
Nov 10 15:49:13 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 1270 | Get Async Connection failure 11, 1018, 6, 33
Nov 10 15:49:13 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2203 | SessionRef (0x7f5fdb80) has been closed
Nov 10 15:49:13 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[882]/supervisor T=main | app.c app_SigChildHandler() 4066 | Process 'cm@0' in app 'tools' faulted: Ignored.

–> logread -f

root@swi-mdm9x28-wp:~# logread -f
Nov 10 15:43:50 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[882]/supervisor T=main | proc.c GetWatchdogAction() 362 | cm@0 watchdogAction '' in proc section
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c app_Start() 3471 | Starting app 'tools'
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib/libCom
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_secstore.so' to '/legato/systems/current/appsWriteable/tools/lib/libCom
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_cm.so' to '/legato/systems/current/appsWriteable/tools/lib/libComponent
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_moduleLoad.so' to '/legato/systems/current/appsWriteable/tools/lib/libC
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_fwupdate.so' to '/legato/systems/current/appsWriteable/tools/lib/libCom
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_pmtool.so' to '/legato/systems/current/appsWriteable/tools/lib/libCompo
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode_default.so' to '/legato/systems/current/appsWriteable/to
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_swiQmi.so' to '/legato/systems/current/appsWriteable/tools/lib/libCompo
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib/
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_gnss.so' to '/legato/systems/current/appsWriteable/tools/lib/libCompone
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/cm' to '/legato/systems/current/appsWriteable/tools/bin/cm': Already exists
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/gnss' to '/legato/systems/current/appsWriteable/tools/bin/gnss': Already exists
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/kmod' to '/legato/systems/current/appsWriteable/tools/bin/kmod': Already exists
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/fwupdate' to '/legato/systems/current/appsWriteable/tools/bin/fwupdate': Already exi
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/secstore' to '/legato/systems/current/appsWriteable/tools/bin/secstore': Already exi
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/uartMode' to '/legato/systems/current/appsWriteable/tools/bin/uartMode': Already exi
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/bin/pmtool' to '/legato/systems/current/appsWriteable/tools/bin/pmtool': Already exists
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_swiQmi.so' to '/legato/systems/current/appsWriteable/tools/lib/libCompo
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/lib/libComponent_le_pa_uartMode.so' to '/legato/systems/current/appsWriteable/tools/lib/
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/tools/read-only/scripts/cm' to '/legato/systems/current/appsWriteable/tools/scripts/cm': Already exists
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | proc.c proc_Start() 1403 | Starting process 'cm@0' with pid 5583
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | supervisor.c SigChildHandler() 899 | Reaping unconfigured child process 5579.
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[5583]/supervisor T=main | proc.c proc_Start() 1363 | Execing 'scripts/cm'
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[5583]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxCoreDumpFileBytes to value 8192.
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[5583]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxFileBytes to value 90112.
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[5583]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxLockedMemoryBytes to value 8192.
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[5583]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxFileDescriptors to value 256.
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[5583]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxMQueueBytes to value 512.
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[5583]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxThreads to value 20.
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[5583]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxQueuedSignals to value 100.
Nov 10 15:43:50 swi-mdm9x28-wp user.warn Legato: -WRN- | _UNKNOWN_[5586]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | modemDaemon[1549]/modemDaemon T=main | le_mdc.c CloseSessionEventHandler() 961 | SessionRef 0x7f5fd2e0 has been closed
Nov 10 15:43:50 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2203 | SessionRef (0x7f5fd7f0) has been closed
Nov 10 15:43:50 swi-mdm9x28-wp user.warn Legato: -WRN- | _UNKNOWN_[5599]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
Nov 10 15:43:50 swi-mdm9x28-wp user.info Legato:  INFO | cm[5599]/cm T=main | cm_data.c cm_data_ProcessDataCommand() 1164 | dataParam is NULL
Nov 10 15:43:51 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 799 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
Nov 10 15:43:51 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/le_pa T=main | pa_mdc_qmi.c StartSession() 1978 | Data connection failure Call End provided 11, Code 1018
Nov 10 15:43:51 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/le_pa T=main | pa_mdc_qmi.c StartSession() 1989 | Data connection failure Verbose Call End provided Type 6, Verbose 33
Nov 10 15:43:51 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 1270 | Get Async Connection failure 11, 1018, 6, 33
Nov 10 15:43:51 swi-mdm9x28-wp user.info Legato:  INFO | modemDaemon[1549]/modemDaemon T=main | le_mdc.c CloseSessionEventHandler() 961 | SessionRef 0x7f5fdde0 has been closed
Nov 10 15:43:51 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2203 | SessionRef (0x7f5fdb80) has been closed
Nov 10 15:43:51 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | proc.c proc_SigChildHandler() 2079 | Process 'cm@0' (PID: 5583) has exited with exit code 1.
Nov 10 15:43:51 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[882]/supervisor T=main | app.c app_SigChildHandler() 4066 | Process 'cm@0' in app 'tools' faulted: Ignored.
Nov 10 15:43:51 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | app.c app_StopComplete() 4753 | app 'tools' has stopped.
Nov 10 15:43:51 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[882]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application 'tools' has stopped.

seems the orange SIM card should not use “iot.swir” APN.

You might have a look on this topic:

Thanks for your response.

I don’t have this problem on reboot.

When I put an Orange APN “orange.m2m.spec”.
I can not register to LTE: “RAT not available”.
I can register some times to GSM.
Power: ON
Current Network Operator: Orange F
Current RAT: GSM network (LE_MRC_RAT_GSM)
Status: Registered, home network (LE_MRC_REG_HOME)
Signal: Good signal strength (3)
PS: Packet Switched Registered, home network (LE_MRC_REG_HOME)

But I can never connect myself.

root@swi-mdm9x28-wp:~# logread -f |grep -e "WRN" -e "ERR"
Nov 10 16:50:44 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[880]/supervisor T=main | proc.c GetWatchdogAction() 362 | cm@0 watchdogAction '' in proc section
Nov 10 16:50:44 swi-mdm9x28-wp user.warn Legato: -WRN- | _UNKNOWN_[2206]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
Nov 10 16:50:44 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2203 | SessionRef (0x7f5fdcf0) has been closed
Nov 10 16:50:47 swi-mdm9x28-wp user.warn Legato: -WRN- | modemDaemon[1549]/le_pa T=main | pa_sim_qmi.c MapSimState() 952 | More than one application 2
Nov 10 16:50:48 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[880]/supervisor T=main | proc.c GetWatchdogAction() 362 | cm@0 watchdogAction '' in proc section
Nov 10 16:50:48 swi-mdm9x28-wp user.warn Legato: -WRN- | _UNKNOWN_[2227]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
Nov 10 16:50:48 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2203 | SessionRef (0x7f5fd960) has been closed
Nov 10 16:50:48 swi-mdm9x28-wp user.warn Legato: -WRN- | _UNKNOWN_[2240]/framework T=main | safeRef.c le_ref_CreateRef() 547 | Safe reference map maximum exceeded for refFdMonitors, new size 42
Nov 10 16:51:39 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/swiQmi T=main | swiQmi.c swiQmi_CheckResponse() 799 | Sending QMI_WDS_START_NETWORK_INTERFACE_REQ_V01 failed: rc=0 (), resp.result=1.[0x01], resp.error=14.[0x0e]
Nov 10 16:51:39 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/le_pa T=main | pa_mdc_qmi.c StartSession() 1978 | Data connection failure Call End provided 0, Code 3
Nov 10 16:51:39 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/le_pa T=main | pa_mdc_qmi.c StartSession() 1989 | Data connection failure Verbose Call End provided Type 3, Verbose 1078
Nov 10 16:51:39 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/modemDaemon T=main | le_mdc.c le_mdc_StartSession() 1270 | Get Async Connection failure 0, 3, 3, 1078
Nov 10 16:51:39 swi-mdm9x28-wp user.err Legato: =ERR= | modemDaemon[1549]/modemDaemon T=main | le_sms.c CloseSessionEventHandler() 2203 | SessionRef (0x7f5fdcf0) has been closed
Nov 10 16:51:39 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[880]/supervisor T=main | app.c app_SigChildHandler() 4066 | Process 'cm@0' in app 'tools' faulted: Ignored.
Nov 10 16:51:56 swi-mdm9x28-wp user.warn Legato: -WRN- | posDaemon[1572]/le_pa_gnss T=unknown | pa_gnss_qmi.c PositionHandler() 1509 | Bad position indication

Are you using those wp77 offical fw downloaded from source.sierrawireless.com?

Sure, I picked the R13 (Sierra one).
Maybe that is not corresponding with an Orange APN ?

Great intuition, the source spk was the problem.
I put the Generic - GCF one and I can now connect to LTE & GSM.

Thanks again.