2、下载安装synaptics X11驱动synaptics-0.14.1.tar.bz2
到google中搜一下到处都是
http://mirror.gentoo.gr.jp/distfiles/synaptics-0.14.1.tar.bz2
安装:
解压
./configure --prefix=/usr
make
make install
3、配置X11配置文件(xorg.conf或XF86Config)
a.
Section "Module"
...
Load "synaptics" #添加触摸板x11模块
EndSection
b.
#新建触摸板输入设备
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "SendCoreEvents"
Option "Device" "/dev/input/event1" #关于这个的判断请看下面
Option "Protocol" "event"
# Next line required only if you want to disable the
# mousepad while typing:
Option "SHMConfig" "on"
# The rest of the options are NOT required, just a default
# similar to the Windows drivers with non of the extra features.
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1400"
Option "BottomEdge" "4500"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
EndSection
说明:Option "Device"的判断
ls /dev/input/event*
依此调用
cat /dev/input/eventX [X表示上面ls出来的设备]
此时移动触摸板看看cat是否有输出,如果有输出说明该/dev/input/eventX
即为你的触摸板输出设备,将该设备路径添加到上面Option "Device"中
我的为:Option "Device" "/dev/input/event1"
c.
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Touchpad" #将触摸板设备添加到此处
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
3、下载并安装KDE控制中心touchpad控制模块
ksynaptics-0.2.0.tar.bz2
http://qsynaptics.sourceforge.net/ksynaptics-0.2.0.tar.gz
下载解压
./configure --prefix=/usr
make
make install
重启X后,登陆kde。控制中心 -> 外设 中就会看到一个Touch pad
该模块中提供了touchpad的开启关闭,灵敏度和其它一些功能。
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "SendCoreEvents"
Option "Device" "/dev/input/event1"
Option "Protocol" "event"
# Next line required only if you want to disable the
# mousepad while typing:
Option "SHMConfig" "on"
# The rest of the options are NOT required, just a default
# similar to the Windows drivers with non of the extra features.
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1400"
Option "BottomEdge" "4500"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
EndSection
#Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
# Identifier "DevInputMice"
# Driver "mouse"
# Option "Protocol" "PS/2"
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5"
# Option "Emulate3Buttons" "no"
#EndSection