eeepc-wmi: new driver for WMI based hotkeys on Eee PC laptops

Previous thread: microblaze: Move exception_table_entry upward by Linux Kernel Mailing List on Thursday, April 1, 2010 - 10:59 am. (1 message)

Next thread: microblaze: uaccess: fix put_user and get_user macros by Linux Kernel Mailing List on Thursday, April 1, 2010 - 10:59 am. (1 message)
From: Linux Kernel Mailing List
Date: Thursday, April 1, 2010 - 10:59 am

Gitweb:     http://git.kernel.org/linus/ee027e4aed3077c4bb3b585c67528eec0e7222df
Commit:     ee027e4aed3077c4bb3b585c67528eec0e7222df
Parent:     167215118a88dd56a1ab8c8d33e279d6d40f57b6
Author:     Yong Wang <yong.y.wang@linux.intel.com>
AuthorDate: Sun Mar 21 10:26:34 2010 +0800
Committer:  Matthew Garrett <mjg@redhat.com>
CommitDate: Wed Mar 31 17:19:07 2010 -0400

    eeepc-wmi: new driver for WMI based hotkeys on Eee PC laptops
    
    Add a WMI driver for Eee PC laptops. Currently it only supports hotkeys.
    
    Signed-off-by: Yong Wang <yong.y.wang@intel.com>
    Signed-off-by: Matthew Garrett <mjg@redhat.com>
    Acked-by: Dmitry Torokhov <dtor@mail.ru>
---
 drivers/platform/x86/Kconfig     |   10 +++
 drivers/platform/x86/Makefile    |    1 +
 drivers/platform/x86/eeepc-wmi.c |  157 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 168 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index e631dbe..7bec458 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -385,6 +385,16 @@ config EEEPC_LAPTOP
 
 	  If you have an Eee PC laptop, say Y or M here.
 
+config EEEPC_WMI
+	tristate "Eee PC WMI Hotkey Driver (EXPERIMENTAL)"
+	depends on ACPI_WMI
+	depends on INPUT
+	depends on EXPERIMENTAL
+	---help---
+	  Say Y here if you want to support WMI-based hotkeys on Eee PC laptops.
+
+	  To compile this driver as a module, choose M here: the module will
+	  be called eeepc-wmi.
 
 config ACPI_WMI
 	tristate "WMI"
diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile
index 9cd9fa0..a906490 100644
--- a/drivers/platform/x86/Makefile
+++ b/drivers/platform/x86/Makefile
@@ -4,6 +4,7 @@
 #
 obj-$(CONFIG_ASUS_LAPTOP)	+= asus-laptop.o
 obj-$(CONFIG_EEEPC_LAPTOP)	+= eeepc-laptop.o
+obj-$(CONFIG_EEEPC_WMI)		+= eeepc-wmi.o
 obj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
 obj-$(CONFIG_ACPI_CMPC)		+= classmate-laptop.o
 obj-$(CONFIG_COMPAL_LAPTOP)	+= ...
Previous thread: microblaze: Move exception_table_entry upward by Linux Kernel Mailing List on Thursday, April 1, 2010 - 10:59 am. (1 message)

Next thread: microblaze: uaccess: fix put_user and get_user macros by Linux Kernel Mailing List on Thursday, April 1, 2010 - 10:59 am. (1 message)