← Back to team overview

ubuntu-phonedations-bugs team mailing list archive

[Bug 1379412] Re: SIM selection for mobile data is non-deterministic

 

@Pat

The suggestion from Alfonso was to fix this via a new page in the first
boot wizard which would ask the user which SIM they'd prefer to use for
mobile data.  This would only be displayed if the phone detected more
then one inserted SIM.

The general consensus from design was that this was less than ideal and
that we should figure out how to do this automatically.

Alfonso and I discussed this today, and it's my belief that we could do
this by checking to see which SIM was inserted in the 3g capable slot
and only setting the ConnectionManager's 'Powered' attribute to True for
this modem.   This would require us extending the GPRS interface to
allow the ofono core to query the 3g capability of the modem slot, which
is a very MTK-specific capability.   If we implemented this, we'd need
to figure out how to make this more generic.

Note, bug #1413672 is related, and has a fix currently in-review.

Finally, the fix for this bug cannot be deployed as an OTA update, it
would require a factory image update, as this bug only occurs during
first boot *if* the user had installed two SIMs before-hand.   It also
potentially could occur if the user resets the phone, but this scenario
hasn't been verified.

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to ofono in Ubuntu.
https://bugs.launchpad.net/bugs/1379412

Title:
  SIM selection for mobile data is non-deterministic

Status in the base for Ubuntu mobile products:
  Confirmed
Status in Ubuntu UX bugs:
  Triaged
Status in ofono package in Ubuntu:
  Confirmed
Status in ubuntu-system-settings package in Ubuntu:
  Confirmed
Status in ubuntu-system-settings package in Ubuntu RTM:
  Confirmed

Bug description:
  Our current implementation of SIM selection for mobile data is
  currently ( as of RTM #94 ) non-deterministic.

  If two SIMs are installed in the phone at first boot ofono will self-
  power the ConnectionManager interfaces for both modems which results
  in the 'Powered' property of both being set to 'true'.   Only one of
  the two will attach to the network however, and if both SIMs are
  unlocked, this is usually the second slot.

  Note, if the second SIM is locked, then the first SIM is used for
  mobile data.

  The cellular system settings uses the 'Powered' property to choose
  which SIM is selected, so the current behavior is clearly broken.

  It was suggested that we should change ofono to not self-power it's
  ConnectionManager interface, and instead add a wizard page that allows
  the user to choose which SIM to use for mobile data.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1379412/+subscriptions