lkml.org 
[lkml]   [2012]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] acer-wmi: support for P key on TM8372
From
Date
Hi Ike,

於 二,2012-01-24 於 04:35 +0800,Ike Panhc 提到:
> From: Merlin Schumacher <merlin.schumacher@gmail.com>
>
> 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 <merlin.schumacher@gmail.com>
> Signed-off-by: Ike Panhc <ike.pan@canonical.com>

Reviewed-by: Lee, Chun-Yi <jlee@suse.com>

> ---
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-01-26 03:35    [from the cache]
©2003-2011 Jasper Spaans