How to configure TrackPoint for Ubuntu Jaunty or Intrepid

I found the following links helpful (best)

The main step is to create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi with the following contents:

<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.XAxisMapping" type="string">6 7</merge>
 <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.ZAxisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>

These instructions apply for Ubuntu Jaunty (9.04) and Intrepid (8.10).

The above is based on code from Michael Vogt and adapted to support both vertical and horizontal scrolling. See

To adjust mouse pointer movement speed, type the following into a terminal:

    # echo -n 120 > /sys/devices/platform/i8042/serio0/serio2/speed 

When you are happy with the settings, add these lines into /etc/rc.local to persist settings:

echo -n 160 > /sys/devices/platform/i8042/serio1/serio2/speed
echo -n 255 > /sys/devices/platform/i8042/serio1/serio2/sensitivity
echo -n   7 > /sys/devices/platform/i8042/serio1/serio2/inertia

Use your own values, of course.

FYI, Configure-trackpoint is a Gnome TrackPoint configuration tool written by Cheuksan Edward Wang. However, it DOES NOT WORK on amd64. The above steps take care of the configuration on amd64 versions of Ubuntu.