acer-wmi: add Aspire 5741G touchpad toggle key
Subsystems (2)
PATCH 1/1 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 <[email protected]>
---
drivers/platform/x86/acer-wmi.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/acer-wmi.c +1 -0
@@ -127,6 +127,7 @@ static const struct key_entry acer_wmi_keymap[] = { {KE_IGNORE, 0x81, {KEY_SLEEP} }, {KE_KEY, 0x82, {KEY_TOUCHPAD_TOGGLE} }, /* Touch Pad On/Off */ {KE_IGNORE, 0x83, {KEY_TOUCHPAD_TOGGLE} }, + {KE_KEY, 0x85, {KEY_TOUCHPAD_TOGGLE} }, {KE_END, 0} };
joeyli
maintainer於 一,2012-11-26 於 21:35 +0300,Sergey Senozhatsky 提到:
Quoted 5 lines
Add Aspire 5741G
KEY_TOUCHPAD_TOGGLEto wmi keymap, preventing "acer_wmi: Unknown key number -0x85" error.Signed-off-by Sergey Senozhatsky <[email protected]>
Signed-off-by Lee, Chun-Yi <[email protected]>
Thanks for you resend your patch.
Joey Lee
Quoted 19 lines
---
drivers/platform/x86/acer-wmi.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/acer-wmi.c +1
-0@@ -127,6 +127,7 @@ static const struct key_entry acer_wmi_keymap[] = { {KE_IGNORE, 0x81, {KEY_SLEEP} }, {KE_KEY, 0x82, {KEY_TOUCHPAD_TOGGLE} }, /* Touch Pad On/Off */ {KE_IGNORE, 0x83, {KEY_TOUCHPAD_TOGGLE} }, + {KE_KEY, 0x85, {KEY_TOUCHPAD_TOGGLE} }, {KE_END, 0} };
Quoted 11 lines · joeyli
於 一,2012-11-26 於 21:35 +0300,Sergey Senozhatsky 提到:
Quoted 5 lines
Add Aspire 5741G
KEY_TOUCHPAD_TOGGLEto wmi keymap, preventing "acer_wmi: Unknown key number -0x85" error.Signed-off-by Sergey Senozhatsky <[email protected]>Signed-off-by Lee, Chun-Yi <[email protected]>Thanks for you resend your patch.
sorry, it took so much time, somehow I forgot about it.
-ss
Quoted 23 lines
Joey Lee
Quoted 19 lines
---
drivers/platform/x86/acer-wmi.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/acer-wmi.c +1
-0@@ -127,6 +127,7 @@ static const struct key_entry acer_wmi_keymap[] = { {KE_IGNORE, 0x81, {KEY_SLEEP} }, {KE_KEY, 0x82, {KEY_TOUCHPAD_TOGGLE} }, /* Touch Pad On/Off */ {KE_IGNORE, 0x83, {KEY_TOUCHPAD_TOGGLE} }, + {KE_KEY, 0x85, {KEY_TOUCHPAD_TOGGLE} }, {KE_END, 0} };