diff options
author | 2010-12-13 18:00:38 +0800 | |
---|---|---|
committer | 2011-01-07 17:03:46 -0500 | |
commit | f63409ae91ff94e2192dafbeb00c278ba299f80e (patch) | |
tree | 905c847ca636d8d15ae0fbfd4bde4d587c28ea12 /kernel/irq/pm.c | |
parent | ideapad: let camera power control entry under platform driver (diff) | |
download | wireguard-linux-f63409ae91ff94e2192dafbeb00c278ba299f80e.tar.xz wireguard-linux-f63409ae91ff94e2192dafbeb00c278ba299f80e.zip |
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>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions