From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752743Ab2AZCdR (ORCPT ); Wed, 25 Jan 2012 21:33:17 -0500 Received: from victor.provo.novell.com ([137.65.250.26]:46248 "EHLO victor.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751597Ab2AZCdP (ORCPT ); Wed, 25 Jan 2012 21:33:15 -0500 Subject: Re: [PATCH] acer-wmi: support for P key on TM8372 From: joeyli To: Ike Panhc Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Merlin Schumacher , Joey Lee , Matthew Garrett In-Reply-To: <1327350935-19145-1-git-send-email-ike.pan@canonical.com> References: <1327350935-19145-1-git-send-email-ike.pan@canonical.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 26 Jan 2012 10:28:41 +0800 Message-ID: <1327544921.15260.7.camel@linux-s257.site> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ike, 於 二,2012-01-24 於 04:35 +0800,Ike Panhc 提到: > From: Merlin Schumacher > > BugLink: http://launchpad.net/bugs/865807 > > There is no entry for P key on TM8372, so when P key is pressed, only > "acer_wmi: Unknown key number - 0x29" in dmesg. > > Signed-off-by: Merlin Schumacher > Signed-off-by: Ike Panhc Reviewed-by: Lee, Chun-Yi > --- > drivers/platform/x86/acer-wmi.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c > index b848277..d48262c 100644 > --- a/drivers/platform/x86/acer-wmi.c > +++ b/drivers/platform/x86/acer-wmi.c > @@ -105,6 +105,7 @@ static const struct key_entry acer_wmi_keymap[] = { > {KE_KEY, 0x22, {KEY_PROG2} }, /* Arcade */ > {KE_KEY, 0x23, {KEY_PROG3} }, /* P_Key */ > {KE_KEY, 0x24, {KEY_PROG4} }, /* Social networking_Key */ > + {KE_KEY, 0x29, {KEY_PROG3} }, /* P_Key for TM8372 */ > {KE_IGNORE, 0x41, {KEY_MUTE} }, > {KE_IGNORE, 0x42, {KEY_PREVIOUSSONG} }, > {KE_IGNORE, 0x43, {KEY_NEXTSONG} }, This patch has no problem, but could you please provide the dmidecode result to me for reference? Thanks a lot! Joey Lee