Cannot set flight mode if the second slot is 3G and we have just one SIM in that slot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Unassigned | ||
ofono (Ubuntu) |
Fix Released
|
High
|
Alfonso Sanchez-Beato |
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/
./set-3g-slot /ril_1
* Reboot the phone after a few seconds
cd /usr/share/
./offline-modem /ril_0
(slot with no SIM)
This happens for:
$ system-image-cli -i
current build number: 141
device name: krillin
channel: ubuntu-
last update: 2015-03-12 07:28:43
version version: 141
version ubuntu: 20150312
version device: 20150210-95b6a9f
version custom: 20150312
Related branches
- Tony Espy: Needs Fixing
- Alfonso Sanchez-Beato: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 230 lines (+95/-76)2 files modifieddebian/changelog (+7/-0)
plugins/mtk.c (+88/-76)
Changed in ofono (Ubuntu): | |
assignee: | nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato) |
description: | updated |
Changed in ofono (Ubuntu): | |
status: | New → Incomplete |
description: | updated |
Changed in ofono (Ubuntu): | |
status: | Incomplete → Confirmed |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in ofono (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww13-2015 |
tags: | added: connectivity |
The reason for the failure is that the radio state reported for the first slot is always SIM_LOCKED_ OR_ABSENT: radio OFF state is only reported for the main (=3G) slot.