[lug] X11 mouse config, ExplorerPS/2 protocol?

Ken MacFerrin lists at macferrin.com
Sat Feb 17 21:00:19 MST 2007


D. Stimits wrote:
> My old mouse is dying, and I have a desktop with a glossy surface that
> basic optical mice don't work on. I refuse to use a mouse pad, for one
> thing there isn't room for it, for another it's still for mechanical
> mice that are a lot of trouble. So I'm trying to get a laser mouse
> working, the logitech mx revolution usb mouse.
> 
> Some web pages suggest that the FC4 6.8 version of xorg will work with
> protocol ExplorerPS/2. I've tried this, setting things like option
> buttons 7, and changing zaxis mapping. All I can get to work are two
> buttons. The wheel sort of works but not really. The basic left and
> right buttons and movement seem normal though. Anyone have a working
> InputDevice section for the mx revolution that I can look at? FYI, this
> older setup does not have the /dev/input/event* interface, just
> /dev/input/mice and /dev/input/mouse0. Changing a distro (to fc6) to use
> a slightly different mouse seems like overkill...in any case it seems to
> be more of an xorg issue than a distro issue.
> 


I'm currently using a Logitech MX510 USB mouse with my Gentoo desktop
and found the using the following was easiest way to get all 7 buttons
working:

In /etc/X11/xorg.conf:
  Section "InputDevice"
        Identifier      "mouse0"
        Driver          "mouse"
        Option          "Device"        "/dev/input/mice"
        Option          "Protocol"      "ExplorerPS/2"
        Option          "Buttons"       "10"
        Option          "ZAxisMapping"  "9 10"
  EndSection


In /home/user/kde3.5/autostart/logitech_keymap:

  #!/bin/sh
  xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"


Make sure the "logitech_keymap" script is executable..  This will active
the keymap at login when using the kdm login manager.

I also use the logitech_applet to ensure I'm getting full use of the
800dpi resolution.

This article does a good job of explaining several other setup options:
http://gentoo-wiki.com/HOWTO_Mouse_Scrollwheel

-Ken





More information about the LUG mailing list