ThinkPad ThinkPoint support for middle-button scrolling

Dan Nicholson dbn.lists at gmail.com
Sat Mar 14 17:58:30 PDT 2009


2009/3/14 Luka Renko <lure at kubuntu.org>:
> Hello all,
>
> I would like to request adding support for Lenovo ThinkPad's ThinkPoint
> quirk,
> that adds standard feature of scrolling with middle button (which is
> expected
> by the users of the-other-OS). This is requested by several users in Ubuntu
> bug [1] as well it is described method on ThinkWiki [2]
>
> Therefore, I would suggest this X quirk is added to hal-info package:
>
> <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>
> <merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
> </match>

FYI, a lot of that is redundant. All I use is:

$ cat /etc/hal/fdi/policy/trackpoint-x11.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="TrackPoint">
      <!-- Pass the EmulateWheel options for Trackpoint -->
      <merge key="input.x11_options.EmulateWheel" type="string">on</merge>
      <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
      <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
    </match>
  </device>
</deviceinfo>

The rest are already defaults. I added the EmulateWheelTimeout support
to the evdev driver precisely for the TrackPoint.

But I'd agree with Matthew that it's really a policy decision that's
not up to hal. Not to mention that the fdi file setting x11_* is not
installed with hal. You'd want to bring this to the xorg list and try
to get it installed with the xf86-input-evdev driver.

--
Dan


More information about the hal mailing list