how to set AngleOffset in udev for Logitech Cordless Optical Trackman?

Peter Hutterer peter.hutterer at who-t.net
Sun Jun 20 16:53:27 PDT 2010


On Sat, Jun 19, 2010 at 07:17:52PM +0200, Harald Dunkel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi folks,
> 
> I am looking for some configuration hints for a Logitech Cordless
> Optical Trackman. AFAICS it requires an "AngleOffset" parameter
> to be set to -32' in the Hal configuration, but since Hal has been
> kicked out (good thing) and keyboard and mouse settings in xorg.conf
> are ignored by default, too, I wonder how this can be done for udev?

AngleOffset is a mousedrv(4) parameter, evdev doesn't have anything
similar and your device is now handled by evdev. Feel free to port this
over. 

I've been hoping to somehow unify rotation, inversion and axis swapping for
a while already, if you have any good ideas on how to do this please go for
it.

Cheers,
  Peter

> xinput shows me these params to set:
> 
> Device 'Logitech USB Receiver':
>         Device Enabled (121):   1
>         Device Accel Profile (249):     0
>         Device Accel Constant Deceleration (250):       1.000000
>         Device Accel Adaptive Deceleration (252):       1.000000
>         Device Accel Velocity Scaling (253):    10.000000
>         Evdev Reopen Attempts (238):    10
>         Evdev Axis Inversion (254):     0, 0
>         Evdev Axes Swap (256):  0
>         Axis Labels (257):      "Rel X" (129), "Rel Y" (130)
>         Button Labels (258):    "Button Left" (122), "Button Middle" (123), "Button Right" (124), "Button Wheel Up" (125), "Button Wheel Down" (126), "Button Horiz Wheel Left" (127), "Button Horiz Wheel Right" (128), "Button Side" (245), "Button Extra" (246), "Button Forward" (560), "Button Back"
> (561), "Button Task" (562), "Button Unknown" (239), "Button Unknown" (239), "Button Unknown" (239), "Button Unknown" (239)
>         Evdev Middle Button Emulation (259):    2
>         Evdev Middle Button Timeout (260):      50
>         Evdev Wheel Emulation (261):    0
>         Evdev Wheel Emulation Axes (262):       0, 0, 4, 5
>         Evdev Wheel Emulation Inertia (263):    10
>         Evdev Wheel Emulation Timeout (264):    200
>         Evdev Wheel Emulation Button (265):     4
>         Evdev Drag Lock Buttons (266):  0
> 
> No AngleOffset :-(.
> 
> Unfortunately the Trackball is unusable with the default settings,
> so any helpful hint would be highly appreciated.
> 
> 
> Regards
> 
> Harri
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkwc+7oACgkQUTlbRTxpHjfAvgCfb4qihxFCYfkRcfZdNCS2ILg9
> WqEAnRDGocs3YR8n8cUCzDwjQ38cQTM6
> =42T5
> -----END PGP SIGNATURE-----
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: peter.hutterer at who-t.net
> 



More information about the xorg mailing list