[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#563385: Trackballs



Hi,

ael a écrit :
> I just saw your bug report about an fdi file no longer working, and saw 
> that it involved a Logitech mouse (although maybe not a trackball).
>
> I just had all my mice/tracballs stop working because of the change from 
> hal to udev, and have written a udev rule to fix them.
>
> It seems similar to what you need so below is the message that I filed into 
> another bug:
> ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558318#58 )
>   


Many thanks for your help.

Here is the configuration file that I made based on your suggestion:

        $ cat /etc/udev/rules.d/z60_xorg-input-logitech.rules
        ACTION!="add|change", GOTO="lefthand_end"
        KERNEL!="event*", GOTO="lefthand_end"
       
        ATTRS{name}=="Logitech USB-PS/2 Optical Mouse", GOTO="lefthand"
        GOTO="lefthand_end"
       
        LABEL="lefthand"
       
        ENV{x11_options.ButtonMapping}="3 2 1"
       
        LABEL="lefthand_end"

Unfortunately it produced the same result as my previous config
with /etc/hal/fdi/policy/...
The mapping is ok for everyone except the evdev driver!


Here is an extract of my /var/log/Xorg.0.log:

(II) config/udev: Adding input device "Logitech USB-PS/2 Optical
Mouse" (/dev/input/event5)
(**) "Logitech USB-PS/2 Optical Mouse": always reports core events
(**) "Logitech USB-PS/2 Optical Mouse": Device: "/dev/input/event5"
(**) "Logitech USB-PS/2 Optical Mouse": ButtonMapping '3 2 1'
(II) "Logitech USB-PS/2 Optical Mouse": Found 3 mouse buttons
(II) "Logitech USB-PS/2 Optical Mouse": Found scroll wheel(s)
(II) "Logitech USB-PS/2 Optical Mouse": Found relative axes
(II) "Logitech USB-PS/2 Optical Mouse": Found x and y relative axes
(II) "Logitech USB-PS/2 Optical Mouse": Configuring as mouse
(**) "Logitech USB-PS/2 Optical Mouse": YAxisMapping: buttons 4 and 5
(**) "Logitech USB-PS/2 Optical Mouse": EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device ""Logitech USB-PS/2 Optical
Mouse"" (type: MOUSE)
(**) "Logitech USB-PS/2 Optical Mouse": (accel) keeping acceleration
scheme 1
(**) "Logitech USB-PS/2 Optical Mouse": (accel) acceleration profile 0
(II) "Logitech USB-PS/2 Optical Mouse": initialized for relative axes.
(II) config/udev: Adding input device "Logitech USB-PS/2 Optical
Mouse" (/dev/input/mouse1)
(**) "Logitech USB-PS/2 Optical Mouse": always reports core events
(**) "Logitech USB-PS/2 Optical Mouse": Device: "/dev/input/mouse1"
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""Logitech USB-PS/2 Optical Mouse""

The last lines are ... disquieting....


This bug may be similar to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567491


Regards,
Christophe




Reply to: