2. xfree86 驱动支持
# apt-get install xfree86-driver-synaptics
# vi /etc/X11/XF86Config-4
Section "InputDevice"
Identifier "Thinkpad Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
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 "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
[color=red]Option "SHMConfig" "on"[/color]
EndSection
复制代码
注意最后一项 "SHMConfig", 如果你想在 X 下直接修改 TouchPad 设置,请打开。
下面介绍几个它的几个图形配置工具:
1) ksynaptics - A KDE application to configure Synaptics
# apt-get install ksynaptics
打开 KDE 控制中心(Control Center ) -> Peripherals -> Touch Pad
请查看截图
使用中你可能会碰到一个小问题,解决方法:
Doing all this got horizontal and vertical scrolling working for me, but with a surprising 'special effect.' The scrolling actions got swapped - moving the trackpoint top/down caused horizontal scrolling and vice-versa! I wrote to Daniel about this problem and he asked me to modify the tp-scroll-patched.c as follows:
242: y = (-1)*getc(in); /* was x = getc(in); */ 243: x = (-1)*getc(in); /* was y = getc(in); */