SIM PIN unlock timeout
Dominik Nille
Dominik.Nille at balluff.de
Tue Nov 5 14:54:40 UTC 2024
Good afternoon,
I am currently trying to unlock my Quectel RM520N-GL on Linux Debian with the ModemManager (Version 1.20.4).
mmcli -i any --pin=<SIMPIN>
>> error: couldn't send PIN code to the SIM: 'Timeout was reached'
Runs into a timeout and still manages to unlock the SIM-Card. Afterwards the state changes from "locked" to "registered".
For debugging, I did grep the journal:
systemd[1]: Starting ModemManager.service - Modem Manager...
ModemManager[4418]: <info> ModemManager (version 1.20.4) starting in system bus...
systemd[1]: Started ModemManager.service - Modem Manager.
ModemManager[4418]: <info> [base-manager] couldn't check support for device '/sys/devices/platform/soc at 0/30800000.bus/30be0000.ethernet': not supported by any plugin
ModemManager[4418]: <info> [base-manager] couldn't check support for device '/sys/devices/platform/soc at 0/33800000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0': not supported by any pl>
ModemManager[4418]: <info> [device /sys/devices/platform/soc at 0/32c00000.bus/32e50000.usb/ci_hdrc.1/usb2/2-1/2-1.2<mailto:/sys/devices/platform/soc at 0/32c00000.bus/32e50000.usb/ci_hdrc.1/usb2/2-1/2-1.2>] creating modem with plugin 'quectel' and '6' ports
ModemManager[4418]: <warn> [plugin/quectel] could not grab port ttyUSB2: Cannot add port 'tty/ttyUSB2', unhandled port type
ModemManager[4418]: <warn> [plugin/quectel] could not grab port ttyUSB1: Cannot add port 'tty/ttyUSB1', unhandled port type
ModemManager[4418]: <warn> [plugin/quectel] could not grab port ttyUSB0: Cannot add port 'tty/ttyUSB0', unhandled port type
ModemManager[4418]: <info> [base-manager] modem for device '/sys/devices/platform/soc at 0/32c00000.bus/32e50000.usb/ci_hdrc.1/usb2/2-1/2-1.2' successfully created
ModemManager[4418]: <info> [modem0] state changed (unknown -> locked)
ModemManager[4418]: <warn> [modem0/sim0] couldn't load IMSI: Couldn't read data from UIM: QMI protocol error (82): 'AccessDenied'
ModemManager[4418]: <warn> [modem0/sim0] couldn't load operator identifier: Couldn't get home network: QMI protocol error (37): 'UimUninitialized'
ModemManager[4418]: <warn> [modem0/sim0] couldn't load operator name: Couldn't get home network: QMI protocol error (37): 'UimUninitialized'
ModemManager[4418]: <warn> [modem0/sim0] couldn't load list of emergency numbers: Failed to parse CRSM query result '+CRSM: 148,8,""'
ModemManager[4418]: <warn> [modem0/sim0] couldn't load list of preferred networks: Couldn't get preferred networks: QMI protocol error (37): 'UimUninitialized'
ModemManager[4418]: <warn> [modem0/sim0] couldn't load GID1: Couldn't read data from UIM: QMI protocol error (82): 'AccessDenied'
ModemManager[4418]: <warn> [modem0/sim0] couldn't load GID2: Couldn't read data from UIM: QMI protocol error (82): 'AccessDenied'
ModemManager[4418]: <warn> [modem0] couldn't load list of own numbers: Couldn't get MSISDN: QMI protocol error (37): 'UimUninitialized'
ModemManager[4418]: <warn> [modem0] error initializing: Modem is currently locked, cannot fully initialize
ModemManager[4418]: <info> [modem0] SIM imsi has changed: <none> -> ***************
ModemManager[4418]: <info> [device /sys/devices/platform/soc at 0/32c00000.bus/32e50000.usb/ci_hdrc.1/usb2/2-1/2-1.2<mailto:/sys/devices/platform/soc at 0/32c00000.bus/32e50000.usb/ci_hdrc.1/usb2/2-1/2-1.2>] creating modem with plugin 'quectel' and '6' ports
ModemManager[4418]: <warn> [plugin/quectel] could not grab port ttyUSB2: Cannot add port 'tty/ttyUSB2', unhandled port type
ModemManager[4418]: <warn> [plugin/quectel] could not grab port ttyUSB1: Cannot add port 'tty/ttyUSB1', unhandled port type
ModemManager[4418]: <warn> [plugin/quectel] could not grab port ttyUSB0: Cannot add port 'tty/ttyUSB0', unhandled port type
ModemManager[4418]: <warn> [modem1/sim1] couldn't load list of emergency numbers: Failed to parse CRSM query result '+CRSM: 148,8,""'
ModemManager[4418]: <warn> [modem1] couldn't load supported assistance data types: Failed to receive indication with the predicted orbits data source
ModemManager[4418]: <info> [modem1] state changed (unknown -> disabled)
ModemManager[4418]: <info> [modem1] state changed (disabled -> enabling)
ModemManager[4418]: <info> [modem1] power state updated: on
ModemManager[4418]: <info> [modem1] state changed (enabling -> enabled)
ModemManager[4418]: <info> [modem1] 3GPP registration state changed (unknown -> registering)
ModemManager[4418]: <info> [modem1] 3GPP registration state changed (registering -> home)
ModemManager[4418]: <info> [modem1] state changed (enabled -> registered)
ModemManager[4418]: <warn> [modem0] couldn't load unlock retries: Couldn't peek QMI port
I did also follow the serial communication on /dev/ttyUSB2 Port:
+CPIN: READY
+QUSIM: 1
+QIND: SMS DONE
+QIND: PB DONE
Does someone know the cause of this behavior and how to fix it?
It seems to be happening almost every time.
BR
Dominik
Dominik Nille
Technology
Innovation Management
[http://assets.balluff.com/JPG_original_size/E-Mail-Footer_Vertrieb_Logo.jpg]
Balluff GmbH * Schurwaldstrasse 9 * 73765 Neuhausen a.d.F. * Germany
Phone +497158173-8020 * Fax +4971585010 * Dominik.Nille at balluff.de<mailto:Dominik.Nille at balluff.de> * www.balluff.com<https://www.balluff.com>
[Facebook]<https://de-de.facebook.com/balluff.gmbh> [LinkedIn] <https://www.linkedin.com/company/balluff-gmbh-germany> [Twitter] <https://twitter.com/balluff?lang=de> [Youtube] <https://www.youtube.com/user/BalluffSensors> [Xing] <https://www.xing.com/companies/balluffgmbh> [Blog] <https://www.innovating-automation.blog/?lang=de>
Place of incorporation/Sitz der Gesellschaft: Neuhausen a.d.F., Germany * Register court/Registergericht: Amtsgericht Stuttgart, Germany
Trade register/Handelsregister: HRB 214038 * Managing directors/Gesch?ftsf?hrer: Katrin Stegmaier-Hermle, Florian Hermle, Frank Nonnenmann
Chairman board of directors/Vorsitzender des Aufsichtsrats: Michael Unger * VAT ID/USt-ID: DE213 402 337
[http://assets.balluff.com/JPG_original_size/E-Mail-Footer_Vertrieb_Claim.jpg]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20241105/41d8de25/attachment-0001.htm>
More information about the ModemManager-devel
mailing list