[Bug 957071] New: Blueberry OFF toggle does not actually turn off bluetooth
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 Bug ID: 957071 Summary: Blueberry OFF toggle does not actually turn off bluetooth Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: sb56637@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello, the current Tumbleweed version of the Blueberry bluetooth management GUI (1.1.0) has a big ON/OFF toggle. However, this toggle does nothing. After toggling it OFF and re-opening Bluberry, it is again shown as ON. I am using the integrated bluetooth device of a Lenovo Thinkpad T530 laptop. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c1 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com, | |sor.alexei@meowr.ru --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> --- you could try calling as root rfkill list to see the status while blueberry is running or stopped -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- I cannot reproduce it on my Acer B-115M laptop. rfkill shows a change in 1: acer-bluetooth: Bluetooth Soft blocked: yes Hard blocked: no and when restarting blueberry, it still shows the status as off. Maybe because you have a different kind of bluetooth adapter? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c3 --- Comment #3 from S. B. <sb56637@gmail.com> --- Thanks Bernhard for taking a look. I am attaching some screenshots. I'm also attaching some hardware info. I really don't understand why there are two Bluetooth devices listed. I only have one, and it's integrated into the Thinkpad T530 laptop. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c4 --- Comment #4 from S. B. <sb56637@gmail.com> --- Created attachment 657693 --> http://bugzilla.opensuse.org/attachment.cgi?id=657693&action=edit Bluetooth "on" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c5 --- Comment #5 from S. B. <sb56637@gmail.com> --- Created attachment 657694 --> http://bugzilla.opensuse.org/attachment.cgi?id=657694&action=edit Bluetooth "off" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c6 --- Comment #6 from S. B. <sb56637@gmail.com> --- Created attachment 657695 --> http://bugzilla.opensuse.org/attachment.cgi?id=657695&action=edit Blueberry closed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c7 --- Comment #7 from S. B. <sb56637@gmail.com> --- Created attachment 657696 --> http://bugzilla.opensuse.org/attachment.cgi?id=657696&action=edit hwinfo -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c8 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Kernel Assignee|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com --- Comment #8 from Bernhard Wiedemann <bwiedemann@suse.com> --- It looks as if the soft-blocked bit is never set. Could be a kernel bug around rfkill. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c9 --- Comment #9 from S. B. <sb56637@gmail.com> --- It doesn't seem to be a kernel bug, because I just tried Blueman 2.0.1 and it correctly turns the bluetooth adapter on/off. With Blueman I disable Bluetooth and my bluetooth connected devices stop working as expected. Here is what I see after disabling bluetooth in Blueman: ------------------- #> rfkill list 0: tpacpi_bluetooth_sw: Bluetooth Soft blocked: yes Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c10 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com Component|Kernel |Network Assignee|kernel-maintainers@forge.pr |sor.alexei@meowr.ru |ovo.novell.com | --- Comment #10 from Takashi Iwai <tiwai@suse.com> --- OK, then this looks more like a blueberry-specific problem. Reassigned to blueberry maintainer. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c11 --- Comment #11 from Alexei Sorokin <sor.alexei@meowr.ru> --- Was it ruled out that this is a GNOME Bluetooth bug? If it was, then this bugreport should be reported upstream. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c12 --- Comment #12 from S. B. <sb56637@gmail.com> --- Hi Alexei, how can I rule out the possibility of a gnome-bluetooth bug? I have the "gnome-bluetooth" package installed, but it appears to consist of just icons and documentation files. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c13 --- Comment #13 from Alexei Sorokin <sor.alexei@meowr.ru> --- S.B., well, I don't know, check bluetooth in GNOME Shell :-). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 Alexei Sorokin <sor.alexei@meowr.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sb56637@gmail.com Flags| |needinfo?(sb56637@gmail.com | |) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c14 --- Comment #14 from S. B. <sb56637@gmail.com> --- Bug still present in Tumbleweed and Leap 42.1 and 42.2. I've tried this with dozens of different installations on dozens of devices, and it always fails to turn off bluetooth. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c15 --- Comment #15 from Alexei Sorokin <sor.alexei@meowr.ru> --- S. B., and it really only happens with blueberry? That's very-very unlikely that it does. Confirming that it doesn't will allow me to reassign this bug to the GNOME maintenance team as gnome-bluetooth is their package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c16 --- Comment #16 from S. B. <sb56637@gmail.com> --- Yes, this only happens with Blueberry. Gnome Bluetooth works correctly, as does Blueman to turn off the bluetooth device. I'm thinking this might be a missing dependency that Blueberry needs that is declared as "recommended" in the RPM spec? I run a system with installation of recommended packages disabled by default. Thanks for looking into this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c17 Maurizio Galli <maurizio.galli@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maurizio.galli@gmail.com --- Comment #17 from Maurizio Galli <maurizio.galli@gmail.com> --- Is there any update on this? I just noticed I have the same issue. However no problems when using Blueman Device: Lenovo Thinkpad T460 DE: Xfce OS: Tumbleweed Blueberry version: 1.2.3-2.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c18 S. B. <sb56637@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #18 from S. B. <sb56637@gmail.com> --- At some point during the past few months in Tumbleweed it seems to have just magically started working. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c19 --- Comment #19 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to S. B. from comment #18)
At some point during the past few months in Tumbleweed it seems to have just magically started working.
ok well I run a few more tests and if I don't get anywhere I will open a new report -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c20 --- Comment #20 from Bernhard Wiedemann <bwiedemann@suse.com> --- I guess it requires rfkill which was its own small package before, but now is part of util-linux so it is always there. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c21 --- Comment #21 from Alexei Sorokin <sor.alexei@meowr.ru> ---
I guess it requires rfkill which was its own small package before, but now is part of util-linux so it is always there.
Bernhard, it was always taken into account. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c22 --- Comment #22 from S. B. <sb56637@gmail.com> --- I don't think it was `rfkill`, as I've always had it installed. But I do think it was some missing dependency that was marked as recommended that should have been required, since I run a system with recommended package installation disabled. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c23 Alexei Sorokin <sor.alexei@meowr.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME |--- Flags|needinfo?(sb56637@gmail.com |needinfo?(maurizio.galli@gm |) |ail.com) --- Comment #23 from Alexei Sorokin <sor.alexei@meowr.ru> --- S. B., no, that is probably not it. When that button is toggled, this is exactly what happens: https://github.com/linuxmint/blueberry/blob/1.2.3/usr/lib/blueberry/rfkillMa... That is, "/usr/sbin/rfkill block bluetooth" is being executed wrapped in magic. Maurizio, can you check if the above command works on its own? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c24 --- Comment #24 from Alexei Sorokin <sor.alexei@meowr.ru> --- Maurizio, also check please if /usr/bin/rfkill exists (it should not). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c25 --- Comment #25 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Alexei Sorokin from comment #24)
Maurizio, also check please if /usr/bin/rfkill exists (it should not).
The command /usr/sbin/rfkill block bluetooth as root works and also I have rhe file /usr/sbin/rfkill -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c26 --- Comment #26 from Maurizio Galli <maurizio.galli@gmail.com> --- Could it be that the switch doesnt work because rfkill needs root privileges to work? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c27 --- Comment #27 from Alexei Sorokin <sor.alexei@meowr.ru> --- Maurizio, whether /usr/bin/rfkill exists, in /usr/bin/, not /usr/sbin/ Do I understand it right that from the user "/usr/sbin/rfkill block bluetooth" does not work? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c28 --- Comment #28 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Alexei Sorokin from comment #27)
Maurizio, whether /usr/bin/rfkill exists, in /usr/bin/, not /usr/sbin/
Do I understand it right that from the user "/usr/sbin/rfkill block bluetooth" does not work?
/usr/bin/rfkill does not exist /usr/sbin/rfkill exists Correct. I cannot execute "/usr/sbin/rfkill block bluetooth" as user, only as root or with sudo. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c29 --- Comment #29 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Alexei Sorokin from comment #27)
Maurizio, whether /usr/bin/rfkill exists, in /usr/bin/, not /usr/sbin/
Do I understand it right that from the user "/usr/sbin/rfkill block bluetooth" does not work?
Same as when I run the command alone, when using the switch I get the following "rfkill: cannot open /dev/rfkill: Permission denied" I posted a screenshot here: https://imgur.com/a/WUU03on -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c30 --- Comment #30 from Alexei Sorokin <sor.alexei@meowr.ru> --- Maurizio, I think I know what's going on… Try to install gnome-settings-daemon, reboot and see if it works then. I think existence of /usr/lib/udev/rules.d/61-gnome-settings-daemon-rfkill.rules is what does it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c31 --- Comment #31 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Alexei Sorokin from comment #30)
Maurizio, I think I know what's going on… Try to install gnome-settings-daemon, reboot and see if it works then.
I think existence of /usr/lib/udev/rules.d/61-gnome-settings-daemon-rfkill.rules is what does it.
I will try but I hope there is a more graceful way to achieve this... There are too many recommended Gnome dependencies pulled in by gnome-settings-daemon -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c32 --- Comment #32 from Alexei Sorokin <sor.alexei@meowr.ru> --- Maurizio, yeah, I'm just trying to prove a theory :-). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c33 --- Comment #33 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Alexei Sorokin from comment #32)
Maurizio, yeah, I'm just trying to prove a theory :-).
:-) your theory was correct. The switch works now PS: I temporarily disabled "recommended packages" because I didn't wanna deal with that mess ;) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c34 Alexei Sorokin <sor.alexei@meowr.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED Flags|needinfo?(maurizio.galli@gm | |ail.com) | --- Comment #34 from Alexei Sorokin <sor.alexei@meowr.ru> --- S. B., Maurizio, there you go: https://build.opensuse.org/request/show/632659 This bug is finally figured out :-). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c37 --- Comment #37 from Alexei Sorokin <sor.alexei@meowr.ru> --- Bernhard, I just mirrored the decision made in gnome-settings-daemon's upstream to get the fix as fast as possible (with the precedence). Really not sure why access to /dev/rfkill is not permitted by default to a regular user in 50-udev-default.rules. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c39 --- Comment #39 from Maurizio Galli <maurizio.galli@gmail.com> --- Alexei, sorry just to be clear is gnome-settings-daemon still needed for Blueberry to work properly or it can be removed? PS: I'm on Xfce -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957071 http://bugzilla.opensuse.org/show_bug.cgi?id=957071#c40 --- Comment #40 from Alexei Sorokin <sor.alexei@meowr.ru> --- Maurizio, no, it can be safely removed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com