Cellular Data Prefs not preserved if FlightMode enabled, then disabled

Bug #1376957 reported by Tony Espy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Undecided
Unassigned
ubuntu-system-settings (Ubuntu)
Fix Released
Critical
Jonas G. Drange
ubuntu-system-settings (Ubuntu RTM)
Fix Released
Undecided
Unassigned

Bug Description

This bug is being reported after being reproduced on krillin running rtm image #72 + a pending version of urfkill and indicator-network from silo-024 ( urfkill: urfkill 0.6.0~20140708.110711.a0581f3-0ubuntu2 ).

With two unlocked SIMs installed, and SIM#2 selected for mobile-data ( 2G is the only option ), when flight-mode is enabled, the cell settings page no longer displays the two SIMs under 'Cellular data:' , it just displays 'Off', '2G only...', '2G/3G/4G'. This is likely due to the fact that the ofono SimManager interfaces disappear when flight-mode is enabled on krillin ( hardware quirk ).

When flight-mode is disabled, the UI is restored, however 'Cellular data' is set to Off.

Related branches

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

Here's a screenshot of cell settings after flight-mode has been enabled.

Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Tony Espy (awe) wrote :

And here's a screenshot that shows cell settings after flight-mode has been disabled.

summary: - [cellular] Mobile Data Preferences not preserved if FlightMode enabled,
- then disabled
+ Cellular Data Prefs not preserved if FlightMode enabled, then disabled
tags: added: rtm14
Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

@awe, could you take a look at bug 1375832 and see if you've duplicated it? Just seems this would happen no matter past flight modes.

tags: added: touch-2014-10-16
Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Jonas G. Drange (jonas-drange)
Revision history for this message
Tony Espy (awe) wrote :

I definitely see differences between single SIM and dual-SIM. Bug #1375832 involves a single SIM in slot2, and I can't get mobile data to enable at all.

This bug deals with dual SIMs installed, and it appears I can enable mobile data on one of them, it's just when FM is enabled, it causes system settings to forget that mobile data is enabled, and which SIM was selected.

Both might be caused by the same underlying bugs, but based on symptoms alone, they're not the same.

Changed in ubuntu-system-settings (Ubuntu):
status: New → Confirmed
Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → Triaged
Changed in ubuntu-system-settings (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

It looks that NetworkManager is involved in this. As I recently discovered, ConnectionManager's property persists across ofono re-starts and also when we offline/online modems. So this should not really be a system-settings issue. With the configuration said in the bug description (SIM 2 data activated), I have sneaked at the DBus interface while **setting** flight mode. I have seen:

...
method call sender=:1.8 -> dest=org.ofono serial=3356 path=/ril_1; interface=org.ofono.ConnectionManager; member=SetProperty
   string "Powered"
   variant boolean false
...

root@ubuntu-phablet:/home/phablet# dbus-send --system --print-reply --dest=org.freedesktop.DBus / org.freedesktop.DBus.GetConnectionUnixProcessID string:":1.8"
method return sender=org.freedesktop.DBus -> dest=:1.125 reply_serial=2
   uint32 1395
root@ubuntu-phablet:/home/phablet# ps -ef|grep 1395
root 1395 1 0 20:23 ? 00:00:02 NetworkManager

NetworkManager is powering off ConnectionManager SIM 2 interface. If instead of having SIM 2 powered I have SIM 1, I do not see this.

Olli Ries (ories)
tags: added: touch-2014-10-23
removed: touch-2014-10-16
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.3+14.10.20141017~rtm-0ubuntu1

---------------
ubuntu-system-settings (0.3+14.10.20141017~rtm-0ubuntu1) 14.09; urgency=low

  [ Ken VanDine ]
  * Updated the pot file.

  [ jonas-drange ]
  * [cellular] indirectly recreate ConnectionManager interface's dbus
    proxy so it reports the true value of 'Powered' after flight mode
    (LP: #1376957)

  [ Iain Lane ]
  * [sound] Make listSounds take a list of directories and list all of
    the files in them, instead of assuming "/custom" all the time.

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Sebastien Bacher ]
  * [sound] list custom ringtones as well (LP: #1381528)

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

  [ Ken VanDine ]
  * Add an APN editor. (LP: #1225174)
 -- Ubuntu daily release <email address hidden> Fri, 17 Oct 2014 14:57:51 +0000

Changed in ubuntu-system-settings (Ubuntu RTM):
status: New → Fix Released
Changed in ubuntu-system-settings (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Tony Espy (awe) wrote :

@Alfonso

I changed the NM task to Incomplete, as I'm not sure NM is still involved. The original NM/ofono patches actually would toggle the ConnectionManager's 'Powered' attribute, however this code was removed, so I think this can be considered 'FixReleased'.

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Tony Espy (awe) wrote :

After discussion with Alfonso, this was fixed. Moving the network-manager Status to 'FixReleased'.

Changed in network-manager (Ubuntu):
status: Incomplete → 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.