Skip to contentSkip to conversation

toshiba-acpi: Add support for hotkey notifications

PATCH In review Matthew Garrett 1 participant 2 messages Mar 31, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 toshiba-acpi: Add support for hotkey notifications

Calling the ENAB method on Toshiba laptops results in notifications being sent when laptop hotkeys are pressed. This patch simply calls that method and sets up an input device if it's successful.

---
 drivers/platform/x86/Kconfig        |    1 +
 drivers/platform/x86/toshiba_acpi.c |  207 +++++++++++++++++++++++++++++++++-
 2 files changed, 201 insertions(+), 7 deletions(-)
drivers/platform/x86/Kconfig +1 -0
index 3608081..3186701 100644
@@ -370,6 +370,7 @@ config ACPI_TOSHIBA
 	tristate "Toshiba Laptop Extras"
 	depends on ACPI
 	depends on INPUT
+	select INPUT
 	select INPUT_POLLDEV
 	select NET
 	select RFKILL
drivers/platform/x86/toshiba_acpi.c +200 -7

256 lines not on this page · raw message

Signature · 1 line
Matthew Garrett | [email protected]