Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

kernel: Commit

kernel


Commit MetaInfo

Revisionb578ceb196e03f584b5e54f435c68fe256498519 (tree)
Time2012-02-19 03:20:38
AuthorKyle Evans <kevans@andr...>
CommiterKyle Evans

Log Message

hp-wmi: Add keycode for hotkey hack

Using a hack to the dsdt for the HP tx2500, the wireless switch no longer functions as normal, but as a
notify to have hp-wmi query for a hotkey button press. In the event no button was pressed, this keycode,
KEY_AGAIN, is used.

Change Summary

Incremental Difference

--- a/drivers/platform/x86/hp-wmi.c
+++ b/drivers/platform/x86/hp-wmi.c
@@ -130,6 +130,7 @@ struct bios_rfkill2_state {
130130 };
131131
132132 static const struct key_entry hp_wmi_keymap[] = {
133+ { KE_KEY, 0x0, { KEY_AGAIN } },
133134 { KE_KEY, 0x02, { KEY_BRIGHTNESSUP } },
134135 { KE_KEY, 0x03, { KEY_BRIGHTNESSDOWN } },
135136 { KE_KEY, 0x20e6, { KEY_PROG1 } },
Show on old repository browser