Differences between revisions 4 and 5
Revision 4 as of 2009-05-24 20:39:57
Size: 2882
Editor: FranklinPiat
Comment: Trackpoint on Squeeze
Revision 5 as of 2011-01-26 10:19:42
Size: 3670
Editor: ?TuukkaHastrup
Comment: updates for squeeze
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
On most thinkpad, you need to modify {{{/etc/X11/xorg.conf}}} to enable scrolling with the Trackpoint. On most Thinkpads, Debian doesn't enable scrolling with the Trackpoint by default.
Line 7: Line 7:
== Trackpoint on Lenny == == Trackpoint scrolling on Lenny ==
Line 20: Line 20:
== Trackpoint on Etch == == Trackpoint scrolling on Etch ==
Line 38: Line 38:
== Trackpoint on Squeeze and later ==
Thanks to hal and Xorg integration...
== Trackpoint scrolling on Squeeze and later ==
=== GNOME ===

After installing [[http://live.gnome.org/GPointingDeviceSettings|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:
{{{#!plain
$ 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.)

trackpoint.jpg

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:

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">

<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.Emulate3Buttons" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
</match>
</deviceinfo>

Device identification

Device is a "TPPS/2 IBM TrackPoint":

  • dmidecode -t 21 reports

    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