Summary: | x11-base/xorg-server-1.4 - one mouse click becomes double clicks | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jjmmma <jjmmma> |
Component: | [OLD] Server | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | kamensky.fb, matteo.sasso, nelchael, polynomial-c, SDNick484, tallmtt |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Matt's xorg.conf
Matt's emerge --info |
Description
jjmmma
2007-09-11 08:53:48 UTC
This is NOT a Gentoo Bugzilla product bug; read the descriptions please. Your xorg.conf, please. I experience the same problem. Attaching my xorg.conf & emerge info. Created attachment 130650 [details]
Matt's xorg.conf
BTW, no relevant warnings or errors are shown in xorg's log.
Created attachment 130652 [details]
Matt's emerge --info
Here's what xev has to say when I click once: ButtonPress event, serial 31, synthetic NO, window 0x2000001, root 0x4e, subw 0x0, time 2123048, (26,140), root:(551,190), state 0x10, button 1, same_screen YES ButtonPress event, serial 31, synthetic NO, window 0x2000001, root 0x4e, subw 0x0, time 2123048, (26,140), root:(551,190), state 0x110, button 1, same_screen YES ButtonRelease event, serial 31, synthetic NO, window 0x2000001, root 0x4e, subw 0x0, time 2123152, (26,140), root:(551,190), state 0x110, button 1, same_screen YES ButtonRelease event, serial 31, synthetic NO, window 0x2000001, root 0x4e, subw 0x0, time 2123152, (26,140), root:(551,190), state 0x10, button 1, same_screen YES Changing: InputDevice "Mouse1" to InputDevice "Mouse1" "CorePointer" fixes the problem for me. The new Xorg apparently detects the device twice if it's now the core pointer. Some people using Ubuntu reported that setting the mouse protocol to "IMPS/2" can sometimes make the problem disappear. Just ran into this the other day after an upgrade. It also caused Firefox menus not to activate, and Konqueror and Opera not to follow links. I can confirm that adding "CorePointer" as above fixed the issue for me on both my Gentoo ~amd64 and Debian Sid installs. I suggest adding a warning. Well, after the upgrade to 7.3 I had the same problem described here, but I ALREADY had the InputDevice "Mouse0" "CorePointer" in my xorg.conf... The problem was resolved after I recompiled xorg-server without HAL support. Strange... After some experimentation I have to clarify my statement: USE="-hal" fixed the problem when using (only) an USB mouse via evdev, but the problem reappears with ps/2 mouse, if there is anything else than "CorePointer" in the xorg.conf (AlwaysCore doesn't do) On my x86_64 Computer the addition of "CorePointer" fixed the situation here. Firefox menus did not work, mouse speed doubled and wheel did two steps and such. Any better w/ 1.4.0.90? The double clicks can happen if both mouse and evdev drivers claim the mouse, so you get the same events from two places. As Jakub mentioned, I think 1.4.0.90 might help that. I'm running into this issue still using x11-base/xorg-server-1.4.0.90-r4 & sys-apps/hal-0.5.11-r1. This is on a Dell D610 laptop with both a trackpoint and touchpad. I've tried rebuilding xorg-server with HAL disabled, but it didn't work. It definitely seems like the mouse is detected twice which is causing the issue. I was able to resolve this issue by using evdev driver for my usb mouse: Section "InputDevice" Identifier "Mouse0" Driver "evdev" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection And changing my ServerLayout to have: Section "ServerLayout" ... InputDevice "Mouse0" "SendCoreEvents" InputDevice "Synaptics" ... EndSection Newer Xorg can now use HAL to add input devices. You can configure HAL to report the correct options for each devices, or you can tell Xorg to ignore HAL. Just stick this in the ServerLayout section of xorg.conf Option "AutoAddDevices" "false" Thanks Hum, this bit should be added to the ServerFlags section, not the ServerLayout one. Thanks |