diff options
author | AceLan Kao <acelan.kao@canonical.com> | 2011-10-04 16:25:44 +0800 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-10-24 16:52:37 +0200 |
commit | 2d8b90be4f1cadd9921312e2983459f568d29cd1 (patch) | |
tree | 6ae5de2592ebad0021f4e2ec0212019462bac9d9 /drivers/ptp | |
parent | bd038080c70b70a5b31c48af774fada36eacc834 (diff) |
dell-laptop: support Synaptics/Alps touchpad led
This patch supports Dell laptop with Synaptics and Alps touchpad chip
that with LED to indicate the functionality of touchpad is disabled or
enabled.
The command for touchpad LED is 0x97, and the data 1 means turn on the
touchpad LED, 2 means turn it off.
BTW, I add dell_quirks to white list those machines that supports this
behavior, so that the code won't affect those who don't have a touchpad LED
machine.
We can easily to turn it on/off by
echo 1 > /sys/class/leds/dell-laptop::touchpad/brightness
echo 0 > /sys/class/leds/dell-laptop::touchpad/brightness
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions