input-hotplug mice issue
dawid at klej.net
Mon Jun 4 02:43:30 PDT 2007
I have recently began testing the new 1.3 xserver and have
an hotplug issue regarding 3rd button support.
Is it normal that although I have 3 different pointers
(touchpad, stick, bt mouse), the xserver recognizes just one
(/dev/input/mice)? Thing is, that it is probably the cause of the
aforementioned 3rd button problem - my touchpad and stick have only 2
buttons and 3rd button emulation doesn't work for them. However at
the same time the BT mouse's 3rd physical button works just fine.
The excerpt from the Xorg.log tells a bit more:
(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 "CorePointer"
(**) <default pointer>: Core Pointer
(==) <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) (--) <default pointer>: PnP-detected protocol: "ExplorerPS/2"
(II) <default pointer>: ps2EnableDataReporting: succeeded
(II) 3rd Button detected: disabling emulate3Button
Especially the last line seems to be quite interesting.
Also note, that each pointer has its own and
separate /dev/input/mouseX, i.e. mouse1 - stick, mouse2 - touchpad,
mouse3 - bt mouse. Therefore why can't xorg detect each
pointer separately and configure accordingly, instead of just picking up
the unified /dev/input/mice pointer?
More information about the xorg