← Back to team overview

ubuntu-phonedations-bugs team mailing list archive

[Bug 1430700] Re: Cannot set flight mode if the second slot is 3G and we have just one SIM in that slot

 

@Tony, answering your questions

1. Setting the second slot as 3G under the conditions commented in the
bug description gets stalled. No direct error shown in the log. The
error is that we are waiting for a change in radio state that does never
happen (second slot reports SIM_LOCKED_OR_ABSENT always).

2. The reboot was required because setting 3G does not finish

3. Yes, the modem without SIM cannot be offlined, for the same reason
explained in point (1). /ril_0 is always the first slot to be offlined
by urfkill, but the behaviour changes depending on whether it is the 3G
slot or not. That is why that second slot is 3G is important. Note also
that the commands send to offline one slot depend on whether both slots
are on or just one is on.

4. No, no direct error shown

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

Title:
  Cannot set flight mode if the second slot is 3G and we have just one
  SIM in that slot

Status in ofono package in Ubuntu:
  Incomplete

Bug description:
  Flight mode fails to be set if we have the 3G capabilities set for the
  second slot and we have just one SIM, which is inserted in the that
  slot.

  To reproduce it:

  Precondition: The 3G slot should be the first slot initially

  1. Remove SIM from first slot, insert a SIM in the second slot
  2. Power on the phone
  3. Go to system settings -> cellular
  4. Select "2G/3G (faster)" for SIM 2. Spinner does not stop after more than 1 minute.
  5. Reboot the phone
  6. Set flight mode from the indicator. It will appear as set, but the indicator will still show the SIM as registered.

  The failure to set SIM 2 as 3G without rebooting and being unable to
  set flight more are manifestations of the same ofono issue.

  To reproduce using scripts:

  cd /usr/share/ofono/scripts
  ./set-3g-slot /ril_1
  * Reboot the phone after a few seconds
  cd /usr/share/ofono/scripts
  ./offline-modem /ril_0
  (slot with no SIM)

  This happens for:

  $ system-image-cli -i
  current build number: 141
  device name: krillin
  channel: ubuntu-touch/vivid-proposed
  last update: 2015-03-12 07:28:43
  version version: 141
  version ubuntu: 20150312
  version device: 20150210-95b6a9f
  version custom: 20150312

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1430700/+subscriptions


References