toshiba_acpi: Add support for bluetooth toggling through rfkill (v3)
PATCH 1/1 toshiba_acpi: Add support for bluetooth toggling through rfkill (v3)
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.
Signed-off-by Philip Langdale <[email protected]>
--- Kconfig | 1 toshiba_acpi.c | 325 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 318 insertions(+), 8 deletions(-)
drivers/acpi/Kconfig +1 -0
@@ -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 +317 -8
420 lines not on this page · raw message