vantu5z / xorg-synaptics-led-support

Patches for supporting the LED in synaptics touchpads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for the LED in Synaptics touchpads in Xorg

Introduction

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.

Installation

To enable the support for the LED you must apply the two patches:

  1. Clone the repo:

    git clone git://github.com/perusio/xorg-synaptics-led-support.git

  2. 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
  1. 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.

Dynamic Kernel Module System (DKMS)

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.

Logcheck ignore rules for all profiles

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:

  1. Clone the gist:

    git clone git://gist.github.com/1036057.git

  2. You should have a file local-kernel.

  3. Move this file to the /etc/logcheck/ignore.server.d or /etc/logcheck/ignore.workstation.d or /etc/logcheck/ignore.paranoid.d.

  4. Done.

About

Patches for supporting the LED in synaptics touchpads