Indicator icons don't reflect modem Offline state

Bug #1315144 reported by Tony Espy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Menu
Fix Released
Undecided
Unassigned
indicator-network (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

While testing FlightMode on mako, I noticed that whenever the modem is offlined, the data tech indicator briefly changes from 3G to disconnected, and then re-displays 3G. The cellular signal strength icon never changes. When the modem is offline, both should indicate that the modem is offline ( ie. no signal, and no data connection ).

Tested on mako running image #u4.

Note, I tested with the following packages and setup changes ( upstart jobs are attached to this bug ):

Package Versions:
 - urfkill: 0.5.0+20140429.092522.b3b9563-0ubuntu1~mtrudel4 ( ppa:mathieu-tl/nv-build )
 - network-manager: 0.9.8.8-0ubuntu9~mtrudel1 ( ppa:mathieu-tl/nv-build )
 - ofono: 1.12.bzr6858+14.10.20140501-0ubuntu1 ( lp:~ci-train-ppa-service/+archive/landing-008/ )
 - telepathy-ofono: 0.2+14.04.20140407-0ubuntu1~awe1 ( ppa:awe/ppa )

Other Setup:
 - /etc/system-image/writable-paths needs an entry for /var/lib/urfkill
 - rild.conf and ofono.override need to be manually uploaded to /etc/init

Steps to Test:

1. Follow setup from above and reboot after packages are installed.
2. Use the attached script rfkill-flight-mode to query the state of flight-mode ( it should be off initially )
3. Run '/usr/share/ofono/scripts/list-modems | grep Online' to check the state of the modem
4. Run 'rfkill-flight-mode 1'

Notice that the 3G icon briefly shows disconnected, but then comes back up.

Related branches

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

This job needs to be copied to /etc/init on the device.

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

This file needs to be copied to /etc/init on the device.

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

This script can be used to query ( no args ) or enable/disable flight-mode:

enable: rfkill-flight-mode 1
disable: rfkill-flight-mode 0

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-network - 0.5.1+14.10.20140807-0ubuntu1

---------------
indicator-network (0.5.1+14.10.20140807-0ubuntu1) utopic; urgency=low

  [ Antti Kaijanmäki ]
  * Add ModemInfoItem. (LP: #1315144)
 -- Ubuntu daily release <email address hidden> Thu, 07 Aug 2014 01:46:51 +0000

Changed in indicator-network (Ubuntu):
status: New → Fix Released
Changed in indicator-network:
status: New → 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.