GNOME Bugzilla – Bug 719917
Retry AT+CNUM check a few times
Last modified: 2014-10-15 10:31:37 UTC
On a Huawei K3520: ModemManager[23814]: <debug> [1386259522.612855] [mm-at-serial-port.c:436] debug_log(): (ttyUSB2): --> 'AT+CNUM<CR>' ModemManager[23814]: <debug> [1386259522.622586] [mm-at-serial-port.c:436] debug_log(): (ttyUSB2): <-- '<CR><LF>+CME ERROR: 14<CR><LF>' ModemManager[23814]: <debug> [1386259522.622665] [mm-serial-parsers.c:364] mm_serial_parser_v1_parse(): Got failure code 14: SIM busy While waiting just a bit works. Maybe retry one or two times if we get a SIM BUSY? I don't think we care about retrying if we get some other error though.
Maybe capturing "^SIMST: 1" unsolicited message sent after SIM-PIN entering will tell us when the SIM is fully ready to go on? That could go in the modem_after_sim_unlock() step in MMIfaceModem.
Moving bugreport to the new ModemManager bugzilla in fd.o; summarized the issue there as well. Please subscribe to the new bugreport to get new updates. https://bugs.freedesktop.org/show_bug.cgi?id=85053 Closing this report as NOTGNOME.