Patchwork [PATCHv2,3/4] UBUNTU: eeepc-wmi: add wlan key found on 1015P

login
register
mail settings
Submitter Keng-Yu Lin
Date March 2, 2011, 4:57 p.m.
Message ID <1299085078-20622-4-git-send-email-keng-yu.lin@canonical.com>
Download mbox | patch
Permalink /patch/85102/
State New
Headers show

Comments

Keng-Yu Lin - March 2, 2011, 4:57 p.m.
From: Corentin Chary <corentincj@iksaif.net>

BugLink: http://bugs.launchpad.net/bugs/689393
(cherry picked from commit 3e9153bad40cb40c8f91d9d2915ee28240c9200e linux-next)

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Keng-Yu Lin <keng-yu.lin@canonical.com>
---
 drivers/platform/x86/eeepc-wmi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c
index 2b9787b..476c745 100644
--- a/drivers/platform/x86/eeepc-wmi.c
+++ b/drivers/platform/x86/eeepc-wmi.c
@@ -70,6 +70,7 @@  static const struct key_entry eeepc_wmi_keymap[] = {
 	{ KE_KEY, 0x5c, { KEY_F15 } },
 	{ KE_KEY, 0x5d, { KEY_WLAN } },
 	{ KE_KEY, 0x6b, { KEY_F13 } }, /* Disable Touchpad */
+	{ KE_KEY, 0x88, { KEY_WLAN } },
 	{ KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } },
 	{ KE_KEY, 0xe0, { KEY_PROG1 } },
 	{ KE_KEY, 0xe1, { KEY_F14 } },