26 lines
852 B
Diff
26 lines
852 B
Diff
From: Thomas Renninger <trenn@suse.de>
|
|
Subject: x86 platform drivers: hp-wmi Add media key 0x20e8
|
|
References: bnc#598059
|
|
Patch-Mainline: submitted
|
|
|
|
Signed-off-by: Thomas Renninger <trenn@suse.de>
|
|
CC: mjg@redhat.com
|
|
CC: linux-acpi@vger.kernel.org
|
|
|
|
---
|
|
drivers/platform/x86/hp-wmi.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
Index: linux-2.6.33-master/drivers/platform/x86/hp-wmi.c
|
|
===================================================================
|
|
--- linux-2.6.33-master.orig/drivers/platform/x86/hp-wmi.c
|
|
+++ linux-2.6.33-master/drivers/platform/x86/hp-wmi.c
|
|
@@ -96,6 +96,7 @@ static struct key_entry hp_wmi_keymap[]
|
|
{KE_KEY, 0x02, KEY_BRIGHTNESSUP},
|
|
{KE_KEY, 0x03, KEY_BRIGHTNESSDOWN},
|
|
{KE_KEY, 0x20e6, KEY_PROG1},
|
|
+ {KE_KEY, 0x20e8, KEY_MEDIA},
|
|
{KE_KEY, 0x2142, KEY_MEDIA},
|
|
{KE_KEY, 0x213b, KEY_INFO},
|
|
{KE_KEY, 0x2169, KEY_DIRECTION},
|