Cellular settings doesn't work if only one SIM is present in Slot 2

Bug #1375832 reported by Brendan Donegan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Fix Released
High
Jonas G. Drange

Bug Description

If the user has inserted the SIM card in slot 2 then cellular settings is behaving badly. Selecting a radio setting from the list will not persist at all.

To reproduce this issue, boot the device with only one SIM, inserted in slot 2. Open system settings and then the cellular panel. Select either 2G or 2G/3G from the list of Cellular Data settings and go back. Then return to the cellular panel and see that the setting has reverted.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: ubuntu-system-settings 0.3+14.10.20140926-0ubuntu1 [origin: Ubuntu RTM]
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.14.7-0ubuntu1
Architecture: armhf
Date: Tue Sep 30 14:28:19 2014
InstallationDate: Installed on 2014-09-30 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140930-030204)
SourcePackage: ubuntu-system-settings
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :
Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Jonas G. Drange (jonas-drange)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Tony Espy (awe) wrote :

@Brendan

SIM2 is only capable of supporting GSM, so in truth, the system-settings shouldn't be giving you the option to select 2G/3G.

Note, there's a separate bug suggesting an enhancement which would allow the user to decide which slot can support 3G, however it's been decided that this new system setting should be released post-RTM as an OTA update.

Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Brendan Donegan (brendan-donegan) wrote : Re: [Bug 1375832] Re: Cellular settings doesn't work if only one SIM is present in Slot 2

But selecting 2G also doesn't work...

On Tue, Sep 30, 2014 at 5:04 PM, Tony Espy <email address hidden>
wrote:

> @Brendan
>
> SIM2 is only capable of supporting GSM, so in truth, the system-settings
> shouldn't be giving you the option to select 2G/3G.
>
> Note, there's a separate bug suggesting an enhancement which would allow
> the user to decide which slot can support 3G, however it's been decided
> that this new system setting should be released post-RTM as an OTA
> update.
>
>
> ** Changed in: ubuntu-system-settings (Ubuntu)
> Status: Confirmed => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1375832
>
> Title:
> Cellular settings doesn't work if only one SIM is present in Slot 2
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1375832/+subscriptions
>

Revision history for this message
Tony Espy (awe) wrote :

@Brendan

You are correct sir.

I just re-created this on krillin + rtm #72 + AT&T SIM in the 2nd slot ( /ril_1 ).

Note, I'm running my modified urfkill packages, but this should have no affect on the data preferences.

You'll note that the Cellular settings page shows mobile data off, and options for 2g or 2g/3g.

I checked, and list-modems shows ConnectionManager's Powered=1 and Attached=1 which indicates that mobile-data has been enabled. As this is krillin, the second slot is limited to 'gsm' only, so there in truth there should be no option for the user to change the technology preference.

I have two questions about the settings page itself:

1. Are we going to release the re-worked split "mobile data" / "tech preference" UI? [1]

2. What do we do if the modem only supports a single modem technology, should we hide the control?

[1] https://wiki.ubuntu.com/Networking#A.2BIBw-Cellular.2BIB0_settings_on_phone

Revision history for this message
Tony Espy (awe) wrote :

Note, I should have added that I see the same behavior as Brendan too. If I select '2G Only', return to the main settings page, and then re-open 'Cellular', I see 'Off' selected.

Tony Espy (awe)
Changed in ubuntu-system-settings (Ubuntu):
status: Incomplete → Confirmed
Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → In Progress
tags: added: touch-2014-10-16
Revision history for this message
Tony Espy (awe) wrote :

I just reproduced this on rtm #80 w/the packages from rtm silo-024 ( urfkill ) installed. These should have no effect on this bug, but it's best to include all details.

I can again reproduce this bug. I removed SIM1, rebooted, and when I got to cell settings, cellular data is 'off'.

I'm pretty sure this switch control the NM property "WWAN". If I run 'nmcli nm' I see:

root@ubuntu-phablet:~# nmcli nm
RUNNING STATE WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
running disconnected enabled enabled enabled disabled

I try to select 2G ( which actually should be the only option for SIM2 ) and it selects, but it appears NM's WWAN property doesn't toggle to 'enabled'. If I go back to the main settings screen, and then come back to cell settings, again it's back to 'Off'.

Revision history for this message
Jonas G. Drange (jonas-drange) wrote : Re: [Bug 1375832] [NEW] Cellular settings doesn't work if only one SIM is present in Slot 2

Thanks Tony,

this will be fixed as soon as the linked branch lands. I've added a
regression test as well. The bug was caused by the ui using the wrong modem
path.

On Friday, 3 October 2014, Tony Espy <email address hidden> wrote:

> I just reproduced this on rtm #80 w/the packages from rtm silo-024 (
> urfkill ) installed. These should have no effect on this bug, but it's
> best to include all details.
>
> I can again reproduce this bug. I removed SIM1, rebooted, and when I
> got to cell settings, cellular data is 'off'.
>
> I'm pretty sure this switch control the NM property "WWAN". If I run
> 'nmcli nm' I see:
>
> root@ubuntu-phablet:~# nmcli nm
> RUNNING STATE WIFI-HARDWARE WIFI
> WWAN-HARDWARE WWAN
> running disconnected enabled enabled
> enabled disabled
>
> I try to select 2G ( which actually should be the only option for SIM2 )
> and it selects, but it appears NM's WWAN property doesn't toggle to
> 'enabled'. If I go back to the main settings screen, and then come back
> to cell settings, again it's back to 'Off'.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1375832
>
> Title:
> Cellular settings doesn't work if only one SIM is present in Slot 2
>
> Status in “ubuntu-system-settings” package in Ubuntu:
> In Progress
>
> Bug description:
> If the user has inserted the SIM card in slot 2 then cellular settings
> is behaving badly. Selecting a radio setting from the list will not
> persist at all.
>
> To reproduce this issue, boot the device with only one SIM, inserted
> in slot 2. Open system settings and then the cellular panel. Select
> either 2G or 2G/3G from the list of Cellular Data settings and go
> back. Then return to the cellular panel and see that the setting has
> reverted.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.10
> Package: ubuntu-system-settings 0.3+14.10.20140926-0ubuntu1 [origin:
> Ubuntu RTM]
> Uname: Linux 3.4.67 armv7l
> ApportVersion: 2.14.7-0ubuntu1
> Architecture: armhf
> Date: Tue Sep 30 14:28:19 2014
> InstallationDate: Installed on 2014-09-30 (0 days ago)
> InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf
> (20140930-030204)
> SourcePackage: ubuntu-system-settings
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1375832/+subscriptions
>

Changed in ubuntu-system-settings (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.3+14.10.20141007-0ubuntu1

---------------
ubuntu-system-settings (0.3+14.10.20141007-0ubuntu1) utopic; urgency=low

  [ jonas-drange ]
  * [wifi/phone] dynamically chooses what SIM to use when there's only
    one present. (LP: #1375832)
 -- Ubuntu daily release <email address hidden> Tue, 07 Oct 2014 18:21:03 +0000

Changed in ubuntu-system-settings (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.