Ike Panhc f63409ae91 ideapad: add hotkey support
Hotkey enabled by this patch:
  Fn+F3: Video mode switch
  Fn+F5: software rfkill for wifi

For some ideapad when push Fn+F3, hardware generates Super-P keys, those key
will not be enabled by this patch.

Thanks for Dave Hansen report the problem. If CONFIG_INPUT_SPARSEKMAP is not
set, when building, you will have error message:

  ERROR: "sparse_keymap_setup" [drivers/platform/x86/ideapad-laptop.ko] undefined!
  ERROR: "sparse_keymap_free" [drivers/platform/x86/ideapad-laptop.ko] undefined!
  ERROR: "sparse_keymap_report_event" [drivers/platform/x86/ideapad-laptop.ko] undefined!

To select INPUT_SPARSEKMAP solve this issue.

Ref: http://lkml.org/lkml/2010/12/2/340

Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
2011-01-07 17:03:46 -05:00
..
2010-12-10 12:27:49 -08:00
2011-01-02 15:31:11 -08:00
2011-01-07 12:44:45 -08:00
2010-12-22 19:43:34 -08:00
2010-12-02 14:51:15 -08:00
2010-12-24 01:28:54 -07:00
2010-12-04 11:18:25 -05:00
2011-01-07 17:03:46 -05:00
2010-12-22 15:43:26 -05:00
2011-01-06 22:32:03 +00:00