[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
fixed: https://github.com/cyphermox/urfkill/pull/6 ** Changed in: urfkill (Ubuntu) Status: Incomplete => 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/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
One suggestion I would make it adding a script to the urfkill that allows the killswitches to be enumerated? We also could add a switch to the existing 'enumerate' script to allow it to dump the killswitch states. Also a monitor-rfkill script would be helpful too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
OK, just as an demonstration how to reproduce the urfkill problem: 1. flash a device 2. check that flightmode is off and wifi is on 3. enable flightmode after this "rfkill list" shows as expected: 0: phy0: Wireless LAN Soft blocked: yes Hard blocked: no 1: hci0: Bluetooth Soft blocked: yes Hard blocked: no but the WLAN killswitch state is wrong: phablet@ubuntu-phablet:~$ dbus-send --system --print-reply --dest=org.freedesktop.URfkill /org/freedesktop/URfkill/WLAN org.freedesktop.DBus.Properties.Get string:org.freedesktop.URfkill.Killswitch string:state method return sender=:1.2 -> dest=:1.69 reply_serial=2 variant int32 0 0 means unblocked, should be 1 (soft-blocked) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
there was a breakage with libstdc++ on our repository earlier today, so I could not do more testing. I will get back to this later todayy and provide more data. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
@Antii I assume you meant verify that urfkill's Killswitch states match what "rfkill list" outputs? I will try and re-test today as well. That said, as we previously discussed, you need to provide a scenario that's reproducible using the UI. I tried testing your proposed flight mode changes in the silo, and the only thing I was able to reproduce appeared to be a bug in the indicator *not* urfkill. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
Will try to some logs today. But please note that this bug is about URfkill.Killswitch objects, not Devices. So the thing to verify and test is that the Killswitch states match what urfkill list is telling: dbus-send --system --print-reply --dest=org.freedesktop.URfkill /org/freedesktop/URfkill/WLAN org.freedesktop.DBus.Properties.Get string:org.freedesktop.URfkill.Killswitch string:state dbus-send --system --print-reply --dest=org.freedesktop.URfkill /org/freedesktop/URfkill/WWAN org.freedesktop.DBus.Properties.Get string:org.freedesktop.URfkill.Killswitch string:state dbus-send --system --print-reply --dest=org.freedesktop.URfkill /org/freedesktop/URfkill/BLUETOOTH org.freedesktop.DBus.Properties.Get string:org.freedesktop.URfkill.Killswitch string:state And that urfkilld properly sends PropertiesChanged on these objects with correct state values. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
** Changed in: urfkill (Ubuntu) Status: New => Incomplete ** Changed in: urfkill (Ubuntu) Assignee: (unassigned) => Antti Kaijanmäki (kaijanmaki) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
As for the initial description, when I manually block WLAN using "rfkill block wlan", I do in fact see a DeviceChanged signal for the WiFi device, and if I run urfkill's enumerate script urfkill does have the correct state. Note, I edited the output from enumerate below to only show the WiFi device. # dbus-monitor --system sender=org.freedesktop.URfkill signal sender=org.freedesktop.DBus -> dest=:1.56 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.56" signal sender=:1.5 -> dest=(null destination) serial=62 path=/org/freedesktop/URfkill; interface=org.freedesktop.URfkill; member=DeviceChanged object path "/org/freedesktop/URfkill/devices/0" # enumerate /org/freedesktop/URfkill/devices/0 Printing props for unspecialized device: /org/freedesktop/URfkill/devices/0 Printing props for Kernel device: /org/freedesktop/URfkill/devices/0 index: 0 name: phy0 platform: 1 type: 1 urftype: org.freedesktop.URfkill.Device.Kernel hard: 0 soft: 1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
Does the indicator still read the state of WiFi from NM, or does it now use urfkill? I flash/wiped u81 on my mako this morning, installed all of the packages from the silo ( except for system-settings which has a newer version available ), and ran some tests. The first problem I encountered was that I wanted to start with WiFi disabled, so that I could re-enable it after FM was activated. So, after the flash of my device, I configured it for write, added the PPA, installed the packages. *Disabled* Wi-Fi from the menu, and rebooted. Problem #1 - the network indicator shows WiFi as enabled. Both "rfkill list" and urfkill's enumerator script show WiFi as soft-blocked. This seems like an indicator bug to me ( although WiFi enabled/disabled is being checked via NM, it could be a NM bug ). So, I manually switch the toggle to disabled and... - enabled FM - enabled WiFi and connect - disable FM ( WiFi stays connected ) - enable FM ( WiFi icon shows disconnected, FM icon appears ) However again when I open the network-menu, WiFi appears active. Again in this case both rfkill and urfkill's enumerate script both show the correct values. So...as far as I'm concerned, although the initial description provides a scenario which causes breakage, it's a scenario that involves the user running command-line tools to make it happen. As such, I'll set the Importance to High, but in my mind, it's not considered a blocker. @Antti, if you *can* come up with a reliable scenario that involves using the UI alone ( vs. cmd-line tools ), again by all means provide detailed steps to reproduce. Also it looks like a new bug should be opened for the scenario I've described. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
when testing, make sure you have swiped the greeter away before trying to use the indicator. Couple of things to try: 1) enable flight mode 2) enable wifi 3) disable flight mode and repeat. At some point the Killswitch objects states get out of sync between what "rfkill list" reports. You can monitor urfkill signals by: sudo dbus-monitor --system sender=org.freedesktop.URfkill the state values you see from the signals are documented here: http://lcp.github.io/urfkill-doc/Killswitch.html#Killswitch:state -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
+ you can also request the states from killswitches by doing: dbus-send --system --print-reply --dest=org.freedesktop.URfkill /org/freedesktop/URfkill/WLAN org.freedesktop.DBus.Properties.Get string:org.freedesktop.URfkill.Killswitch string:state -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1325578] Re: org.freedesktop.URfkill.Killswitch state property not updated correctly
there is a silo now that adds flightmode toggles to indicator-network and system-settigns that eases the debugging of this: https://launchpad.net/~ci-train-ppa-service/+archive/landing-002/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1325578 Title: org.freedesktop.URfkill.Killswitch state property not updated correctly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1325578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs