Skip to contentSkip to conversation

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

PATCH New Philip Langdale 1 participant 1 message Aug 7, 2008 ACPI

lore
Share & tools
lore
#0 lore raw

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

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        |    1
 toshiba_acpi.c |  264 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 257 insertions(+), 8 deletions(-)
drivers/acpi/Kconfig +1 -0
index 735f5ea..047829c 100644
@@ -260,6 +260,7 @@ config ACPI_ASUS
 config ACPI_TOSHIBA
 	tristate "Toshiba Laptop Extras"
 	depends on X86
+	select INPUT_POLLDEV
 	select BACKLIGHT_CLASS_DEVICE
 	---help---
 	  This driver adds support for access to certain system settings
drivers/acpi/toshiba_acpi.c +256 -8

353 lines not on this page · raw message