Fixing ThinkPad Trackpoint scrolling on Ubuntu 9.04


Recently after upgrading my Thinkpad R52 to Ubuntu 9.04 I had some trouble configuring the trackpoint scrolling (one of the Thinkpad features that is hard to live without once you get used to it).

There are a number of blog posts and a good article on ThinkWiki that explain the cause of this (a move away from Xorg based input configuration to evdev).  But these solutions didn’t work for me.

After poking round for a bit, I started to realise there were some inconsistencies in the solution offered for evdev.  This was mainly in relation to the “axis” settings.  So I tried taking the solution offered on ThinkWiki and changing the  “Y” axis mapping to “Z” axis mapping as shown below. This file should be saved as “/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.ZAxisMapping” type=”string”>4 5</merge>
<merge key=”input.x11_options.XAxisMapping” type=”string”>6 7</merge>
<merge key=”input.x11_options.Emulate3Buttons” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelTimeout” type=”string”>200</merge>
</match>

Problem fixed!

I’m not sure if I also need the “Y” axis line in the file also (or the “X” asix line for that matter), but everything seems to be working as expected.  On top of this, Firefox was also working exactly as expected with horizontal and vertical trackpoint scrolling working (without any changes on the about:config page).

5 Responses to “Fixing ThinkPad Trackpoint scrolling on Ubuntu 9.04”

  1. etieleq Says:

    This works for me! Thanks!

  2. rauhe Says:

    thx , same issue/fix with Ubuntu 9.04 on X61 Tablet.

  3. Rich Says:

    It’s not working with my t61, do i only have to make the mouse-wheel.fdi under etc/hal/fdi/policy ??????

  4. Duncan Says:

    Hi Rich,
    After making the .fdi file, you’ll need to restart your X session (or reboot your computer).
    If it doesn’t work for you, try the original fix I found which had “Y” axis instead of the “Z” axis. You can find details of this on ThinkWiki.

    Cheers
    Duncan

  5. Ronaldo Blanc Says:

    this guy know it all :D
    http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html

Leave a Reply