Bug 443824 - Emulate3Buttons doesn't work
Summary: Emulate3Buttons doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-evdev
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-23 15:27 UTC by Derrien
Modified: 2009-11-28 10:27 UTC (History)
7 users (show)

Fixed In Version: 9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-18 00:44:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/var/log/Xorg.0.log (33.67 KB, text/plain)
2008-04-23 15:27 UTC, Derrien
no flags Details
/var/log/Xorg.0.log after restarting without an xorg.conf file (37.68 KB, text/plain)
2008-05-18 18:03 UTC, Steve Tyler
no flags Details

Description Derrien 2008-04-23 15:27:04 UTC
Description of problem:

On a Dell Latitude D610 we have in /var/log/Xorg.0.log :

(II) <default pointer>: Setting Device option to "/dev/input/mice"
(--) <default pointer>: Device: "/dev/input/mice"
(==) <default pointer>: Protocol: "Auto"
(**) Option "CorePointer"
(**) <default pointer>: always reports core events
(==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
(**) <default pointer>: ZAxisMapping: buttons 4 and 5

but Emulate3Buttons doesn't work with the mouse (USB mouse or stick pointer)
NB: It works with the Touchpad

Version-Release number of selected component (if applicable):

X.Org X Server 1.4.99.901 (1.5.0 RC1)

Comment 1 Derrien 2008-04-23 15:27:04 UTC
Created attachment 303513 [details]
/var/log/Xorg.0.log

Comment 2 Olen 2008-05-01 03:40:50 UTC
The 3 button emulation is broken on a PS/2 two button mouse also.
I read the documentaton/release notes, and my xorg.conf is like they say, no
mouse section, so its autdetecting, but the notes don't provide any direction on
making the driver turn on 3 button emulation.   Does anyone have any idea on how
the use can get some control over this autodetection process?

Comment 3 Bug Zapper 2008-05-14 10:01:02 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Steve Tyler 2008-05-18 17:52:26 UTC
Three button emulation worked with Fedora 8 and stopped working with Fedora 9.
Version: xorg-x11-drv-mouse-1.3.0-2.fc9.i386

Reproduce by attaching a Logitech USB trackball with two buttons.
Rename xorg.conf so that default settings are configured.
Restart X/Gnome.
Xorg.0.log says:
(==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50

Start xev.
Left click generates a button 1 event and right click generates a button 3
event.  Left and right button click together generates a button 1 event and a
button 3 event instead of a button 2 event.




Comment 5 Steve Tyler 2008-05-18 18:03:51 UTC
Created attachment 305867 [details]
/var/log/Xorg.0.log after restarting without an xorg.conf file

Comment 6 Phil Moors 2008-06-04 15:30:26 UTC
I have the same problem and am adding myself to the cc list. Let me know if you
want more information.

Comment 7 Phil Moors 2008-06-04 15:35:38 UTC
I have the same problem and am adding myself to the cc list. Let me know if you
want more info.

Comment 8 Peter Åstrand 2008-06-05 12:35:53 UTC
Same problem on Dell D610. The three button emulation works for the two buttons
close to the ALPS GlidePoint, but not for those close to the trackpoint. 

I miss system-config-mouse. 

Comment 9 Peter Hutterer 2008-07-18 00:44:08 UTC
In F9, input devices are hotplugged with the evdev driver. The list of devices
is provided by HAL, and any device using evdev will not send to /dev/input/mice.
If a InputDevice is configured for /dev/input/mice, it won't generate any event
if all mice are hotplugged through HAL. This usually looks like the
configuration is ignored or lost.

The two options to fix this is:
- Add Option "AutoAddDevices" "off" to the ServerLayout. This disables input
device hotplugging alltogether and prevents evdev from taking over.
- Change the InputDevice section to use evdev as driver and specify the device
file as /dev/input/by-id/... or /dev/input/by-path/... /dev/input/event0 is
valid too, but those numbers may change on reboot.
If you choose this option, you may have to specify multiple InputDevice sections
since evdev does not have an equivalent to /dev/input/mice.

Beware that some options that are supported in the mouse driver may not be
available in the evdev driver. This was the case with emulate3buttons.

Fixed with evdev 2.0, or by adding AutoAddDevices off.


Note You need to log in before you can comment on or make changes to this bug.