This is what I get:

root@de-01:~# qmicli -d /dev/cdc-wdm0 -p --uim-get-slot-status
[/dev/cdc-wdm0] Successfully got slots status
[/dev/cdc-wdm0] 2 physical slots found:
  Physical slot 1:
     Card status: unknown
     Slot status: active
    Logical slot: 1
  Physical slot 2:
     Card status: unknown
     Slot status: inactive
root@de-01:~# qmicli -d /dev/cdc-wdm0 -p --uim-get-card-status
[/dev/cdc-wdm0] Successfully got card status
Provisioning applications:
        Primary GW:   slot '1', application '1'
        Primary 1X:   session doesn't exist
        Secondary GW: session doesn't exist
        Secondary 1X: session doesn't exist
Slot [1]:
        Card state: 'present'
        UPIN state: 'not-initialized'
                UPIN retries: '0'
                UPUK retries: '0'
        Application [1]:
                Application type:  'usim (2)'
                Application state: 'ready'
                Application ID:
                        A0:00:00:00:87:10:02:FF:FF:FF:FF:89:03:02:00:00
                Personalization state: 'ready'
                UPIN replaces PIN1: 'no'
                PIN1 state: 'disabled'
                        PIN1 retries: '3'
                        PUK1 retries: '10'
                PIN2 state: 'enabled-not-verified'
                        PIN2 retries: '3'
                        PUK2 retries: '10'
        Application [2]:
                Application type:  'isim (5)'
                Application state: 'detected'
                Application ID:
                        A0:00:00:00:87:10:04:FF:FF:FF:FF:89:03:02:00:00
                Personalization state: 'unknown'
                UPIN replaces PIN1: 'no'
                PIN1 state: 'disabled'
                        PIN1 retries: '3'
                        PUK1 retries: '10'
                PIN2 state: 'not-initialized'
                        PIN2 retries: '0'
                        PUK2 retries: '0'
Slot [2]:
        Card state: 'absent'
        UPIN state: 'not-initialized'
                UPIN retries: '0'
                UPUK retries: '0'
root@de-01:~# mbimcli -d /dev/cdc-wdm0 -p --ms-query-device-slot-mappings
[/dev/cdc-wdm0] Slot mappings retrieved:
         Executor '0': slot '0'

So it appears that the data is there in QMI mode, but not MBIM mode?

Jeff

-----Original Message-----
From: Aleksander Morgado <aleksan...@aleksander.es> 
Sent: Thursday, November 18, 2021 1:09 AM
To: Eric Caruso <ejcar...@chromium.org>
Cc: Bushman, Jeff <jbush...@ciena.com>; modemmanager-devel@lists.freedesktop.org
Subject: [**EXTERNAL**] Re: No SIM Slot Paths

Hey,

>
> New enough QMI and MBIM modems have messages to gather all the data for each 
> connected SIM. It's possible that the message is simply not supported by your 
> modem, since 1.18.2 should be new enough such that the MBIM implementation of 
> load_sim_slots, etc. is available.
>

Let's confirm whether the modem supports them or not; Jeff can you run the 
following commands in the MC7455?

$ qmicli -d /dev/cdc-wdm0 -p --uim-get-slot-status $ qmicli -d /dev/cdc-wdm0 -p 
--uim-get-card-status $ mbimcli -d /dev/cdc-wdm0 -p 
--ms-query-device-slot-mappings

--
Aleksander
https://urldefense.com/v3/__https://aleksander.es__;!!OSsGDw!aU0cMFxJaX5umiSfQgu_7vPROh_5eaLghoOP-3YAJRQINkoc78qtuUPHiq5_fA$
 [aleksander[.]es]

Reply via email to