unity-api-bugs team mailing list archive
-
unity-api-bugs team
-
Mailing list archive
-
Message #06375
[Bug 1376250] Re: i-network says "Unknown" or "No SIM" on N4 (mako), can't unlock the SIM
This PR makes ofono signal ordering more sensible:
https://github.com/rilmodem/ofono/pull/129
Although this bug only happens for mako it is not impossible that it
might have appeared for krillin too, as both plugins worked in a similar
way.
For those interested, here is the event sequence that probably makes the
bug appear:
1.- ofono_sim_register() is called. It calls
ofono_modem_add_interface(), which calls g_idle_add() before notifying
of the new interface.
2.- __ofono_sim_recheck_pin() is called. PinRequired is signalled.
3.- Now trigger_interface_update(), the argument to g_idle_add() in
point 1, is called so SimManager interface is signalled.
4.- telepathy-ofono calls GetProps() but, surprise, no properties are
there. This is because the SIM atom has not been notified that there is
a SIM, so sim_get_properties() returns no reply.
5.- Present is finally signalled when ofono_sim_inserted_notify(TRUE) is
called from the *ril/mtk plugin*. This can happen before of after the
sequence described, as there is no coordination with rilmodem SIM
driver. When it happens as described the bug appears.
--
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Network Menu.
https://bugs.launchpad.net/bugs/1376250
Title:
i-network says "Unknown" or "No SIM" on N4 (mako), can't unlock the
SIM
Status in Network Menu:
Incomplete
Status in “ofono” package in Ubuntu:
Triaged
Bug description:
noticed that i-network is broken on mako. Sometimes after reboot the
indicator says the modem state is either "Unknown" or "No Sim" even
though the SIM is present.
for now the workarounds are:
If developer mode is not enabled:
- reboot the phone until you can enter the PIN
if developer mode is enabled:
$ adb shell
$ restart indicator-network
# system-image-cli -i
current build number: 264
device name: mako
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/utopic-proposed
last update: 2014-10-01 11:13:57
version version: 264
version ubuntu: 20141001
version device: 20140929.1
version custom: mako-0.6
To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-network/+bug/1376250/+subscriptions
References