Saturday, January 7, 2012

How to make touchpad to work with Linux


I have laptop Asus K53SV and the touchpad was recognized as a mouse only. All of the features that it offered were just navigating the pointer, no scrolling, no disable when typing etc.

This tutorial is applicable for Linux Mint and Ubuntu.

There is a patch available (elantech) which solves this issue and the touchpad is recognized with all (at least some :) ) features.

First, install the dkms (Dynamic Kernel Module Support) package if it is not already installed on your machine:

sudo apt-get install dkms

Then, download the patch:

cd /usr/src/
sudo wget http://planet76.com/drivers/elantech/psmouse-elantech-v6.tar.bz2

Unpack the patch:

sudo tar jxvf psmouse-elantech-v6.tar.bz2

Add the patch to the psmouse module:

sudo dkms add -m psmouse -v elantech-v6

Build it:

sudo dkms build -m psmouse -v elantech-v6

Install it:

sudo dkms install -m psmouse -v elantech-v6

For successful installation you should get something like this at the end: DKMS: install Completed.

Now, to load the new module with the patch included, you will need to either reboot your machine or reload the new module by executing the following command:

sudo rmmod psmouse && sudo modprobe psmouse

Now, go to System -> Preferences -> Mouse -> Touchpad and you will see all the settings that are available for the touchpad! :)



Courtesy : https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/681904/comments/64