Ubuntu 9.0.4下配置TrackPoint笔记。
首先找到设备号
grep IBM /var/log/Xorg.0.log
修改 /etc/X11/xorg.conf
xorg.conf
//加入如下内容,重启
Section “InputDevice”
Identifier “Configured Mouse”
Driver “evdev”
Option “CorePointer”
Option “Device” “/dev/input/event9”
Option “Emulate3Buttons” “true”
Option “EmulateWheel” “true”
Option “EmulateWheelButton” “2”
Option “ZAxisMapping” “4 5”
EndSection
Section “ServerLayout”
Identifier “Default Layout”
Screen “Default Screen”
Inputdevice “Configured Mouse”
EndSection
//如果不行,可以试下如下方法
再来个8.10的
创建文件:/etc/hal/fdi/policy/mouse-wheel.fdi
代码:
<match key=”info.product” string=”TPPS/2 IBM TrackPoint”>
<merge key=”input.x11_options.EmulateWheel” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelButton” type=”string”>2</merge>
<merge key=”input.x11_options.ZAxsisMapping” type=”string”>4 5</merge>
<merge key=”input.x11_options.Emulate3Buttons” type=”string”>true</merge>
</match>