← Back to team overview

ubuntu-phonedations-bugs team mailing list archive

[Bug 1417445] Re: SIM not reported as locked after toggling FlightMode (arale) or re-starting ofono

 

I cannot access the Cellular Settings when the flight mode is ON. I get the following message 'No SIM detected, insert a SIm then reboot the device'.
Is this related to this bug?

Meizu mx4 ota 12 stable

-- 
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/1417445

Title:
  SIM not reported as locked after toggling FlightMode (arale) or re-
  starting ofono

Status in Canonical System Image:
  Confirmed
Status in ofono package in Ubuntu:
  Confirmed

Bug description:
  To reproduce this in mako:

  1. Start mako with a locked SIM

  2. Enter PIN

  3. list-modems outpus shows
  [ /ril_0 ]
      [ org.ofono.SimManager ]
          PinRequired = none
          LockedPins = pin

  4. Execute
    # restart ofono

  5. list-modems outpus shows
  [ /ril_0 ]
      [ org.ofono.SimManager ]
          PinRequired = none
          LockedPins =

  which is wrong, as the PIN is enabled, although you do not need to
  enter it at this moment.

  The origin of this is that ofono core sets LockedPins only if it notes
  that we are required to enter the PIN. When the SIM atom is created,
  if at that moment there is no need to insert the PIN it will not set
  the PIN as locked (=enabled).

  For mako this is not a big issue unless it is re-spawned after a
  crash, but in other devices (arale), this happens simply switching
  off, then on flight mode.

  Happens in vivid-proposed image #86.

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


References