summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSeth Forshee <seth.forshee@canonical.com>2012-01-18 13:44:09 -0600
committerMatthew Garrett <mjg@redhat.com>2012-03-22 09:31:51 -0400
commit29cd293f9f8cd76444657622980010b9364b1de6 (patch)
treef39a927d66951f13d031dfa45f3558a689ac0575 /scripts
parent3e2abc5a35d25442821e1733687b7abbc83b5072 (diff)
downloadop-kernel-dev-29cd293f9f8cd76444657622980010b9364b1de6.zip
op-kernel-dev-29cd293f9f8cd76444657622980010b9364b1de6.tar.gz
toshiba_acpi: Support alternate hotkey interfaces
There are two types of problems that prevent hotkeys from working on many of the machines supported by toshiba_acpi. The first of these is the lack of a functioning SCI for hotkey events. For these machines it is possible to filter the Fn keypresses from the keyboard and generate a notification by executing the ACPI NTFY method. The second problem is a lack of support for HCI_SYSTEM_EVENT, which is used for reading the hotkey scancodes. On these machines the scancodes can be read by executing the ACPI NTFY method. This patch fixes both problems by installing an i8042 filter when the NTFY method is present to generate notifications and by detecting which of INFO or HCI_SYSTEM_EVENT is supported for reading scancodes. If neither method of reading scancodes is supported, the hotkey input device is not registered. Signed-off-by: Azael Avalos <coproscefalo@gmail.com> Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud