Skip to content

Ubuntu 9.10 and a Logitech Cordless Optical Trackman

So there has been much written about getting this mouse set up with Ubuntu, but all failed for me. Heres a quick little post about what I’ve run in to and how I fixed it.

For the impatent heres my fdi:


<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
 <device>
  <match key="info.capabilities" contains="input.mouse">
   <match key="info.product" string="Logitech USB Receiver">
    <merge key="input.x11_driver" type="string">mouse</merge>
    <merge key="input.x11_options.Protocol" type="string">ImPS/2</merge>
    <merge key="input.device" type="string">/dev/input/by-id/usb-Logitech_USB_Receiver-mouse</merge>
    <merge key="input.x11_options.AngleOffset" type="string">-35</merge>
    <merge key="input.x11_options.Buttons" type="string">10</merge>
    <merge key="input.x11_options.ButtonMapping" type="string">1 2 3 6 7 8 9 10 4 5</merge>
    <merge key="input.x11_options.ZaxisMapping" type="string">4 5</merge>
   </match>
  </match>
 </device>
</deviceinfo>

Off Axis

Out of the box, this mouse is off axis, this fixes that.


<merge key="input.x11_options.AngleOffset" type="string">-35</merge>

Wheel non-functonal

Everything that I found on getting this set up with HAL used the ‘Auto’ protocol. For me what ever protocol HAL was picking would not see all the button clicks past 3, thus no wheel action. Forcing to ‘ImPS/2′ fixed that too.


<merge key="input.x11_options.Protocol" type="string">ImPS/2</merge>

No buttons past 5?

I’m finding that xev is not seeing any button press past #5, and because there are 10 buttons on the device that things are just duplicated. So far no solution to this one, but I’m not finding that I’m not really compelled to hunt this one down. So far here’s the button mapping’s on my box:

Well hope that helps some one out there, feel free to use the comments to add any corrections you’ve found useful.

One Comment

  1. dapicester wrote:

    Hi,

    I also have this trackball. For me all the buttons are recognized, and I use btnx for configuration (it is in the ubuntu repos).

    Moreover, I tried to set the Protocol from “Auto” to “ImPS/2″ and noticed that there is no button past #5.
    In the logs (/var/log/Xorg.log or similar) you can find that setting Protocol=”Auto” uses the “ExplorerPS/2″ and all the buttons have their proper ID (defined in ButtonsMapping). So setting “ExplorerPS/2″ or leaving “Auto” should be better.
    If with this your wheel still does not work, try changing the ButtonsMapping option.

    Tuesday, April 6, 2010 at 06:08 | Permalink

2 Trackbacks/Pingbacks

  1. Develonizer › Ubuntu 10.4 upgrade drama on Tuesday, May 11, 2010 at 10:13

    [...] explained how to fix it before but because 10.4 switched to using udev exclusively, that fix no longer applies. The odd thing is [...]

  2. [...] This post was mentioned on Twitter by ben hengst. ben hengst said: @gorthx most of mine have too, just this one http://bit.ly/difgAm [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*