From patchwork Tue Jul 19 07:05:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keng-Yu Lin X-Patchwork-Id: 105524 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id BF649B6F84 for ; Wed, 20 Jul 2011 06:22:38 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1QjGoC-0006YO-5W; Tue, 19 Jul 2011 20:22:24 +0000 Received: from mail-gx0-f177.google.com ([209.85.161.177]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Qj4NY-0000d2-E3 for kernel-team@lists.ubuntu.com; Tue, 19 Jul 2011 07:06:04 +0000 Received: by gxk2 with SMTP id 2so1851099gxk.8 for ; Tue, 19 Jul 2011 00:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; bh=iWJ0nhG4ZnP5FyY/uHarzNAKc0WfxRVIHtO+02vOiCA=; b=xvR+SyK1pOaBAhXaY5IHCDe4I3KYpna8oVtEG3oJA1AUf9Uyt2VY3XQLymgBdaShnI GNYv8pYJmn9F2fadX1uI05hBafhQoQenFHuybWBUpSgnr8QRLXEkryKXOU8m98bGymhc ZigqCeo3pUS2GE2hNUxpdjXZEv9FvT+/sQjRQ= Received: by 10.150.193.1 with SMTP id q1mr1171648ybf.225.1311059163649; Tue, 19 Jul 2011 00:06:03 -0700 (PDT) Received: from localhost (114-32-21-24.HINET-IP.hinet.net [114.32.21.24]) by mx.google.com with ESMTPS id e24sm618768yhk.37.2011.07.19.00.06.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jul 2011 00:06:02 -0700 (PDT) From: Keng-Yu Lin To: Kernel team list Subject: [PATCH] eeepc-wmi: add keys found on EeePC 1215T Date: Tue, 19 Jul 2011 15:05:53 +0800 Message-Id: <1311059153-13892-2-git-send-email-kengyu@canonical.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1311059153-13892-1-git-send-email-kengyu@canonical.com> References: <1311059153-13892-1-git-send-email-kengyu@canonical.com> X-Mailman-Approved-At: Tue, 19 Jul 2011 20:22:20 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com From: Corentin Chary BugLink: http://bugs.launchpad.net/bugs/812644 Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett (cherry picked from commit 9481472559b3ecd366390786628c2fb211d1477b) Signed-off-by: Keng-Yu Lin Acked-by: Seth Forshee Acked-by: Leann Ogasawara --- drivers/platform/x86/eeepc-wmi.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index a44a510..6afd643 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c @@ -122,10 +122,12 @@ static const struct key_entry eeepc_wmi_keymap[] = { { KE_KEY, 0x5d, { KEY_WLAN } }, { KE_KEY, 0x6b, { KEY_F13 } }, /* Disable Touchpad */ { KE_KEY, 0x88, { KEY_WLAN } }, + { KE_KEY, 0xbd, { KEY_CAMERA } }, { KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } }, { KE_KEY, 0xe0, { KEY_PROG1 } }, /* Task Manager */ { KE_KEY, 0xe1, { KEY_F14 } }, /* Change Resolution */ { KE_KEY, HOME_PRESS, { KEY_CONFIG } }, + { KE_KEY, 0xe8, { KEY_SCREENLOCK } }, { KE_KEY, 0xe9, { KEY_BRIGHTNESS_ZERO } }, { KE_END, 0}, };