在debian wiki上看到一篇文章,英文的,thinkpad小红点驱动安装,看来debian果然不愧有这么好的声誉,内容确实丰富,一个小时前还看了它的中文安装说明文档,也太丰富了。考虑是否换有必要换成debian,fedora15太不稳定了,半年的版本生命周期,又从来没有直接升级成功,都是全新安装,再做设置,虽然/home下家目录可以保留不少设置,新安装后总是要做一些机械的工作,不爽。是否换成centos,或者debian/ubuntu,或许换centos改变相对小一点。
On most Thinkpads, Debian doesn’t enable scrolling with the Trackpoint by default.
Trackpoint scrolling on Lenny
In /etc/X11/xorg.conf, find the section named “Configured Mouse”, then follow the instruction :
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
#add those three lines
Option "EmulateWheel" "true"
Option "EmulateWheelTimeOut" "200"
Option "EmulateWheelButton" "2"
EndSection
Trackpoint scrolling on Etch
In /etc/X11/xorg.conf, find the section named “Configured Mouse”, then follow the instruction :
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
#Comment this line out
#Option "Emulate3Buttons" "true"
#add those three lines
Option "EmulateWheel" "true"
Option "EmulateWheelTimeOut" "200"
Option "EmulateWheelButton" "2"
EndSection
Trackpoint scrolling on Squeeze and later
GNOME
After installing GPointing Device Settings (package gpointing-device-settings), a new option “Pointing devices” appears in the GNOME settings menu. Select “TrackPoint” and check “Use wheel emulation”, select “button: 2”, and check “Enable vertical scroll” and “Enable horizontal scroll”.
xinput
Install package xinput and run the following commands:
$ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
$ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
$ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 8 6 7 4 5
hal and Xorg integration
(Note that HAL is deprecated and not installed by default on Squeeze.)
Create the file /etc/hal/fdi/policy/ibm_trackpoint.fdi containing:
true
2
true
200
Device identification
Device is a “TPPS/2 IBM TrackPoint”:
dmidecode -t 21reports
Built-in Pointing Device
Type: Track Point
Interface: PS/2
Buttons: 3
/proc/bus/input/devices contains:
I: Bus=0011 Vendor=0002 Product=000a Version=0000
N: Name="TPPS/2 IBM TrackPoint"
P: Phys=synaptics-pt/serio0/input0
S: Sysfs=/class/input/input12
U: Uniq=
H: Handlers=mouse2 event12
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
See Also
from http://wiki.debian.org/InstallingDebianOn/Thinkpad/Trackpoint
延伸阅读coded by nessus