经过测试,在/etc/X11/xorg.conf中如下配置可以使TrankPoint和USB Mouse都可以正常工作,指点杆和USB滚轮都正常
Section "InputDevice"
Identifier "TrackPoint"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"
EndSection
Section "InputDevice"
Identifier "UsbMouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "on"
Option "Emulate3Timeout" "50"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
.......
InputDevice "TrackPoint"
InputDevice "UsbMouse"
......
EndSection
Identifier "TrackPoint"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"
EndSection
Section "InputDevice"
Identifier "UsbMouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "on"
Option "Emulate3Timeout" "50"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"
Option "ZAxisMapping" "4 5"
EndSection
Section "ServerLayout"
.......
InputDevice "TrackPoint"
InputDevice "UsbMouse"
......
EndSection