dual sim handset cannot select default sim
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
Critical
|
Bill Filler | ||
| | telepathy-ofono (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
ubuntu-
Flash a handset 'fresh', I used:
ubuntu-device-flash touch --channel ubuntu-
Allow the flash to complete, and walk through the welcome wizard (I left everything at default, selecting 5555 as a pin).
Allow unity to boot to the greeter, and swipe to dismiss it. Complete the edge tutorial
Launch the phone dialler from the launcher.
Get a dialog: "Switch to Default SIM:". Observe that the line below is blank, where previous builds had a 'SIM 1, SIM 2' widget.
It is impossible to select a default SIM. The offered choices are 'no' or 'later'. Select 'later', and attempt to dial a number.
When you press the green 'dial' button', get this dialog:
"No SIM card selected"
The header of the app appears to lack the previous SIM 1 | SIM2 widget.
There appears to be no way to select a SIM, and therefore no way to place a call
device has two sims installed. Both register normally according to the indicators
Related branches
- Gustavo Pichorim Boiko (community): Approve on 2015-06-02
- PS Jenkins bot: Approve (continuous-integration) on 2015-06-02
-
Diff: 80 lines (+32/-1)2 files modifieddebian/control (+1/-1)
mc-plugin/mcp-account-manager-ofono.c (+31/-0)
| John McAleely (john.mcaleely) wrote : | #1 |
| Changed in canonical-devices-system-image: | |
| importance: | Undecided → Critical |
| milestone: | none → ww22-2015 |
| description: | updated |
| John McAleely (john.mcaleely) wrote : | #2 |
#10 is good. #16 is bad. will pin down the build this regressed in.
| John McAleely (john.mcaleely) wrote : | #3 |
Build #13 is fine, and #14 reproduces this. The first bad build is this one:
http://
"version_detail": "ubuntu=
build 13 is:
"ubuntu=
so this looks like a rootfs change broke things.
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Bill Filler (bfiller) |
| Changed in dialer-app: | |
| assignee: | nobody → Tiago Salem Herrmann (tiagosh) |
| importance: | Undecided → Critical |
| Tiago Salem Herrmann (tiagosh) wrote : | #4 |
Can you provide the output of "mc-tool dump"?
| John McAleely (john.mcaleely) wrote : | #5 |
Sure tiagosh. here you go:
phablet@
phablet@
Account: ofono/ofono/
Display Name: SIM 2
Enabled: enabled
Icon: im-ofono
Connects: automatically
Service: ofono
Presences:
Automatic: available (2) ""
Current: registered (2) "giffgaff"
Requested: available (2) ""
Changing: no
(string) modem-objpath = /ril_1
-------
Account: ofono/ofono/
Display Name: SIM 1
Enabled: enabled
Icon: im-ofono
Connects: automatically
Service: ofono
Presences:
Automatic: available (2) ""
Current: registered (2) "giffgaff"
Requested: available (2) ""
Changing: no
(string) modem-objpath = /ril_0
phablet@
| John McAleely (john.mcaleely) wrote : | #6 |
If I kill dialler-app from the carosel, and then restart, it works as expected, and the picker for the two sims is presented (and appears to function.
phablet@
-rw-r----- 1 phablet phablet 6328 Jun 1 16:20 application-
phablet@
| John McAleely (john.mcaleely) wrote : | #7 |
/home/phablet/
| John McAleely (john.mcaleely) wrote : | #8 |
Per tiagosh's request, I can reproduce the same sequence using the messaging-app. No functional selection at boot.
Interestingly, kill and restart doesn't seem to have fixed the issue with messaging app
| John McAleely (john.mcaleely) wrote : | #9 |
phablet@
application-
(file attached)
| tags: | added: lt-blocker lt-category-visible |
| Jonas G. Drange (jonas-drange) wrote : | #10 |
Are you able to set the default SIM for calls in Ubuntu System Settings? Settings -> Cellular -> Default for calls.
Also, for debugging, here's how to list the actual setting:
$ $ gsettings get com.ubuntu.
| John McAleely (john.mcaleely) wrote : | #11 |
@jonas-drange, yes, the Ubuntu System Settings method works.
I will reflash and post the result of the gsettings call in the 'bad' state.
| John McAleely (john.mcaleely) wrote : | #12 |
gsettings reports:
phablet@
No such schema 'com.ubuntu.
| Tiago Salem Herrmann (tiagosh) wrote : | #13 |
The attached branch fixes the issue.
The problem is that the labels are empty in gsettings on first boot and they are only populated when you open system-settings.
Previously they were populated by ofono-setup script, but now the accounts are created by the mission control plugin.
| Changed in canonical-devices-system-image: | |
| status: | New → In Progress |
| Changed in dialer-app: | |
| status: | New → In Progress |
| Changed in dialer-app (Ubuntu RTM): | |
| importance: | Undecided → Critical |
| status: | New → In Progress |
| Pat McGowan (pat-mcgowan) wrote : | #14 |
landed to vivid overlay
| no longer affects: | dialer-app |
| no longer affects: | dialer-app (Ubuntu RTM) |
| Changed in telepathy-ofono (Ubuntu): | |
| status: | New → In Progress |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Released |
| Launchpad Janitor (janitor) wrote : | #15 |
This bug was fixed in the package telepathy-ofono - 0.2+15.
---------------
telepathy-ofono (0.2+15.
[ CI Train Bot ]
* New rebuild forced.
[ Tiago Salem Herrmann ]
* Set account display name in gsettings if empty. (LP: #1460111)
-- CI Train Bot <email address hidden> Wed, 03 Jun 2015 19:28:00 +0000
| Changed in telepathy-ofono (Ubuntu): | |
| status: | In Progress → Fix Released |

I also observed this on #17 yesterday.