From: Sergey Senozhatsky Date: Mon, 26 Nov 2012 18:35:02 +0000 (+0300) Subject: acer-wmi: add Aspire 5741G touchpad toggle key X-Git-Tag: next-20130218~32^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6c74f1d0b938ee218dfa90121bb993e9c085ad02;p=karo-tx-linux.git acer-wmi: add Aspire 5741G touchpad toggle key Add Aspire 5741G KEY_TOUCHPAD_TOGGLE to wmi keymap, preventing "acer_wmi: Unknown key number - 0x85" error. Signed-off-by: Sergey Senozhatsky Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 6b5f927f083d..563dc3f0e3e7 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -129,6 +129,7 @@ static const struct key_entry acer_wmi_keymap[] = { {KE_KEY, KEY_TOUCHPAD_ON, {KEY_TOUCHPAD_ON} }, {KE_KEY, KEY_TOUCHPAD_OFF, {KEY_TOUCHPAD_OFF} }, {KE_IGNORE, 0x83, {KEY_TOUCHPAD_TOGGLE} }, + {KE_KEY, 0x85, {KEY_TOUCHPAD_TOGGLE} }, {KE_END, 0} };