Tuesday, April 14, 2009

解決gsynaptics觸控版不能連點

vi /etc/X11/xorg.conf

在xorg.conf加入Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "Synaptics"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/event5"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
Option "SendCoreEvents" "true"
Option "SHMConfig" "true"
Option "SHMConfig" "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
EndSection

那個event5是
cat /proc/bus/input/device

I: Bus=0011 Vendor=0002 Product=0007 Version=25b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio4/input0
S: Sysfs=/class/input/input5
U: Uniq=
H: Handlers=mouse0 event5
B: EV=b
B: KEY=6420 0 70000 0 0 0 0 0 0 0 0
B: ABS=11000003

根據實際狀況設定
xorg.conf 是使用
nvidia-xconfig
自動產生的

No comments: