After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 719917 - Retry AT+CNUM check a few times
Retry AT+CNUM check a few times
Status: RESOLVED NOTGNOME
Product: NetworkManager
Classification: Platform
Component: ModemManager
unspecified
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-12-05 16:11 UTC by Dan Williams
Modified: 2014-10-15 10:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Williams 2013-12-05 16:11:46 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.
Comment 1 Aleksander Morgado 2014-03-10 19:20:10 UTC
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.
Comment 2 Aleksander Morgado 2014-10-15 10:31:37 UTC
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.