Bug 85053 - huawei: improved after-sim-unlock step
Summary: huawei: improved after-sim-unlock step
Status: RESOLVED MOVED
Alias: None
Product: ModemManager
Classification: Unclassified
Component: plugins (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 10:31 UTC by Aleksander Morgado
Modified: 2018-06-10 09:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Aleksander Morgado 2014-10-15 10:31:17 UTC
Originally reported at:
  https://bugzilla.gnome.org/show_bug.cgi?id=719917
Please refer to the original bug report if more details are needed.


The Huawei plugin has already a "after-sim-unlock" step subclassed, which just waits 3s after a SIM unlock before going on with the initialization sequence (e.g. loading own numbers).

Some modems, like the Huawei K3520, may require even more time, though:

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

The after-sim-unlock step should be improved to make sure the SIM is fully initialized before going on; either looking for SIM busy errors or checking for "^SIMST: 1" indications.
Comment 1 GitLab Migration User 2018-06-10 09:04:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/55.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.