You are not logged in.
I had to downgrade evdev because it made my mice send every button event twice. Every click was a double click, even the scroll wheel generated two events. This makes opening dropdown boxes impossible since they close again immediately.
% pacman -Q xorg-server
xorg-server 1.4.0.90-2
% cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "lcd" 0 0
InputDevice "touch pad" "SendCoreEvents"
InputDevice "track stick" "SendCoreEvents"
InputDevice "mx518" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AIGLX" "true"
Option "OffTime" "5"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "dbe"
Load "xtrap"
Load "type1"
Load "freetype"
Load "ddc"
Load "bitmap"
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "latitude"
Option "XkbLayout" "de"
Option "XkbVariant" ""
EndSection
Section "InputDevice"
Identifier "track stick"
Driver "mouse"
Option "SendCoreEvents" "on"
Option "Protocol" "auto"
Option "Name" "PS/2 Mouse"
# Option "Device" "/dev/input/mouse2"
# Option "Device" "/dev/input/mouse3"
Option "Emulate3Buttons" "on"
EndSection
Section "InputDevice"
Identifier "touch pad"
Driver "synaptics"
Option "SendCoreEvents" "on"
Option "Name" "AlpsPS/2 ALPS GlidePoint"
#Option "Device" "/dev/input/by-path/platform-i8042-serio-1-mouse"
#Option "Protocol" "event"
Option "Protocol" "alps"
Option "SHMConfig" "on"
Option "Emulate3Buttons" "on"
#Option "Repeater" "/dev/ps2mouse"
Option "LeftEdge" "130"
Option "RightEdge" "840"
Option "TopEdge" "130"
Option "BottomEdge" "640"
#Option "FingerLow" "7"
#Option "FingerHigh" "8"
#Option "MaxTapTime" "180"
#Option "MinTapTime" "110"
#Option "ClickTime" "0"
#Option "EmulateMidButtonTime" "75"
#Option "VertScrollDelta" "20"
#Option "HorizScrollDelta" "20"
#Option "MinSpeed" "0.40"
#Option "MaxSpeed" "0.65"
#Option "AccelFactor" "0.030"
#Option "EdgeMotionMinSpeed" "200"
#Option "EdgeMotionMaxSpeed" "200"
#Option "UpDownScrolling" "1"
#Option "CircularScrolling" "1"
#Option "CircScrollDelta" "0.1"
#Option "CircScrollTrigger" "3"
#Option "VertEdgeScroll" "on"
Option "VertEdgeScroll" "on"
Option "HorizEdgeScroll" "on"
EndSection
Section "InputDevice"
Identifier "mx518"
Option "SendCoreEvents" "on"
# Driver "mouse"
# Option "Protocol" "auto" # or "ExplorerPS/2"
Driver "evdev"
Option "Name" "Logitech USB-PS/2 Optical Mouse"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7 8 9 10"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Option "DPMS"
EndSection
Section "Device"
Identifier "965gm"
Driver "intel"
# Driver "i810" # way slow
VendorName "All"
BoardName "All"
Option "NoAccel" "false"
Option "DRI" "true"
Option "DDC" "true"
Option "XVideo" "true"
# screws up 3d display
# Option "PageFlip" "true"
# Option "TripleBuffer" "true"
Option "AccelMethod" "EXA"
Option "Legacy3D" "false"
EndSection
Section "Screen"
Identifier "lcd"
Device "965gm"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "GLX" "Enable"
Option "RENDER" "Enable"
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Does anyone have this problem too?
Last edited by quantax (2008-03-02 19:49:43)
Offline
Same here, but button events are repeated infinitely; just hold the mouse button pressed one second to get hundreds of clicks. I don't know if it's a configuration problem or a bug.
I'm using a Mighty Mouse (USB) with xorg-server 1.4.0.90-6, xf86-input-evdev 1.2.0-1 and GNOME 2.20.
This is the output from evtest:
Event: time 1203377570.544224, type 0 (Reset), code 0 (Reset), value 0
Event: time 1203377571.184178, type 4 (?), code 4 (?), value 589825
Event: time 1203377571.184182, type 1 (Key), code 272 (LeftBtn), value 1
Event: time 1203377571.184189, type 0 (Reset), code 0 (Reset), value 0
Event: time 1203377571.433098, type 1 (Key), code 272 (LeftBtn), value 2
Event: time 1203377571.433102, type 0 (Reset), code 0 (Reset), value 1
Event: time 1203377571.466432, type 1 (Key), code 272 (LeftBtn), value 2
Event: time 1203377571.466434, type 0 (Reset), code 0 (Reset), value 1
Event: time 1203377571.499763, type 1 (Key), code 272 (LeftBtn), value 2
...
Event: time 1203377571.833099, type 0 (Reset), code 0 (Reset), value 1
Event: time 1203377571.866430, type 1 (Key), code 272 (LeftBtn), value 2
Event: time 1203377571.866432, type 0 (Reset), code 0 (Reset), value 1
Event: time 1203377571.899762, type 1 (Key), code 272 (LeftBtn), value 2
Event: time 1203377571.899765, type 0 (Reset), code 0 (Reset), value 1
Event: time 1203377571.933097, type 1 (Key), code 272 (LeftBtn), value 2
Event: time 1203377571.933099, type 0 (Reset), code 0 (Reset), value 1
Event: time 1203377571.966462, type 1 (Key), code 272 (LeftBtn), value 2
Event: time 1203377571.966465, type 0 (Reset), code 0 (Reset), value 1
Event: time 1203377571.984122, type 4 (?), code 4 (?), value 589825
Event: time 1203377571.984126, type 1 (Key), code 272 (LeftBtn), value 0
The "value 2" of LeftBtn is HOLD time, but these events are catched as left CLICKS.
Last edited by alenofx (2008-02-18 23:42:24)
Offline
I just found out it is happening with the buttons of my touch pad (synaptics) and from my (D630) track stick (internally connected with PS/2 and using xf86-input-mouse) too.
But not with my external usb mouse which I kept at xf86-input-evdev 1.1.5-4.
% pacman -Q kernel26 xorg-server xf86-input-mouse xf86-input-evdev synaptics
kernel26 2.6.24.3-1
xorg-server 1.4.0.90-7
xf86-input-mouse 1.2.3-1
xf86-input-evdev 1.1.5-4
synaptics 0.14.6.99-2
There was a thread at LKML but it didn't give any solution.
The problem there occurred only with kernel 2.6.24 but I hab problems with evdev even earlier. With my other peripherals I actually don't know when it started. I don't use them that often. But I reinstalled some kernels form my pacman cache: none of them solved the problem; I went back until 2.6.23.1-6. :(
Last edited by quantax (2008-03-02 21:06:58)
Offline
With just a single/no input device configured for xorg, does it still happen?
Offline
With just a single/no input device configured for xorg, does it still happen?
I commented the InputDevice sections out and it works! How come?
And a more general question: Is it better not to configure everything in xorg.conf and let X choose everything for itself?
But then I cannot tweak my setup; mouse buttons and stuff like that.
Last edited by quantax (2008-03-03 12:06:51)
Offline
OK, I found out that whenever I tell X explicitly to use the mouse-driver for a device, I get the double-clicking behavior.
I my case I only had to remove the entry for the track stick. And it still works...
I can even use xf86-input-evdev-1.2.0-1 with my mouse, but it doesn't a good job at recognizing all the buttons.
But 1.1.5-4 gives me a choppy mouse in ioQuake3...
I still wonder where all these problems come from. Any ideas vogt? ;)
Last edited by quantax (2008-03-03 16:58:33)
Offline
I suspect that X could be configuring a second mouse for the same device, thinking that there isn't already one listening to that device. Maybe if you specify the right mouse device for each input device... but I think that I still had the problem with device = /dev/psaux or /dev/input/mice. Try it out!
EDIT: or the problem could be something totally different: I don't know exactly what Xorg does with inputs, and if a given event can be seen twice...
Last edited by vogt (2008-03-03 23:40:33)
Offline
I got this double-click behaviour when I upgraded xorg-server from 1.4.0.90-9 to 1.4.0.90-13 (running the 2.6.24.4-1 kernel on x86_64, if relevant), and it was solved by removing the mouse device entry from my xorg.conf, I was specifying the mouse driver in my xorg.conf. Since this fixes the problem and all my mouse buttons work as expected, I'm not going to investigate further, but I guess Xorg was reading /dev/input/mice (as I had told it to) and the specific /dev/input mouse* entry for my mouse causing it to see each click twice.
Offline
There's a way to disable the default /dev/input/mice?
I'm looking for no mouse support when no mice are defined in xorg.conf.
Is that possible?
Offline
Finally, works fine with evdev 2.0!
Last edited by alenofx (2008-06-21 19:37:10)
Offline
Evdev 2.0? Where? I can see only 1.2...
zibi1981 ~ $ pacman -Ss evdev
extra/xf86-input-evdev 1.2.0-1 (xorg-input-drivers)
X.org evdev input driver
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
The current version is 2.0.0-1, updated on 2008-06-21
Last edited by alenofx (2008-06-22 02:38:11)
Offline
Evdev 2.0? Where? I can see only 1.2...
zibi1981 ~ $ pacman -Ss evdev extra/xf86-input-evdev 1.2.0-1 (xorg-input-drivers) X.org evdev input driver
Make sure to pacman -Syu
Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.
Offline