why default pointer added despite configured mouse?
Krisztian Mark Szentes-Wanner
mark2005 at szentes.org
Sun Sep 16 20:21:40 PDT 2007
Hello,
Can anyone please explain why a default pointer is automatically added by
the X server in addition to a properly configured one? This drives me
crazy, it uses /dev/input/mice which is annoying in a multiseat setting.
Related bug in Bugzilla:
Bug 10559 (still open)
My xorg.conf: (shortened to relevant parts):
Section "ServerFlags"
Option "DefaultServerLayout" "Default Layout"
Option "AllowMouseOpenFail" "true"
EndSection
...
Section "Module"
...
Load "evdev"
Load "evdev"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Name" "Apple Computer, Inc. Mighty Mouse"
EndSection
Section "InputDevice"
Identifier "Apple Wireless Keyboard"
Driver "evdev"
Option "Name" "Apple Wireless Keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "evdev"
Option "XkbLayout" "de"
Option "XkbVariant" "basic"
EndSection
...
Section "ServerLayout"
Identifier "Default Layout"
Screen "Seat0 Screen"
InputDevice "Configured Mouse" "CorePointer"
InputDevice "Apple Wireless Keyboard" "CoreKeyboard"
Option "IsolateDevice" "PCI:1:7:0"
EndSection
and a shortened version of /var/log/Xorg.0.log:
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux Ubuntu
Current Operating System: Linux tomcat 2.6.20-16-generic #2 SMP Fri Aug 31
00:55:27 UTC 2007 i686
Build Date: 04 April 2007
...
(**) Option "defaultserverlayout" "Default Layout"
(**) ServerLayout "Default Layout"
(**) |-->Screen "Seat0 Screen" (0)
(**) | |-->Monitor "SDM-S51"
(**) | |-->Device "ATI Technologies, Inc. Radeon RV100 QY [Radeon
7000/VE]"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Apple Wireless Keyboard"
(II) No default mouse found, adding one
(**) |-->Input Device "<default pointer>"
(**) Option "IsolateDevice" "PCI:1:7:0"
...
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.1.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "evdev"
(II) Reloading /usr/lib/xorg/modules/input//evdev_drv.so
...
(II) LoadModule: "evdev"
(II) Reloading /usr/lib/xorg/modules/input//evdev_drv.so
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.1.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.7
...
(II) evdev brain: Rescanning devices (1).
(**) Option "CorePointer"
(**) Configured Mouse-00:04:61:80:6B:EB: Core Pointer
(II) Configured Mouse-00:04:61:80:6B:EB: Found 4 relative axes.
(II) Configured Mouse-00:04:61:80:6B:EB: Configuring as pointer.
(**) Configured Mouse-00:04:61:80:6B:EB: HWHEELRelativeAxisButtons: 6 7.
(**) Configured Mouse-00:04:61:80:6B:EB: WHEELRelativeAxisButtons: 4 5.
(II) Configured Mouse-00:04:61:80:6B:EB: Found 4 mouse buttons
(**) Configured Mouse-00:04:61:80:6B:EB: Configuring 4 relative axes.
(II) Configured Mouse-00:04:61:80:6B:EB: Configured 8 mouse buttons
(II) evdev brain: Rescanning devices (2).
(**) Option "CoreKeyboard"
(**) Apple Wireless Keyboard-00:04:61:80:6B:EB: Core Keyboard
(**) Option "XkbRules" "xorg"
(**) Option "XkbModel" "evdev"
(**) Option "XkbLayout" "de"
(**) Option "XkbVariant" "basic"
(WW) <default pointer>: No Device specified, looking for one...
(II) <default pointer>: Setting Device option to "/dev/input/mice"
(--) <default pointer>: Device: "/dev/input/mice"
(==) <default pointer>: Protocol: "Auto"
(**) Option "AlwaysCore"
(**) <default pointer>: always reports core events
(==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
(**) <default pointer>: ZAxisMapping: buttons 4 and 5
(**) <default pointer>: Buttons: 9
(II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE)
(II) XINPUT: Adding extended input device "Apple Wireless
Keyboard-00:04:61:80:6B:EB" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Configured
Mouse-00:04:61:80:6B:EB" (type: MOUSE)
(II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
(**) Configured Mouse-00:04:61:80:6B:EB: 4 valuators.
(**) ../../src/evdev_btn.c (166): Registering 8 buttons.
(II) Configured Mouse-00:04:61:80:6B:EB: Init
(II) Apple Wireless Keyboard-00:04:61:80:6B:EB: Init
(II) evdev brain: Rescanning devices (3).
(II) Configured Mouse-00:04:61:80:6B:EB: On
(II) Apple Wireless Keyboard-00:04:61:80:6B:EB: On
(--) <default pointer>: PnP-detected protocol: "ExplorerPS/2"
(II) <default pointer>: ps2EnableDataReporting: succeeded
I am thankful for any help or hints on this topic, I could not find
anything in Bugzilla or on the net, just a hint about "AllowEmptyInput"
option. Currently, I use a workaround based on /dev/null and the mouse
input driver.
Cheers,
Mark
More information about the xorg
mailing list