Bug 10053 - Add software Bluetooth on/off for IBM laptops
Summary: Add software Bluetooth on/off for IBM laptops
Status: RESOLVED FIXED
Alias: None
Product: hal
Classification: Unclassified
Component: hald (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-21 10:09 UTC by Bastien Nocera
Modified: 2008-03-04 10:14 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Bastien Nocera 2007-02-21 10:09:58 UTC
From bug #8570:
---8<---
On thinkpads with ibm-acpi (http://ibm-acpi.sourceforge.net/) loaded, you can
control bluetooth with:

echo enable > /proc/acpi/ibm/bluetooth
echo disable > /proc/acpi/ibm/bluetooth

There are also similar methods for the WLAN and WWAN modules.
---8<---
Comment 1 Bastien Nocera 2007-03-05 03:11:41 UTC
Just tested on an IBM laptop that I thought had a Bluetooth adapter, and it conveniently lies about the presence of a Bluetooth device, just like the Sony one does.

$ cat /proc/acpi/ibm/bluetooth 
status:         enabled
commands:       enable, disable

And it's very much not present.
Comment 2 Bastien Nocera 2007-05-03 16:36:34 UTC
Reassigning, as I don't have access to an IBM laptop. Should be easy to implement, in a similar way to the Sony one.
Comment 3 Richard Hughes 2007-05-16 01:17:42 UTC
Do you want this done in an addon in C, or just a shell based script thing?
Comment 4 Bastien Nocera 2007-05-16 01:32:47 UTC
The callout for "Get" probably needs to be implemented in C, but the set can easily be implemented in shell.
Comment 5 Bastien Nocera 2008-01-18 04:09:02 UTC
Patch was posted at:
http://thread.gmane.org/gmane.comp.freedesktop.hal/10322/focus=10476
Comment 6 Danny Kukawka 2008-03-04 10:14:30 UTC
commited to git master


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.