在magclinux里面同时使用鼠标和touchpad
记得从前有个帖子说过这个问题,但是在我的本本上不好用:usb鼠标一切正常,但是sync的触控板一直不能老老实实工作,一使用就会到处乱跑。这几天翻了不少资料,终于搞定,贴出来给大家分享一下:
1.确认有相应的驱动程序:
路径 /usr/X11R6/lib/modules/input/
我的是
/usr/X11R6/lib/modules/input/synaptics_drv.o
2.编辑 /etc/X11/XF86Config-4
(1)需要编辑的
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0"Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1""AlwaysCore"##新加入的内容
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
(2)新加入:
Section "InputDevice"
Identifier "Mouse1"
Driver "synaptics"##驱动程序
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.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
#Option "Repeater" "/dev/ps2mouse"
EndSection
3.保存,重新启动X
哈哈,触控板终于听话了:被定义成四个键,其中两个被定义成类似上下滚轮的功能。
补充:内核要求 2.4.x (x>=10),否则需要打补钉,
还有,我用的是1.2pre4
页:
[1]