Comment 30 for bug 54191

Revision history for this message
In , Julien Cristau (jcristau) wrote :

> --- Comment #5 from Peter Hutterer <email address hidden> 2010-05-27 02:51:23 PDT ---
> On Thu, May 27, 2010 at 02:07:23AM -0700, <email address hidden>
> wrote:
> > --- Comment #4 from Jakob Unterwurzacher <email address hidden> 2010-05-27 02:07:23 PDT ---
> > Yes, i have xserver 1.7.6.
> >
> > The fdi thingy does not work any longer (it used to work in Ubuntu 9.10 -
> > xserver 1.6.4).
> > lshal gives
> > udi =
> > '/org/freedesktop/Hal/devices/usb_device_46d_c00e_noserial_if0_logicaldev_input'
> > [...]
> > input.product = 'Logitech USB-PS/2 Optical Mouse' (string)
> > input.x11_options.Emulate3Buttons = 'false' (string)
> > linux.device_file = '/dev/input/event8' (string)
> > [...]
> > which looks good but does not change anything. Hal is dead, no?
>
> uhm, yes. in 1.8, not in 1.7. AFAIK Ubuntu and Debian have some partial udev
> backport, I don't quite know which bits apply and which ones dont. check
> x11_input.rules or so in the udev files.
>
> Julien?
>
on debian we've ended up backporting the whole udev+inputclass work from
1.8 (except for the NIDR api break). i'm not sure anymore what ubuntu
10.4 ended up shipping with, but i think something like the following in
xorg.conf should work:

Section "InputClass"
        Identifier "3 buttons"
        MatchIsPointer "on"
        MatchVendor "Logitech"
        Option "Emulate3Buttons" "off"
EndSection