diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-07-18 22:45:36 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-21 23:45:56 -0400 |
commit | 1a343760b516ca5466d201bec32b1794858b18a5 (patch) | |
tree | a3ba178b79e5f17365fac6bbd9aa475e42e102b0 /drivers/misc/Kconfig | |
parent | 6a38abbf2b68e37493f2d5e8702b895a6c23ba0f (diff) |
ACPI: thinkpad-acpi: make the input event mode the default
Make the input layer the default way to deal with thinkpad-acpi hot keys,
but add a kernel config option to retain the old way of doing things.
This means we map a lot more keys to useful stuff by default, and also that
we enable hot key handling by default on driver load (like Windows does).
The documentation for proper use of this resource is also updated.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Richard Hughes <hughsient@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 1d516f24ba53..5197f9b9b65d 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -196,4 +196,17 @@ config THINKPAD_ACPI_BAY | |||
196 | 196 | ||
197 | If you are not sure, say Y here. | 197 | If you are not sure, say Y here. |
198 | 198 | ||
199 | config THINKPAD_ACPI_INPUT_ENABLED | ||
200 | bool "Enable input layer support by default" | ||
201 | depends on THINKPAD_ACPI | ||
202 | default y | ||
203 | ---help--- | ||
204 | Enables hot key handling over the input layer by default. If unset, | ||
205 | the driver does not enable any hot key handling by default, and also | ||
206 | starts up with a mostly empty keymap. | ||
207 | |||
208 | If you are not sure, say Y here. Say N to retain the deprecated | ||
209 | behavior of ibm-acpi, and thinkpad-acpi for kernels up to 2.6.21. | ||
210 | |||
211 | |||
199 | endif # MISC_DEVICES | 212 | endif # MISC_DEVICES |