Allow user to change SIM slot technologies ( ex. 2G vs. 3G )

Bug #1373388 reported by Ondrej Kubik
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Bill Filler
libqofono (Ubuntu)
Fix Released
Critical
Jonas G. Drange
libqofono (Ubuntu RTM)
Fix Released
Critical
Jonas G. Drange
ofono (Ubuntu)
Fix Released
Critical
Alfonso Sanchez-Beato
ofono (Ubuntu RTM)
Fix Released
Critical
Alfonso Sanchez-Beato

Bug Description

There is missing function call to alter behaviour of SIM slots in multi SIM slot setup.

There are dual SIM phones with 3G capabilities on both SIM slots, but limitation that only one slot can perform 3G at the time.
Typically by default 3G is then enabled on first slot, while second slot is limited to 2G.
However hw allows to alter behaviour and use 3G from second SIM slot, while first SIM slot is then limited to 2G

What we need is function call in telephony stack to alter SIM slot setup.

This is a prerequisite for exposing it in the settings UI, bug 1379850.

Tags: ota-1 rtm14

Related branches

Joe Odukoya (jodukoya)
tags: added: rtm14
Revision history for this message
Tony Espy (awe) wrote :

Changed project to ofono, as that's where the low-level change would be required.

affects: telephony-service → ofono
affects: ofono → ofono (Ubuntu)
Revision history for this message
Tony Espy (awe) wrote :

This could be accomplished by making RadioSettings::ModemTechnologies write-able.

This property is currently used by our System Settings UI to determine which technologies can be shown used to set 'TechnologyPreference' ( ie. use 2G vs. 3G; can LTE be shown ).

If the device doesn't support this function, than trying to write 'ModemTechnologies' would return an UnSupported error.

That said, while I think this is a nice feature it's not Critical as the user can physically swap the SIMs today.

Also as this requires touching multiple packages, my vote would be to release this as part of an OTA update.

Changed in ofono (Ubuntu):
importance: Undecided → Wishlist
summary: - Missing function call to alter SIM slot capabilities in multi slot setup
+ Allow user to change SIM slot technologies ( ex. 2G vs. 3G )
Changed in ofono (Ubuntu):
status: New → Confirmed
Changed in libqofono (Ubuntu):
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
John McAleely (john.mcaleely) wrote :

This bug really needs input from more stakeholders. there are confused users (asac, for example), and designers worried about how many dialogs they need to write to warn users of the 2g/3g settings.

Revision history for this message
Ondrej Kubik (ondrak) wrote :

Idea for this bug was to provide task to implement support in ofono to switch SIM slot technologies.
It is not intention of this bug to tackle whole user experience, and under which condition technology in SIM slots should be altered.
This is only to provide foundation in case UX requires to do so, task which can be done independently.

In bigger picture, UX should be designed first to decide if and when such a cal is needed, if needed at all.

Revision history for this message
Ondrej Kubik (ondrak) wrote :

Tony are you sure it's as simple as writing 'TechnologyPreference' for each slot?
How does it handle fact that there are hw limitations to and only one slot at the time can have 3G enabled.
Also when I tried this on Android, it seems like this actually reboots modem. While I believe you can downgrade/upgrade technology on slot without need to reboot modem.

I was hopping there is specific call to rild which is handling this, and doing all necessary checks ( making sure only one slot is 3G, rebooting modem if needed)

Changed in libqofono (Ubuntu):
importance: Wishlist → High
Changed in ofono (Ubuntu):
importance: Wishlist → High
Revision history for this message
Joe Odukoya (jodukoya) wrote :

Please do not just mark items as wishlist.

If you feel it *should* be a wishlist item then *please* raise it for further discussion.

Thanks!

tags: added: ota-1
Changed in ofono (Ubuntu):
assignee: nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato)
status: Confirmed → In Progress
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

This adds the capability to set and use 3G for any slot:

https://github.com/rilmodem/ofono/pull/126

Revision history for this message
Tony Espy (awe) wrote :

@Joe

I marked it as wishlist as this describes a new feature, not a bug. I also provided an explanation for this when I made the change. I could understand your objection if this was a customer facing list, but as this was reported against our ofono package, this is standard procedure for bug triage.

As for raising it for discussion, that's what we're doing now. ;)

Revision history for this message
Tony Espy (awe) wrote :

@Ondra

What I'd proposed was using a pre-existing RadioSettings property. When properties are written, they can trigger actions, which might include sending one or more requests to rild.

As we control the driver implementation, we could handle the limitation that only one slot could have 3g in the driver implementation by returning an error to a SetProperty call for 'ModemTechnologies' when one modem already was configured for 3G. So toggling would require setting removing 'umts' from one modem's property and then adding it to the second modem's.

I will discuss with Alfonso, as he chose a slightly different implementation which modifies the ofono API by introducing a 3g specific DBus method.

Also my personal opinion is that this feature over-complicates the cellular device settings, which frankly we still haven't gotten to work right yet.

description: updated
Changed in libqofono (Ubuntu):
importance: High → Critical
Changed in ofono (Ubuntu):
importance: High → Critical
Revision history for this message
Tony Espy (awe) wrote :

@Victor

Any explanation for why you bumped the priority? The ofono task is already in-progress and slated for OTA-1. Just curious...

Changed in libqofono (Ubuntu):
assignee: nobody → Ken VanDine (ken-vandine)
Changed in libqofono (Ubuntu):
assignee: Ken VanDine (ken-vandine) → Jonas G. Drange (jonas-drange)
Tony Espy (awe)
Changed in ofono (Ubuntu RTM):
importance: Undecided → Critical
status: New → In Progress
Changed in libqofono (Ubuntu RTM):
status: New → Triaged
Changed in libqofono (Ubuntu):
status: Confirmed → Triaged
Changed in libqofono (Ubuntu RTM):
importance: Undecided → Critical
Changed in ofono (Ubuntu RTM):
assignee: nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato)
Changed in libqofono (Ubuntu RTM):
assignee: nobody → Jonas G. Drange (jonas-drange)
Revision history for this message
Tony Espy (awe) wrote :

Just approved and merged the ofono pull-request ( #126 ) for this bug into out github master.

Changed in ofono (Ubuntu):
status: In Progress → Fix Committed
Changed in ofono (Ubuntu RTM):
status: In Progress → Fix Committed
Changed in libqofono (Ubuntu):
status: Triaged → In Progress
Changed in libqofono (Ubuntu RTM):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libqofono - 0.53-0ubuntu3

---------------
libqofono (0.53-0ubuntu3) vivid; urgency=medium

  * debian/patches/mtk_settings_binding.patch
    - add mtk (mediatek) settings binding which allows consumer
      to set which modem to allow 3G communication (LP: #1373388)
 -- Ken VanDine <email address hidden> Fri, 21 Nov 2014 10:07:54 -0500

Changed in libqofono (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ofono - 1.12.bzr6882+15.04.20141126-0ubuntu1

---------------
ofono (1.12.bzr6882+15.04.20141126-0ubuntu1) vivid; urgency=medium

  [ Alfonso Sanchez-Beato ]
  * grilreply.c, parcel.c, rilmodem: merge data and voice reg parsing
    This change splits the orginal parsing code for data and voice
    registration replies, cleaning up some of original parsing code
    which wasn't very elegant.
  * Makefile.am, rilmodem, src/sim*.*, include/sim.h,
    plugins/mtk.c, ril.c: enable SIM phonebook import support
  * rilmodem/sim.c, plugins/mtk.c, ril.c: fix SIM interface signals (LP: #1376250)
  * plugins/mtk.c: fix krillin slow socket disconnection (LP: #1388030)
  * Makefile.am, doc/mtk-settings-api.txt, mtkmodem,
    plugins/mtk.c, test, unit: support krillin 3g slot switch (LP: #1373388)
 -- Ubuntu daily release <email address hidden> Wed, 26 Nov 2014 01:44:00 +0000

Changed in ofono (Ubuntu):
status: Fix Committed → Fix Released
Olli Ries (ories)
Changed in canonical-devices-system-image:
assignee: nobody → Canonical Devices Products (canonical-devices-products-team)
importance: Undecided → High
milestone: none → r1
status: New → Confirmed
Changed in libqofono (Ubuntu RTM):
status: In Progress → Fix Committed
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

bumping priority as this should have landed in rtm by now

Changed in canonical-devices-system-image:
importance: High → Critical
milestone: ww51-2014 → ww03-2015
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

drop back to high won't block release
land with https://bugs.launchpad.net/canonical-devices-system-image/+bug/1379850

Changed in canonical-devices-system-image:
importance: Critical → High
Changed in canonical-devices-system-image:
milestone: ww03-2015 → ww05-2015
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

land post rtm

Changed in canonical-devices-system-image:
milestone: ww05-2015 → ww07-2015
Revision history for this message
Victor Tuson Palau (vtuson) wrote :

I think this bug is critical for OTA-1 since impacts significantly the dualsim experience

Changed in canonical-devices-system-image:
importance: High → Critical
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
milestone: ww07-2015 → ww09-2015
Changed in canonical-devices-system-image:
assignee: Canonical Devices Products (canonical-devices-products-team) → Bill Filler (bfiller)
Revision history for this message
Bill Filler (bfiller) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ofono - 1.12.bzr6886+15.04.20150206.1~rtm-0ubuntu1

---------------
ofono (1.12.bzr6886+15.04.20150206.1~rtm-0ubuntu1) 14.09; urgency=medium

  [ Alfonso Sanchez-Beato ]
  * rilmodem/sim.c, plugins/mtk.c, ril.c: fix SIM interface signals (LP: #1376250)

  * Makefile.am, doc/mtk-settings-api.txt, mtkmodem,
    plugins/mtk.c, test, unit: support krillin 3g slot switch (LP: #1373388)
 -- Ubuntu daily release <email address hidden> Fri, 06 Feb 2015 15:19:36 +0000

Changed in ofono (Ubuntu RTM):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libqofono - 0.70~rtm-0ubuntu2

---------------
libqofono (0.70~rtm-0ubuntu2) 14.09; urgency=medium

  * debian/control
    - fixed typo in breaks
 -- Ken VanDine <email address hidden> Wed, 14 Jan 2015 09:36:03 -0500

Changed in libqofono (Ubuntu RTM):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.