EM7590 modem cannot recognize the SIM card

The EM7590 is recognized on the Linux board, but the SIM is recognized when inserted.
The board PC is a Karbon804 running ubuntu22.04.
The EM7590 is recognized, but the status throw back an error with sim-missing.
I tried inserting other SIMs, but the results were the same.

  -----------------------------------
  General  |                    path: /org/freedesktop/ModemManager1/Modem/1
           |               device id: <>
  -----------------------------------
  Hardware |            manufacturer: Sierra Wireless
           |                   model: EM7590
           |       firmware revision: SWIX12C_03.01.02.00 2025/04/25 14:37:44
           |          carrier config: ROW_Generic_3GPP
           | carrier config revision: 08010819
           |            h/w revision: 1.0
           |               supported: gsm-umts, lte
           |                 current: gsm-umts, lte
           |            equipment id: <>
  -----------------------------------
  System   |                  device: /sys/devices/pci0000:00/0000:00:1d.0/0000:09:00.0/usb4/4-1
           |                 drivers: qcserial, qmi_wwan
           |                  plugin: sierra
           |            primary port: cdc-wdm0
           |                   ports: cdc-wdm0 (qmi), ttyUSB2 (at), wwan0 (net)
  -----------------------------------
  Status   |                   state: failed
           |           failed reason: sim-missing
           |             power state: on
  -----------------------------------
  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-4, utran-6, utran-5, utran-8, utran-9, 
           |                          utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, 
           |                          eutran-8, eutran-12, eutran-13, eutran-14, eutran-18, eutran-19, 
           |                          eutran-20, eutran-25, eutran-26, eutran-28, eutran-29, eutran-32, 
           |                          eutran-38, eutran-39, eutran-40, eutran-41, eutran-42, eutran-43, 
           |                          eutran-48, eutran-66, eutran-71, utran-19
           |                 current: utran-1, utran-4, utran-6, utran-5, utran-8, utran-9, 
           |                          utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, 
           |                          eutran-8, eutran-12, eutran-13, eutran-14, eutran-18, eutran-19, 
           |                          eutran-20, eutran-25, eutran-26, eutran-28, eutran-29, eutran-32, 
           |                          eutran-38, eutran-39, eutran-40, eutran-41, eutran-42, eutran-43, 
           |                          eutran-48, eutran-66, eutran-71, utran-19
  -----------------------------------
  IP       |               supported: ipv4, ipv6, ipv4v6
  -----------------------------------
  SIM      |        primary sim path: /org/freedesktop/ModemManager1/SIM/0
           |          sim slot paths: slot 1: none
           |                          slot 2: /org/freedesktop/ModemManager1/SIM/0 (active)

I tried to query the SIM details using AT commands, but I keep receiving the following response:

+CME ERROR: 13

Some more details:

!IMPREF:
preferred fw version:    03.01.02.00
preferred carrier name:  GENERIC
preferred config name:   GENERIC_003.000_006
preferred subpri index:  000
current fw version:      03.01.02.00
current carrier name:    GENERIC
current config name:     GENERIC_003.000_006
current subpri index:    000

Does anyone know what might be causing this issue and how it can be resolved?

Could it be sim slot hardware issue?

Btw, what is the return of at!uims?

I got back an error

at!uims
ERROR

There are two SIM slots and I got errors on both, so I think it’s not a hardware issue

You should type “at!uims?”

I got back this:

at!uims?
!UIMS:0


OK

How about switching to sim slot 2 and use at!uims=1

BTW, i don’t quite see problem on SIM slot 1:

at+cpin?
+CPIN: READY

OK
at+cimi
454003067338878

OK

//here I switch to another SIM card
at+cpin?
+CPIN: READY

OK
at+cimi
454065217348446

OK
at+ccid
+CCID: 89852062308238033963

OK
ati3
Manufacturer: Sierra Wireless
Model: EM7590
Revision: SWIX12C_03.01.02.00 2025/04/25 14:37:44
SVN: 07
IMEI: 357999720012345
FSN: 01225200012345
TS.25: 2025.2.24
+GCAP: +CGSM

OK
at!uims?
!UIMS:0


OK

I got back the followings when I run the commands:

at+cpin?
+CME ERROR: 10

at+cimi
ERROR

at+cpin?
+CME ERROR: 10

at+cimi
ERROR

at+ccid
+CME ERROR: 13

ati3
Manufacturer: Sierra Wireless
Model: EM7590
Revision: SWIX12C_03.01.02.00 2025/04/25 14:37:44
SVN: 07
IMEI: 357999720311630
FSN: DX4516077205H1
TS.25: 2025.2.24
+GCAP: +CGSM

OK

then no idea, maybe hardware issue in primary sim slot, you can try more SIM card and see what happens