This repository provides the patches by Takashi Iwai from SUSE for supporting the LED in Synaptics touchpads. Like the one that comes with the HP Envy 14 laptop.
To enable the support for the LED you must apply the two patches:
-
Clone the repo:
git clone git://github.com/perusio/xorg-synaptics-led-support.git
-
Apply the
touchpad-led-2.6.28.patch
to the kernel source tree:patch -p1 -i /path/to/touchpad-led-2.6-28.patch -s --dry-run
Check if there's no output. If there is there are problems applying
the patch. Note that you should invoke the above command from the
root of the kernel source. For example, if you're applying to
kernel version 2.6.39, the root directory is linux-2.6.39
.
Now run patch
to effectively apply the patch:
patch -p1 -i /path/to/touchpad-led-2.6-28.patch -s
-
Apply the
04-xf86-input-synaptics-clickpad-led-1.4.0.patch
to the xorg synaptics driver.I'll gloss over the details and instead point you to a debian package I created that already contains the patched xorg synaptics driver: http://debian.perusio.net/unstable. This package is for testing/unstable. The instructions for adding my debian repository to your
sources.list
are given here.
I compile my own custom kernels. If you use debian stock kernels you can use the Dynamic Kernel Module System and build a debian package within that framework.
Detailed instructions regarding that are out of scope for this modest README. Here's a wiki that elaborates on how to do that.
If you're paranoid like me you run logcheck
with a server profile there may appear issues of synchronization of
the touchpad driver. AFAICT this is a kernel issue.
To stop receiving logcheck emails because of the driver issues then do this:
-
Clone the
gist
:git clone git://gist.github.com/1036057.git
-
You should have a file
local-kernel
. -
Move this file to the
/etc/logcheck/ignore.server.d
or/etc/logcheck/ignore.workstation.d
or/etc/logcheck/ignore.paranoid.d
. -
Done.