HomeBanner

Harware: Input devices Related Problems

Mouse FAQ

1. How do I configure a WheelMouse ?
2. how can I use two mice simultaneously?
1.

How do I configure a WheelMouse ?

Edit your /etc/X11/XF86Config file to look like this:

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/psaux"
  Option       "InputFashion" "Mouse"
  Option       "Name" "SCROLL MOUSE"
  Option       "Protocol" "IMPS/2"
  Option       "Vendor" "MITSUMI"
  Option       "Buttons" "3"
  Option       "ZAxisMapping" "4 5"
EndSection
      

2.

how can I use two mice simultaneously?

Ralph Sanford

Below is a copy of the note I kept regarding changes that were needed to get a plug-in USB mouse and the built-in pointer working on my laptop. YMMV.

The XF86config file is found in /etc/X11. It warns you not to edit the file. I have heard that some people where able to get 2 mice working using YaST to setup both mice. YaST did not work for me, so I ignore the warning and edit the file directly. Modify at your own risk.

After modifying the XF86config file the mice work almost perfectly with my laptop. Whether I plug-in a PS/2 or USB mouse, it works. If no mouse is plugged in, the built-in pointer works. If a USB mouse is plugged in, the mouse and pointer work simultaneously. Had difficulties getting the PS/2 plug-in mouse and the pointer to work simultaneously, so I gave up on the PS/2 and only use a USB mouse now.



-------------------------------------------------------------------------------
#  THIS NOT A COMPLETE XF86CONFIG FILE !  !  !
#  ONLY SHOWS PORTIONS NEEDED TO GET 2 MICE TO WORK SIMULTANEOUSLY      
#     
#       
#     NOTE ! !  what seems to be important is to use 2 different
protocols
#     such as "imps/2" and "ps/2"  
#     and 2 different devices such as ""dev/mouse" and "dev/psaux"
#     until 2 protocols and devices were used the devices would not work
#     simultaneously
#        

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "ButtonNumber" "5"
  Option       "Device" "/dev/mouse"
  Option       "Name" "Autodetection"
  Option       "Protocol" "imps/2"
  Option       "Emulate3Buttons" "on"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[3]"
  Option       "ButtonNumber" "5"
  Option       "Device" "/dev/psaux"
  Option       "Emulate3Buttons" "on"
  Option       "Name" "Autodetection"
  Option       "Protocol" "ps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

#  With 2 mouse devices shown above, then need two input mouse devices
#  here
#  Does not seem to matter which mouse device is "core" or "sendcore"  
#      

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection
----------------------------------------------------------------------------

Updated: Tue, 10 Feb 2004
Valid CSS!Valid HTML 4.01!