Sim card state

Joye Laurent Laurent.Joye at haslerrail.com
Fri Sep 4 10:49:59 UTC 2020


Hello,

I'm playing with the qmicli command line tool. I've a Quectel EG95
module plugged on my HW board (arm architecture running Debian armel).
I'd like to be able to manipulate the PIN code of my SIM card, but it
doesn't work (note that the 4G communication is working well):

qmicli -d /dev/cdc-wdm0 --uim-verify-pin="PIN1,0000"
error: couldn't verify PIN: QMI protocol error (3): 'Internal'
[/dev/cdc-wdm0] Retries left:
        Verify: 0
        Unblock: 0
The card state seems me strange (probably the root cause of my
problem):

qmicli -d /dev/cdc-wdm0 --uim-get-card-status
[/dev/cdc-wdm0] Successfully got card status
Provisioning applications:
        Primary GW:   session doesn't exist
        Primary 1X:   session doesn't exist
        Secondary GW: session doesn't exist
        Secondary 1X: session doesn't exist
Slot [1]:
        Card state: 'error: no-atr-received (3)'
        UPIN state: 'not-initialized'
                UPIN retries: '0'
                UPUK retries: '0'

Could someone help to understand the problem?
Are there some special
requirements for the SIM card?

Note that at the moment, my SIM card is
configured to run without any PIN code.

Many thanks in advance for your help

Laurent Joye
SW engineer


More information about the libqmi-devel mailing list