[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-10-07 Thread Launchpad Bug Tracker
This bug was fixed in the package urfkill -
0.6.0~20141007.235123.f908aff.1-0ubuntu1

---
urfkill (0.6.0~20141007.235123.f908aff.1-0ubuntu1) utopic; urgency=medium

  * New release snapshot:
- Asynchronous support for rfkill operations. (LP: #1321627, #1339794)
- Improvements to state persistence. (LP: #1354716)
- Support for devices driven by libhybris rather than rfkill.
  * debian/patches/ignore_input_monitor_startup.patch: dropped, included
upstream.
  * debian/control:
- bump Build-Depends on libglib2.0-dev to = 2.36 for GTask.
- add a Build-Depends on libhybris-dev for hybris-driven devices support.
- bump Standards-Version to 3.9.5.
  * debian/scripts/enumerate: handle the new hybris device type.
  * debian/rules: remove SysV init startup links.
 -- Mathieu Trudel-Lapierre mathieu...@ubuntu.com   Tue, 07 Oct 2014 23:53:07 
-0400

** Changed in: urfkill (Ubuntu RTM)
   Status: Fix Committed = Fix Released

** Branch linked: lp:ubuntu/utopic-proposed/urfkill

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-10-07 Thread Launchpad Bug Tracker
This bug was fixed in the package urfkill -
0.6.0~20141007.235123.f908aff.1-0ubuntu1

---
urfkill (0.6.0~20141007.235123.f908aff.1-0ubuntu1) utopic; urgency=medium

  * New release snapshot:
- Asynchronous support for rfkill operations. (LP: #1321627, #1339794)
- Improvements to state persistence. (LP: #1354716)
- Support for devices driven by libhybris rather than rfkill.
  * debian/patches/ignore_input_monitor_startup.patch: dropped, included
upstream.
  * debian/control:
- bump Build-Depends on libglib2.0-dev to = 2.36 for GTask.
- add a Build-Depends on libhybris-dev for hybris-driven devices support.
- bump Standards-Version to 3.9.5.
  * debian/scripts/enumerate: handle the new hybris device type.
  * debian/rules: remove SysV init startup links.
 -- Mathieu Trudel-Lapierre mathieu...@ubuntu.com   Tue, 07 Oct 2014 23:53:07 
-0400

** Changed in: urfkill (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-09-29 Thread Tony Espy
** Also affects: urfkill (Ubuntu RTM)
   Importance: Undecided
   Status: New

** Changed in: urfkill (Ubuntu RTM)
   Importance: Undecided = Critical

** Changed in: urfkill (Ubuntu RTM)
 Assignee: (unassigned) = Tony Espy (awe)

** Changed in: urfkill (Ubuntu)
   Status: In Progress = Fix Committed

** Changed in: urfkill (Ubuntu RTM)
   Status: New = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-09-17 Thread Tony Espy
Updated milestone as landing the required fix requires additional fixes
to indicator-network.

There also have been some krillin-specific timeout issues that have
taken longer to debug than expected.

** Tags removed: touch-2014-09-18
** Tags added: touch-2014-09-25

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-09-12 Thread Launchpad Bug Tracker
** Branch linked: lp:~mathieu-tl/+junk/urfkill-debian

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-09-09 Thread Tony Espy
** Tags added: touch-2014-09-18

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-08-13 Thread Thomas Strehl
** Tags added: rtm14

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-08-11 Thread Tony Espy
** Changed in: urfkill (Ubuntu)
 Assignee: Mathieu Trudel-Lapierre (mathieu-tl) = Tony Espy (awe)

** Changed in: urfkill (Ubuntu)
   Importance: High = Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-08-05 Thread Martti Piirainen
FWIW, I can still fairly easily reproduce this in mako hw, image 171, by
toggling ca. every 1-2 seconds (so not super fast). While in the error
state, the overall flight mode state can still be toggled (incl.
Bluetooth and WiFi radios), but the cellular modem stays offline and
shows soft=true in /var/lib/urfkill/saved-states (and the WWAN setting
is even preserved over reboot).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-07-17 Thread Mathieu Trudel-Lapierre
Let's use bug 1321627 for the issues with WWAN state is the Online
operation fails in oFono.

This bug here will cover only the devices states when flight-mode is
rapidly toggled.

There is no question, the two bugs are linked, but they need to be fixed
independently.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-07-17 Thread Tony Espy
syslog from rfkill stress testing

** Attachment added: mako-urfkill-syslog.txt
   
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+attachment/4154990/+files/mako-urfkill-syslog.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-07-17 Thread Tony Espy
Also note that  the output of 'rfkill list' shows both BT and Wi-Fi
soft-blocked:

root@ubuntu-phablet:~# rfkill list
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no


** Attachment added: debug output from ofono/urfkill scripts
   
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+attachment/4154988/+files/mako-rfkill-debug-output.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-07-17 Thread Tony Espy
Testing urfkill  - 0.6.0~20140708.110711.a0581f3-0ubuntu3~mtrudel1 on
mako/#u132 + ofono -  1.12.bzr6870+14.10.20140717-0ubuntu1 from
silo-015.

I'm still able to reproduce the problem, and actually in this case, it
looks like all the devices ended-up in blocked state.

I rapidly toggled the FM switch on the main System Settings panel.  At
some point, the modem stopped responding, and never came back online.

So in summary of phone's state is:

1. FM toggle on main Settings page is off
2. ofono's 'list-modems' shows modem 'Online = 0'  ( should be 'Online = 1' )
3. urfkill's 'flight-mode' script shows 'flight mode is: 0'
4. urfkill's 'enumerate' script shows all of the devices as 'soft=true'

See attached debug output for details.   I will also attach a stripped
down syslog from the same session.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-07-17 Thread Tony Espy
One last clue, here's the contents of /var/lib/urfkill/saved-states:

root@ubuntu-phablet:~# more /var/lib/urfkill/saved-states 
[WLAN]
soft=true

[BLUETOOTH]
soft=true

[UWB]
soft=false

[WIMAX]
soft=false

[WWAN]
soft=false

[GPS]
soft=false

[FM]
soft=false

[NFC]
soft=false

[ALL]
soft=false

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-07-17 Thread Tony Espy
Finally, I was able to toggle flight-mode on and then off again and I
did get the modem, Wi-Fi and BT unblocked, however the GPRS connection
was not re-established.   'list-contexts' shows none active, and
Cellular Settings shows Data off.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-07-16 Thread Mathieu Trudel-Lapierre
This does not cover retry logic, but I've modified the flight mode
handling a bit so that we don't try to set the modem back to a saved
state once flight mode is toggled off: in other words, when it's toggled
rapidly, the modem should follow the requested flight mode state
exactly.

Should the modem still fail to get online or offline; the flight mode
switch can be toggled again to effectively do a manual retry.

The proposed fix is in my PPA: ppa:mathieu-tl/nv-build, as urfkill
0.6.0~20140708.110711.a0581f3-0ubuntu3~mtrudel1.

I would very much appreciate some careful testing to confirm at least
part of the issue is covered.

** Changed in: urfkill (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: urfkill (Ubuntu)
 Assignee: (unassigned) = Mathieu Trudel-Lapierre (mathieu-tl)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-07-09 Thread Tony Espy
I've confirmed that this isn't an issue with urfkill.

The scenario I ran was to open a window and run the ofono-monitor
script:

$ adb shell /usr/share/ofono/scripts/monitor-ofono

...and then in another terminal use the urfkill flight-mode switch to
toggle the modem on/off/on/off...

The output of monitor-ofono looks fine to me and the modem is
continuously toggled Online/Offline/...

** Changed in: indicator-network (Ubuntu)
   Status: New = Confirmed

** Changed in: indicator-network (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-network/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1339794] Re: When toggling flight mode rapidly, cellular state gets stuck

2014-07-09 Thread Tony Espy
OK, please disregard my previous comment.

I found it easier to reproduce this bug from system settings vs. the
network indicator as I can just toggle the switch without having to open
the menu again to toggle the next time.

I was able to reproduce the problem you describe, but the culprit
appears to be urfkill and not the indicator/settings code.

Eventually the I managed to get the phone in a state where Flight-Mode
was disabled, however the modem was offline:

espy@shrike:% adb shell /usr/share/urfkill/scripts/flight-mode
flight-mode is: 0
espy@shrike:% adb shell /usr/share/ofono/scripts/list-modems | grep Online
Online = 0

When I examine the syslog, I see the following errors reported:

Jul  9 17:56:54 ubuntu-phablet URfkill[936]: warning Could not set
Online property in oFono: GDBus.Error:org.ofono.Error.InProgress:
Operation already in progress


** Package changed: indicator-network (Ubuntu) = urfkill (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1339794

Title:
  When toggling flight mode rapidly, cellular state gets stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1339794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs