Re: Input: HID - add support for fn key on Apple PowerBooks

From: Olaf Hering
Date: Mon Jan 16 2006 - 05:32:13 EST


On Sat, Jan 14, Linux Kernel Mailing List wrote:

> tree 8ba37791bfeb95e660caf6192c8dcecd9ba2aa6e
> parent 1e27ffd4d7d39783c5196daa2584cca5785d1f95
> author Michael Hanselmann <linux-kernel@xxxxxxxxx> Sat, 14 Jan 2006 20:08:06 -0500
> committer Dmitry Torokhov <dtor_core@xxxxxxxxxxxxx> Sat, 14 Jan 2006 20:08:06 -0500
>
> Input: HID - add support for fn key on Apple PowerBooks
>
> This patch implements support for the fn key on Apple PowerBooks using
> USB based keyboards and makes them behave like their ADB counterparts.
>
> Signed-off-by: Michael Hanselmann <linux-kernel@xxxxxxxxx>
> Acked-by: Rene Nussbaumer <linux-kernel@xxxxxxxxxxxxxxxxxxxxx>
> Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
> Acked-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> Acked-by: Vojtech Pavlik <vojtech@xxxxxxx>
> Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>
>
> drivers/usb/input/Kconfig | 10 ++
> drivers/usb/input/hid-core.c | 8 ++
> drivers/usb/input/hid-input.c | 166 +++++++++++++++++++++++++++++++++++++++++-
> drivers/usb/input/hid.h | 31 ++++---
> 4 files changed, 201 insertions(+), 14 deletions(-)
>
> diff --git a/drivers/usb/input/Kconfig b/drivers/usb/input/Kconfig
> index 509dd0a..5246b35 100644
> --- a/drivers/usb/input/Kconfig
> +++ b/drivers/usb/input/Kconfig
> @@ -37,6 +37,16 @@ config USB_HIDINPUT
>
> If unsure, say Y.
>
> +config USB_HIDINPUT_POWERBOOK
> + bool "Enable support for iBook/PowerBook special keys"
> + default n
> + depends on USB_HIDINPUT
> + help
> + Say Y here if you want support for the special keys (Fn, Numlock) on
> + Apple iBooks and PowerBooks.

Should this depend on CONFIG_$powerbook?

--
short story of a lazy sysadmin:
alias appserv=wotan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/