From patchwork Wed Mar 2 16:57:58 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: 85103 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 4C59AB6EDF for ; Thu, 3 Mar 2011 03:58:33 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1PupNd-0008Na-DB; Wed, 02 Mar 2011 16:58:29 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1PupNa-0008Mj-Lv for kernel-team@lists.ubuntu.com; Wed, 02 Mar 2011 16:58:26 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1PupNa-0004Xr-JD; Wed, 02 Mar 2011 16:58:26 +0000 Received: from host-111-184-115-159.dynamic.kbtelecom.net ([111.184.115.159] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1PupNZ-00041V-KN; Wed, 02 Mar 2011 16:58:26 +0000 From: Keng-Yu Lin To: kernel-team@lists.ubuntu.com, vanhoof@canonical.com Subject: [PATCHv2 4/4] UBUNTU: SAUCE: eeepc-wmi: set the touchpad toggle key code to F22 Date: Thu, 3 Mar 2011 00:57:58 +0800 Message-Id: <1299085078-20622-5-git-send-email-keng-yu.lin@canonical.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1299085078-20622-1-git-send-email-keng-yu.lin@canonical.com> References: <1299085078-20622-1-git-send-email-keng-yu.lin@canonical.com> Cc: kevin.huang@canonical.com, cyrus.lien@canonical.com, jamie.chang@canonical.com 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 In 2.6.37 new key codes are defined for touchpad toggleing: KEY_TOUCHPAD_TOGGLE, KEY_TOUCHPAD_ON and KEY_TOUCHPAD_OFF For Maverick, F22 is the working key code for touchpad toggling. BugLink: http://bugs.launchpad.net/bugs/689393 Signed-off-by: Keng-Yu Lin --- drivers/platform/x86/eeepc-wmi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 476c745..49b26cc 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c @@ -69,7 +69,7 @@ static const struct key_entry eeepc_wmi_keymap[] = { { KE_KEY, 0x32, { KEY_MUTE } }, { KE_KEY, 0x5c, { KEY_F15 } }, { KE_KEY, 0x5d, { KEY_WLAN } }, - { KE_KEY, 0x6b, { KEY_F13 } }, /* Disable Touchpad */ + { KE_KEY, 0x6b, { KEY_F22 } }, /* Disable Touchpad */ { KE_KEY, 0x88, { KEY_WLAN } }, { KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } }, { KE_KEY, 0xe0, { KEY_PROG1 } },