Thursday, July 31, 2008

Getting the Touchpad to work in Slackware!


This is how I got the touchpad on my laptop to work using synaptics.

After installing synaptics, the following lines have to be added to /etc/X11/xorg.conf. Before fiddling with xorg.conf, it is always suggested that you take a backup of the file -

# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old

The lines to be added to xorg.conf are as follows -

Section "Module"
Load "synaptics
EndSection

Then in the "InputDevice" Section -

Section "InputDevice"

Identifier "Synaptics Mouse"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "HorizScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"

EndSection

Then in the "ServerLayout" Section

Section "ServerLayout"

Input Device "Synaptics Mouse" "CorePointer"

EndSection


After this reload the "psmouse" module as follows -

$ sudo modprobe -r psmouse
$ sudo modprobe psmouse

This should be added to your startup scripts.
The touchpad should be working after you reboot.

No comments: