mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Input: HID - add support for fn key on Apple PowerBooks
       [not found] <200601141910.k0EJAm65013553@hera.kernel.org>
@ 2006-01-16 10:33 ` Olaf Hering
  2006-01-16 10:44   ` Vojtech Pavlik
  2006-01-16 23:19   ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 3+ messages in thread
From: Olaf Hering @ 2006-01-16 10:33 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Vojtech Pavlik, Benjamin Herrenschmidt

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

> tree 8ba37791bfeb95e660caf6192c8dcecd9ba2aa6e
> parent 1e27ffd4d7d39783c5196daa2584cca5785d1f95
> author Michael Hanselmann <linux-kernel@hansmi.ch> Sat, 14 Jan 2006 20:08:06 -0500
> committer Dmitry Torokhov <dtor_core@ameritech.net> 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@hansmi.ch>
> Acked-by: Rene Nussbaumer <linux-kernel@killerfox.forkbomb.ch>
> Acked-by: Johannes Berg <johannes@sipsolutions.net>
> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> Acked-by: Vojtech Pavlik <vojtech@suse.cz>
> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
> 
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Input: HID - add support for fn key on Apple PowerBooks
  2006-01-16 10:33 ` Input: HID - add support for fn key on Apple PowerBooks Olaf Hering
@ 2006-01-16 10:44   ` Vojtech Pavlik
  2006-01-16 23:19   ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 3+ messages in thread
From: Vojtech Pavlik @ 2006-01-16 10:44 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Linux Kernel Mailing List, Benjamin Herrenschmidt

On Mon, Jan 16, 2006 at 11:33:41AM +0100, Olaf Hering wrote:

> > 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?
 
It could, but will still compile and not cause any trouble on
non-powerbooks, so there isn't much reason to restrict it.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Input: HID - add support for fn key on Apple PowerBooks
  2006-01-16 10:33 ` Input: HID - add support for fn key on Apple PowerBooks Olaf Hering
  2006-01-16 10:44   ` Vojtech Pavlik
@ 2006-01-16 23:19   ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2006-01-16 23:19 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Linux Kernel Mailing List, Vojtech Pavlik

On Mon, 2006-01-16 at 11:33 +0100, Olaf Hering wrote:

> Should this depend on CONFIG_$powerbook?

Except that there is no such thing :) there is the CONFIG_PMAC_PBOOK
thing but that will be going away soon as it's over abused.

You may want to make it CONFIG_PPC_PMAC if you want, but it doesn't
really matter as the option will not cause any problem on non-powerbook
and it will still build. Beside, who knows, it might even end up being
useful on the Intel Macs if Linux ever runs on them :)

Ben.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-16 23:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200601141910.k0EJAm65013553@hera.kernel.org>
2006-01-16 10:33 ` Input: HID - add support for fn key on Apple PowerBooks Olaf Hering
2006-01-16 10:44   ` Vojtech Pavlik
2006-01-16 23:19   ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®