Skip to contentSkip to conversation

toshiba_acpi: Add support for bluetooth toggling through rfkill (v8)

PATCH New [email protected] 1 participant 1 message Aug 30, 2008 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toshiba_acpi: Add support for bluetooth toggling through rfkill (v8)

There's been a patch floating around for toshiba_acpi that exports an ad-hoc /proc interface to toggle the bluetooth adapter in a large number of Toshiba laptops. I'm not sure if it's still relevant for the latest models, but it is still required for older models such as my Tecra M3.

This change pulls in the low level Toshiba-specific code from the old patch and sets up an rfkill device and a polled input device to track the state of the hardware kill-switch.

---
 Kconfig        |    3
 toshiba_acpi.c |  261 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 256 insertions(+), 8 deletions(-)
drivers/acpi/Kconfig +3 -0
index 735f5ea..12cf5d4 100644
@@ -260,6 +260,9 @@ config ACPI_ASUS
 config ACPI_TOSHIBA
 	tristate "Toshiba Laptop Extras"
 	depends on X86
+	select INPUT_POLLDEV
+	select NET
+	select RFKILL
 	select BACKLIGHT_CLASS_DEVICE
 	---help---
 	  This driver adds support for access to certain system settings
drivers/acpi/toshiba_acpi.c +253 -8

350 lines not on this page · raw message