Re: logitech mx510

From: Roberto Winter (rhwinter_at_gmail.com)
Date: 03/26/05

  • Next message: Nate Bargmann: "Re: Acrobat 7 plugin for Firefox not working"
    Date: Sat, 26 Mar 2005 00:29:36 -0300
    To: debian-user@lists.debian.org
    
    

    FIXED!
    Sorry everybody! The link I sent had the answer to all my problems.
    On Debian the XF86Config-4 should be:

    Section "InputDevice"
            Identifier "Logitech MX510"
            Option "CorePointer"
            Driver "mouse"
            Option "Dev Name" "Logitech USB-PS/2 Optical Mouse"
            Option "Device" "/dev/input/mouse0"
            Option "Protocol" "evdev"
            Option "Buttons" "10"
            Option "ZAxisMapping" "9 10"
            Option "Resolution" "800"
    EndSection

    note that there's no "Dev Phys" Option.
    And you also have to compile the evdev module on the kernel. Then do:
    # echo "evdev" >> /etc/modules

    On Fri, 25 Mar 2005 23:22:58 -0300, Roberto Winter <rhwinter@gmail.com> wrote:
    > Hi all! I need some mousing help... here we go:
    >
    > I recently bought a Logitech MX510 optical mouse and I am having
    > difficulties to set it up on Debian. I'm on unstable (sarge) using
    > kernel 2.6.9.
    > I found some information on how to do it, but none of them worked. Is
    > there anyone who successfully did it?
    >
    > I followed this:
    > http://www.linux-gamers.net/modules/wfsection/article.php?articleid=46
    > and perhaps there is a clue here:
    > http://www.linuxquestions.org/questions/history/303458
    >
    > Is 'evedev' included in Debian's X package? I think that the problem
    > might reside there... but the error messages given by xfree don't
    > indicate that. I also found this post:
    > http://ubuntuforums.org/showthread.php?t=20094
    > which apparently indicates that someone could install this mouse with
    > all the fancy extras.
    >
    > The bizarre thing is I'm always getting "xev" output as if the mouse
    > had only 7 buttons... That is, in 'XF86Config-4' under 'Section
    > "InputDevice"' it makes no difference if I put:
    >
    > Option "Buttons" "7"
    > Option "ZAxisMapping" "4 5"
    >
    > or
    >
    > Option "Buttons" "10"
    > Option "ZAxisMapping" "9 10"
    >
    > That is, it makes, but for the worse! In the first case I don't get
    > all buttons working, the extra ones are seen as if they were buttons
    > 1,4 or 5.... which is bad, because I already have buttons 4 and 5
    > assigned to the wheel.
    > On the second case the wheel does not work, despite xev's output
    > giving the wheel Buttons 9 and 10!!! And buttons 4 and 5 (according to
    > xev) work as wheels. Either way, I also get some repetitions, that is
    > the extra ones are again seen as if they were buttons 1,4 or 5. I
    > think that this could be related to the fact that I'm not using the
    > correct driver, since to make it work I use:

    the problem was, this is obligatory:
    xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"

    > Option "Protocol" "ExplorerPS/2"
    >
    > So, which _is_ the correct driver??

    answer: evdev
     
    > THANKS a lot for any light you can shed on this one!!
    >
    > Oh and PLEASE, if you answer this, cc a copy to me since I don't
    > subscribe to the list. Thanks again.
    >
    > Roberto.
    >
    > Some information:
    > ==================
    > my XF86Config-4 entry:
    > Section "InputDevice"
    > Identifier "Configured Mouse"
    > Driver "mouse"
    > Option "CorePointer"
    > Option "Protocol" "evdev"
    > Option "Dev Name" "Logitech USB-PS/2 Optical Mouse" #
    > cat /proc/bus/input/devices
    > Option "Dev Phys" "usb-0000:00:10.1-1/input0" # cat
    > /proc/bus/input/devices
    > Option "Device" "/dev/input/mice" # (/dev/input/event0
    > also appears to work)
    > Option "Buttons" "10"
    > Option "ZAxisMapping" "9 10"
    > Option "Emulate3Buttons" "false"
    > Option "AngleOffset" "-32" # what the hell is this?!?
    > Option "Resolution" "800" # does this work?
    > EndSection
    > ====================
    > $ cat /proc/bus/input/devices
    > I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
    > N: Name="AT Translated Set 2 keyboard"
    > P: Phys=isa0060/serio0/input0
    > H: Handlers=kbd
    > B: EV=120013
    > B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
    > B: MSC=10
    > B: LED=7
    >
    > I: Bus=0003 Vendor=046d Product=c01d Version=2100
    > N: Name="Logitech USB-PS/2 Optical Mouse"
    > P: Phys=usb-0000:00:10.1-1/input0
    > H: Handlers=mouse1
    > B: EV=f
    > B: KEY=ff0000 0 0 0 0 0 0 0 0
    > B: REL=103
    > B: ABS=300 0
    > =====================
    > # dmesg | grep usb
    > usb 3-1: new low speed USB device using address 3
    > input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on
    > usb-0000:00:10.1-1
    > =====================
    > no output from: $ sudo strings /usr/X11R6/bin/X | grep evdev
    > =====================
    > xfree log errors:
    > (**) Option "Protocol" "evdev"
    > (**) Configured Mouse: Protocol: evdev
    > (**) Option "CorePointer"
    > (**) Configured Mouse: Core Pointer
    > (**) Option "Buttons" "10"
    > (**) Option "Emulate3Buttons" "false"
    > (**) Option "AngleOffset" "-32"
    > (**) Option "ZAxisMapping" "9 10"
    > (**) Configured Mouse: ZAxisMapping: buttons 9 and 10
    > (**) Configured Mouse: Buttons: 10
    > (II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
    > (II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
    > (II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
    > (**) Option "Dev Name" "Logitech USB-PS/2 Optical Mouse"
    > (**) Option "Dev Phys" "usb-0000:00:10.1-1/input0"
    > (EE) Configured Mouse: cannot open input device
    > No core pointer
    >
    > Fatal server error:
    > failed to initialize core devices
    >

    Guess that is it. Sorry again... perhaps this will help someone in the
    future!...

    Roberto.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Nate Bargmann: "Re: Acrobat 7 plugin for Firefox not working"

    Relevant Pages

    • Mouse wheel issue on current Ubuntu and Debian releases
      ... On Ubuntu Maverick 32-bit, Ubuntu Natty 64-bit and Debian Squeeze 64-bit ... the mouse wheel doesn't work. ... It's ok for older Ubuntu and Debian ...
      (Debian-User)
    • Re: set up Xserver for etch upgrade
      ... I updated my debian box to the latest stable release which is etch. ... failed to initialize core devices ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • XORG.CONF or a solution without xorg.conf needed
      ... Subject: Until now Debian seems to be the right decision:), ... better performance than Ubuntu ... Then I have several needs and need several drivers. ... At the moment for my Debian install, the mouse wheel isn't working, as ...
      (Debian-User)
    • XORG.CONF or a solution without xorg.conf needed
      ... Subject: Until now Debian seems to be the right decision:), ... to select the screen resolution I like, ... Then I have several needs and need several drivers. ... At the moment for my Debian install, the mouse wheel isn't working, as ...
      (Debian-User)
    • Trust 250 mouse - wheel problem
      ... I'm using Debian 3.1/Xfree86 4.3.0.1 with a Trust 250sp mouse. ... The problem is that the wheel is not working, ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)