]> git.karo-electronics.de Git - karo-tx-linux.git/commit
toshiba_acpi: Add touchpad enable/disable support-
authorAzael Avalos <coproscefalo@gmail.com>
Wed, 26 Mar 2014 02:38:32 +0000 (20:38 -0600)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sun, 6 Apr 2014 15:48:55 +0000 (11:48 -0400)
commitc8ea48cf8bb12a88f4682ea4de14ac8a8a27443f
tree6168958b990e05c8100f579c97ef6af23d65f875
parent811be48a6c0eca1c222bc97cc345cc2ef519ab9d
toshiba_acpi: Add touchpad enable/disable support-

Toshiba laptops have two ways of letting userspace
know the touchpad has changed state, one with a
button on top of the touchpad that simply emmits
scancodes whenever enabled/disabled, and another one
by pressing Fn-F9 (touchpad toggle) hotkey.

This patch adds support to enable/disable the touchpad
by exposing the _touchpad_ file in sysfs that simply
makes a call to a SCI register, imitating what
Toshiba provided software does on Windows.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/toshiba_acpi.c