From: akpm@linux-foundation.org
To: mm-commits@vger.kernel.org
Cc: rydberg@euromail.se, dtor@mail.ru, jikos@jikos.cz
Subject: + hid-apple_fn_keys-f5-and-f6.patch added to -mm tree
Date: Tue, 22 Jul 2008 02:08:14 -0700 [thread overview]
Message-ID: <200807220908.m6M98EIL020178@imap1.linux-foundation.org> (raw)
The patch titled
hid: apple_fn_keys F5 and F6
has been added to the -mm tree. Its filename is
hid-apple_fn_keys-f5-and-f6.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: hid: apple_fn_keys F5 and F6
From: Henrik Rydberg <rydberg@euromail.se>
In drivers/hid/hid-input.c, the apple_fn_keys translation table contains
no entries for the F5 and F6 keys. This patch maps the F5 and F6 keys to
KBDILLUMDOWN and KBDILLUMUP, respektively, which make them work as
keyboard backlight control keys.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Cc: Jiri Kosina <jikos@jikos.cz>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/hid/hid-input.c | 2 ++
1 file changed, 2 insertions(+)
diff -puN drivers/hid/hid-input.c~hid-apple_fn_keys-f5-and-f6 drivers/hid/hid-input.c
--- a/drivers/hid/hid-input.c~hid-apple_fn_keys-f5-and-f6
+++ a/drivers/hid/hid-input.c
@@ -100,6 +100,8 @@ static struct hidinput_key_translation a
{ KEY_F2, KEY_BRIGHTNESSUP, APPLE_FLAG_FKEY },
{ KEY_F3, KEY_FN_F5, APPLE_FLAG_FKEY }, /* Exposé */
{ KEY_F4, KEY_FN_F4, APPLE_FLAG_FKEY }, /* Dashboard */
+ { KEY_F5, KEY_KBDILLUMDOWN, APPLE_FLAG_FKEY },
+ { KEY_F6, KEY_KBDILLUMUP, APPLE_FLAG_FKEY },
{ KEY_F7, KEY_PREVIOUSSONG, APPLE_FLAG_FKEY },
{ KEY_F8, KEY_PLAYPAUSE, APPLE_FLAG_FKEY },
{ KEY_F9, KEY_NEXTSONG, APPLE_FLAG_FKEY },
_
Patches currently in -mm which might be from rydberg@euromail.se are
hid-apple_fn_keys-f5-and-f6.patch
input-bcm5974-055-smoother-motion-irq-simplification.patch
--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
reply other threads:[~2008-07-22 9:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200807220908.m6M98EIL020178@imap1.linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=dtor@mail.ru \
--cc=jikos@jikos.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=rydberg@euromail.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox