support wlan hotkey on Acer Travelmate 5735Z
authorMelchior FRANZ <mfranz@aon.at>
Tue, 24 May 2011 08:35:55 +0000 (10:35 +0200)
committerMatthew Garrett <mjg@redhat.com>
Fri, 27 May 2011 16:38:24 +0000 (12:38 -0400)
commit8ae68de15d5ddaa8d41e197a730e19223adab2e1
treefaeb0f0854088c260f1c87c7ad994ccbe194be33
parent239dca9e9aff6630c22fef696978ba3a878f7d96
support wlan hotkey on Acer Travelmate 5735Z

On an Acer Travelmate 5735Z-452G32Mnss the WLAN-enable/disable key
doesn't send 0x1 as acpi event key code, but 0x3. This patch also
makes the module ignore hotkey acpi events for functions that are
already handled without. This avoids warning message "keyboard:
can't emulate rawmode for keycode 240".

Signed-off-by: Melchior FRANZ <mfranz@aon.at>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c