dual sim handset cannot select default sim

Bug #1460111 reported by John McAleely on 2015-05-29
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Critical
Bill Filler
telepathy-ofono (Ubuntu)
Undecided
Unassigned

Bug Description

ubuntu-touch/rc-proposed/bq-aquaris.en #18, krillin

Flash a handset 'fresh', I used:

ubuntu-device-flash touch --channel ubuntu-touch/rc-proposed/bq-aquaris.en --recovery-image recovery.img --bootstrap

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

John McAleely (john.mcaleely) wrote :

I also observed this on #17 yesterday.

Changed in canonical-devices-system-image:
importance: Undecided → Critical
milestone: none → ww22-2015
description: updated
John McAleely (john.mcaleely) wrote :

#10 is good. #16 is bad. will pin down the build this regressed in.

John McAleely (john.mcaleely) wrote :

Build #13 is fine, and #14 reproduces this. The first bad build is this one:

http://system-image.ubuntu.com/ubuntu-touch/rc-proposed/bq-aquaris.en/krillin/version-14.json

"version_detail": "ubuntu=20150525,device=20150511-3912934,custom=20150507-685-29-11-vivid,version=14"

build 13 is:

"ubuntu=20150522,device=20150511-3912934,custom=20150507-685-29-11-vivid,version=13"

so this looks like a rootfs change broke things.

Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
Bill Filler (bfiller) on 2015-06-01
Changed in dialer-app:
assignee: nobody → Tiago Salem Herrmann (tiagosh)
importance: Undecided → Critical
Tiago Salem Herrmann (tiagosh) wrote :

Can you provide the output of "mc-tool dump"?

John McAleely (john.mcaleely) wrote :

Sure tiagosh. here you go:

phablet@ubuntu-phablet:~$ mc-tool dump > op.txt
phablet@ubuntu-phablet:~$ cat op.txt
     Account: ofono/ofono/account1
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/account0
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@ubuntu-phablet:~$

John McAleely (john.mcaleely) wrote :

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@ubuntu-phablet:~/.cache/upstart$ ls -l *dialer-app*.log
-rw-r----- 1 phablet phablet 6328 Jun 1 16:20 application-legacy-dialer-app-.log
phablet@ubuntu-phablet:~/.cache/upstart$

John McAleely (john.mcaleely) wrote :

/home/phablet/.cache/upstart/application-legacy-dialer-app-.log

John McAleely (john.mcaleely) wrote :

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 :

phablet@ubuntu-phablet:~/.cache/upstart$ ls *messaging*
application-legacy-messaging-app-.log

(file attached)

tags: added: lt-blocker lt-category-visible
Jonas G. Drange (jonas-drange) wrote :

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.touch.phone default-sim-for-calls

John McAleely (john.mcaleely) wrote :

@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 :

gsettings reports:

phablet@ubuntu-phablet:~$ gsettings get com.ubuntu.touch.phone default-sim-for-calls
No such schema 'com.ubuntu.touch.phone'

Tiago Salem Herrmann (tiagosh) wrote :

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 :

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 :

This bug was fixed in the package telepathy-ofono - 0.2+15.10.20150603-0ubuntu1

---------------
telepathy-ofono (0.2+15.10.20150603-0ubuntu1) wily; urgency=medium

  [ 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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers