Multiple mouse problem

Dave Joubert dave.joubert at googlemail.com
Sun Dec 9 06:40:29 PST 2007


Hi,

I am working on a hardware project with one mouse attached via /dev/psaux
and 4 more USB mice attached via a USB hub.

I want my desktop to ignore the extra mice, and have therefore modified
xorg.conf:
/etc/X11/xorg.conf-30-Section "InputDevice"
/etc/X11/xorg.conf-31-  Identifier      "Configured Mouse"
/etc/X11/xorg.conf-32-  Driver          "mouse"
/etc/X11/xorg.conf-33-  Option          "CorePointer"
/etc/X11/xorg.conf-34-# Option          "Device"
"/dev/input/mice"
/etc/X11/xorg.conf:35:  Option          "Device"                "/dev/psaux"
/etc/X11/xorg.conf-36-  Option          "Protocol"              "ImPS/2"
/etc/X11/xorg.conf-37-  Option          "ZAxisMapping"          "4 5"
/etc/X11/xorg.conf-38-  Option          "Emulate3Buttons"       "true"
/etc/X11/xorg.conf-39-EndSection

/var/log/Xorg.0.log confirms the config change....
    681 (**) Option "Protocol" "ImPS/2"
    682 (**) Configured Mouse: Device: "/dev/psaux"
    683 (**) Configured Mouse: Protocol: "ImPS/2"
    684 (**) Option "CorePointer"
    685 (**) Configured Mouse: Core Pointer
    686 (**) Option "Device" "/dev/psaux"
    687 (**) Option "Emulate3Buttons" "true"
    688 (**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
    689 (**) Option "ZAxisMapping" "4 5"
    690 (**) Configured Mouse: ZAxisMapping: buttons 4 and 5
    691 (**) Configured Mouse: Buttons: 9
    692 (**) Configured Mouse: Sensitivity: 1
    693 (**) Option "SendCoreEvents"


When I plug the USB mice in,  udev generates
crw-rw---- 1 root root 13, 70 2007-12-09 13:46 event6
crw-rw---- 1 root root 13, 71 2007-12-09 13:46 event7
crw-rw---- 1 root root 13, 72 2007-12-09 13:46 event8
crw-rw---- 1 root root 13, 73 2007-12-09 13:46 event9
and
crw-rw---- 1 root root 13, 34 2007-12-09 13:46 mouse2
crw-rw---- 1 root root 13, 35 2007-12-09 13:46 mouse3
crw-rw---- 1 root root 13, 36 2007-12-09 13:46 mouse4
crw-rw---- 1 root root 13, 37 2007-12-09 13:46 mouse5
as well as firing
pass_env_to_socket: passed 143 bytes to socket
'/org/freedesktop/hal/udev_event'
and
pass_env_to_socket: passed -1 bytes to socket '/org/kernel/udev/monitor'

When I start using the additional mice, the cursor on the desktop reacts,
which
is unexpected. Ensuring that /org/freedesktop/hal/udev_event does not fire,
does not solve the problem.

I have the following packages installed (Kubuntu 7.10 but it was a problem
in 7.4 as well)
ii  xorg                                       1:7.2-5ubuntu13
X.Org X Window System
ii  xserver-xorg                           1:7.2-5ubuntu13
the X.Org X server
ii  xserver-xorg-core                   2:1.3.0.0.dfsg-12ubuntu8
X.Org X server -- core server
ii  xserver-xorg-input-all             1:7.2-5ubuntu13
the X.Org X server -- input driver metapacka
ii  xserver-xorg-input-evdev        1:1.1.5-3
   X.Org X server -- evdev input driver
ii  xserver-xorg-input-kbd           1:1.2.0-1+1.2.1ubuntu1
X.OrgX server -- keyboard input driver
ii  xserver-xorg-input-mouse       1:1.2.1-1
X.Org X server -- mouse input driver

I am truly stuck on this one. It used to work fine in the bad old days when
one had to modify
xorg.conf explicitly to add a second mouse.

Dave Joubert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20071209/ee1260fe/attachment.html>


More information about the xorg mailing list