← Back to team overview

touch-packages team mailing list archive

[Bug 1332306] Re: Hot-swapped SIMs should be detected and prompt user to reboot

 

So just to be very clear... this was discussed at the Sprint, and as
pointed out by Antti in comment #19, krillin's behavior is an anomaly.
Mako doesn't support hot-swap.

As supporting hot-swap has the possibility of impacting many other
system components ( urfkill, indicator-*, location-here-provider,
dialer/messaging apps, network-manager, ... ), we ( the cross functional
network/telephony team ) decided *not* to support hot-swap for RTM which
is why this bug was created in the first place.

Currently on mako we can detect SIM insert and removal, and thus can
prompt the user for both events to restart.

On krillin, our existing code only detects SIM removals.

The code to enable krillin to detect SIM removal is effectively the same
thing as enabling hot-swap support in ofono.  This support can be
toggled in ofono by the defining the environment variable
OFONO_RIL_HOT_SIM_SWAP.  Note - during the sprint we also confirmed that
Android on krillin does fully support hot-swap.

So, we decided not to work on the removal case for RTM, but to instead
review full hot-swap support with product management and then release as
an OTA update for krillin.  The majority of the work required is
ensuring that we have a good enough testing story to shake out any
regressions found in other components.

** Also affects: ofono (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: ofono (Ubuntu RTM)
   Importance: Undecided => High

** Changed in: ofono (Ubuntu RTM)
       Status: New => Triaged

** No longer affects: ofono (Ubuntu Utopic)

** Changed in: ofono (Ubuntu RTM)
     Assignee: (unassigned) => Tony Espy (awe)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1332306

Title:
  Hot-swapped SIMs should be detected and prompt user to reboot

Status in Ubuntu UX bugs:
  Fix Committed
Status in “indicator-network” package in Ubuntu:
  Triaged
Status in “ofono” package in Ubuntu:
  Triaged
Status in “unity8” package in Ubuntu:
  Triaged
Status in “indicator-network” source package in Utopic:
  Triaged
Status in “unity8” source package in Utopic:
  Triaged
Status in “indicator-network” source package in Vivid:
  Triaged
Status in “ofono” source package in Vivid:
  Triaged
Status in “unity8” source package in Vivid:
  Triaged
Status in “indicator-network” package in Ubuntu RTM:
  Triaged
Status in “ofono” package in Ubuntu RTM:
  Triaged
Status in “unity8” package in Ubuntu RTM:
  Triaged

Bug description:
  Our telephony stack doesn't support hot-swapping of SIM cards.  If a
  user hot-swaps a SIM, the telephony stack will become unusable.

  The telephony-service should detect when this happens and display a
  snap-decision informing the user that they need to restart their
  device.

  --

  the functionality is also covered in the OOBE spec pages 9/10
  https://docs.google.com/a/canonical.com/document/d/1VajNkWbBH61iVixXJAmOvNGiG__GWQTMXGNOZijXWJw/edit#

  --

  Summary of required work:
   - enabling ofono hotswap support through environment variable
   - adding the modal dialog to unity8 side
   - modify i-network to detect the hotswapping and trickering
     the dialog from unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1332306/+subscriptions