Red Hat Bugzilla – Bug 443295
RFE: allow bluetooth enable/disable via applet
Last modified: 2013-12-11 04:44:57 EST
Description of problem:
In short, I'd like to be able to enable/disable the bluetooth transmitter via
the gnome applet (my laptop has BT built in, so I can not simply yank the dongle).
This wish is partially driven by security, and partiall driven by power
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Seems the easiest way would be to add an "Off" choice to the "Mode of operation" radio group in the preferences.
btusb is much better in terms of power management, and won't wake up as much as hci_usb used to when not connected to anything.
You can already disable the bluetooth dongle using the "killswitch" in the general tab of the bluez-gnome preferences (from version 1.7). If nothing appears there, then your laptop doesn't have HAL killswitch support.
Actually there is a checkbox there, but it's greyed out.
Says tpacpi_bluetooth_sw bluetooth Killswitch
ThinkPad X60s, so that fits.
What's the output of ck-list-sessions when you're logged in?
unix-user = '500'
realname = 'Ralf Ertzinger'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2008-10-14T08:51:59.299521Z'
login-session-id = '1'
This happens when org.freedesktop.Hal.Device.KillSwitch returns an error.
I filed this upstream bug to make sure we don't forget about adding support for the killswitches directly in the applet:
But the bug is now a hal and/or kernel problem.
Still no way to do it on F-10.
On F10, gnome-bluetooth only contains a bunch of libraries. It will work with gnome-bluetooth in rawhide (which contains a fork of bluez-gnome) so long that the killswitch is exposed through HAL. Eg. it works on my Dell laptop.
Matthew, do you know why tp_acpi's killswitch wouldn't work?
Not off-hand - there ought to be something in the hal debug output.
This was first seen in Rawhide and last seen in Fedora 10. In Fedora 18 (gnome-bluetooth-3.6.1-2.fc18.x86_64) there is a Bluetooth icon on the black Gnome Shell bar, with options that I assume take care of this. Also, the upstream bug has been closed.
Can this bug be closed, or is there still work to be done?
HAL is dead and obsolete now.