misc: add dell-wmi driver for hotkey control
Subsystems (3)
PATCH 4/6 misc: add dell-wmi driver for hotkey control
From: Matthew Garrett <[email protected]>
Add a WMI driver for Dell laptops. Currently it does nothing but send a generic input event when a button with a picture of a battery on it is pressed, but maybe other uses will appear over time.
---
MAINTAINERS | 5 drivers/misc/Kconfig | 10 + drivers/misc/Makefile | 1 drivers/misc/dell-wmi.c | 210 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 226 insertions(+)
MAINTAINERS renamed from MAINTAINERS~misc-add-dell-wmi-driver-for-hotkey-control +5 -0
@@ -1376,6 +1376,11 @@ P: Doug Warzecha M: [email protected] S: Maintained +DELL WMI EXTRAS DRIVER +P: Matthew Garrett +M: [email protected] +S: Maintained + DEVICE NUMBER REGISTRY P: Torben Mathiasen M: [email protected]
drivers/misc/Kconfig renamed from drivers/misc/Kconfig~misc-add-dell-wmi-driver-for-hotkey-control +10 -0
@@ -136,6 +136,16 @@ config TIFM_7XX1 To compile this driver as a module, choose M here: the module will be called tifm_7xx1. +config DELL_WMI + tristate "Dell WMI extras" + depends on ACPI_WMI + depends on INPUT + help + Say Y here if you want to support WMI-based hotkeys on Dell laptops. + + To compile this driver as a module, choose M here: the module will + be called dell-wmi. + config ICS932S401 tristate "Integrated Circuits ICS932S401" depends on I2C && EXPERIMENTAL
drivers/misc/Makefile renamed from drivers/misc/Makefile~misc-add-dell-wmi-driver-for-hotkey-control +1 -0
@@ -20,4 +20,5 @@ obj-$(CONFIG_KGDB_TESTS) += kgdbts.o obj-$(CONFIG_SGI_XP) += sgi-xp/ obj-$(CONFIG_SGI_GRU) += sgi-gru/ obj-$(CONFIG_HP_ILO) += hpilo.o +obj-$(CONFIG_DELL_WMI) += dell-wmi.o obj-$(CONFIG_C2PORT) += c2port/
drivers/misc/dell-wmi.c new file +210 -0
210 lines not on this page · raw message
_
Len Brown
reviewerAndrew,
you already forwarded this one to Linus a few days ago and it is upstream.
I'll move it to the proper directory at some point.
thanks,
Len Brown, Intel Open Source Technology Center
Len Brown
reviewerFrom: Matthew Garrett <[email protected]>
Date: Fri, 9 Jan 2009 20:17:11 +0000
Subject: [PATCH] dell-wmi: new driver for hotkey control
Add a WMI driver for Dell laptops. Currently it does nothing but send a generic input event when a button with a picture of a battery on it is pressed, but maybe other uses will appear over time.
---
Looks like I screwed up and caused this patch to get dropped. Here it is picked up again, ported on top of 2.6.29.
Matthew, should we proceed with this on in the mix?
thanks,
-Len
MAINTAINERS | 5 + drivers/platform/x86/Kconfig | 10 ++ drivers/platform/x86/Makefile | 1 + drivers/platform/x86/dell-wmi.c | 210 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 226 insertions(+), 0 deletions(-) create mode 100644 drivers/platform/x86/dell-wmi.c
MAINTAINERS +5 -0
@@ -1393,6 +1393,11 @@ P: Doug Warzecha M: [email protected] S: Maintained +DELL WMI EXTRAS DRIVER +P: Matthew Garrett +M: [email protected] +S: Maintained + DEVICE NUMBER REGISTRY P: Torben Mathiasen M: [email protected]
drivers/platform/x86/Kconfig +10 -0
@@ -67,6 +67,16 @@ config DELL_LAPTOP This driver adds support for rfkill and backlight control to Dell laptops. +config DELL_WMI + tristate "Dell WMI extras" + depends on ACPI_WMI + depends on INPUT + ---help--- + Say Y here if you want to support WMI-based hotkeys on Dell laptops. + + To compile this driver as a module, choose M here: the module will + be called dell-wmi. + config FUJITSU_LAPTOP tristate "Fujitsu Laptop Extras" depends on ACPI
drivers/platform/x86/Makefile +1 -0
@@ -7,6 +7,7 @@ obj-$(CONFIG_EEEPC_LAPTOP) += eeepc-laptop.o obj-$(CONFIG_MSI_LAPTOP) += msi-laptop.o obj-$(CONFIG_COMPAL_LAPTOP) += compal-laptop.o obj-$(CONFIG_DELL_LAPTOP) += dell-laptop.o +obj-$(CONFIG_DELL_WMI) += dell-wmi.o obj-$(CONFIG_ACER_WMI) += acer-wmi.o obj-$(CONFIG_HP_WMI) += hp-wmi.o obj-$(CONFIG_TC1100_WMI) += tc1100-wmi.o
drivers/platform/x86/dell-wmi.c new file +210 -0
210 lines not on this page · raw message
Signature · 1 line
1.6.2.2.404.ge96f3