AW: SIM PIN unlock timeout
Dan Williams
dan at ioncontrol.co
Wed Feb 19 18:35:41 UTC 2025
On Mon, 2025-01-20 at 14:34 +0000, Dominik Nille wrote:
>
>
>
> Hey Aleksander, hey Dan,
>
> I ran the ModemManager with debug logs and produced the same behavior
> as in the previous mail again.
>
> Maybe, you can gain some knowledge from the debug log I attached.
>
> Any ideas, why the command keeps failing, but after waiting a little
> the state changes from “locked” to “registered”?
Looks like you've got two modems on the system, and the other one
(modem0) isn't happy:
ModemManager[4639]: <debug> [1737381559.914951] [modem0] couldn't check
if unlock required: Couldn't peek QMI port
ModemManager[4639]: <debug> [1737381559.915068] [modem0] retrying (22)
unlock required check
so what happens is that modem1 gets unlocked just fine, but because you
sent "-i any" MM will try to unlock both modems, and the other one
times out.
We could debug why modem0 isn't happy, or alternatively you could send
the PIN to modem1's SIM and it shouldn't take long.
Dan
>
> BR
> Dominik
>
>
>
> Von: Aleksander Morgado <aleksandermj at chromium.org>
> Gesendet: Mittwoch, 11. Dezember 2024 09:46
> An: Dominik Nille <Dominik.Nille at balluff.de>
> Cc: modemmanager-devel at lists.freedesktop.org
> Betreff: Re: SIM PIN unlock timeout
>
>
>
>
>
> Hey Dominik,
>
>
>
>
>
> >
> >
> >
> >
> >
> >
> > I am currently trying to unlock myQuectel RM520N-GL on Linux Debian
> > with the ModemManager (Version1.20.4).
> >
> > mmcli -i any --pin=<SIMPIN>
> > > > error: couldn't send PIN code to the SIM: 'Timeout was reached'
> >
> > Runs into atimeout and still manages to unlock the SIM-Card.
> > Afterwards the state changes from “locked” to “registered”.
> >
>
>
>
>
>
>
> Please run MM with debug logs (use "mmcli -G DEBUG" or
> followhttps://modemmanager.org/docs/modemmanager/debugging/), as that
> will give us much more information about the specific sequence in
> place here.
>
>
>
> --
>
>
>
>
>
>
> Aleksander
>
>
> Dominik Nille
> Technology
> Innovation Management
>
>
>
>
> Balluff GmbH · Schurwaldstrasse 9 · 73765 Neuhausen a.d.F. · Germany
> Phone +497158173-8020 · Fax +4971585010 · Dominik.Nille at balluff.de ·
> www.balluff.com
>
> Facebook
> LinkedIn
> Twitter
> Youtube
> Xing
> Blog
>
>
> 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
>
>
>
More information about the ModemManager-devel
mailing list