View previous topic :: View next topic |
Author |
Message |
gonza n00b
Joined: 02 Jun 2005 Posts: 21
|
Posted: Thu Mar 01, 2007 10:01 am Post subject: Accidental double click [SOLVED] |
|
|
I just upgraded from kernel 2.6.18 to 2.6.19. Since then I can reliably get an 'accidental' double click if I click the mouse once really fast (one short click). It happens on both the sets of touchpad buttons and my external USB mouse.
Any ideas?
Last edited by gonza on Fri Mar 09, 2007 8:09 am; edited 1 time in total |
|
Back to top |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Thu Mar 01, 2007 3:44 pm Post subject: |
|
|
better post the mouse section of your xorg.conf _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
|
gonza n00b
Joined: 02 Jun 2005 Posts: 21
|
Posted: Thu Mar 01, 2007 3:55 pm Post subject: |
|
|
Note also, to get X to start after the upgrade I had to make a few changes.
I changed the PS/2 to be the CorePointer and also the device for the Touchpad from event1 to event3.
Code: |
Section "ServerLayout"
Identifier "X.Org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "USB Mouse" "AlwaysCore"
InputDevice "PS/2 Mouse" "CorePointer"
InputDevice "TouchPad" "AlwaysCore"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
#Option "Xinerama" "false"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbModel" "pc105"
Option "XkbOptions" "grp:toggle,grp_led:scroll"
Option "XkbVariant" ",winkeys"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/misc/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Section "InputDevice"
Identifier "TouchPad"
Driver "synaptics"
Option "Protocol" "event"
Option "Device" "/dev/input/event3"
#Option "Device" "/dev/input/event1"
Option "LeftEdge" "130"
Option "RightEdge" "840"
Option "TopEdge" "130"
Option "BottomEdge" "640"
Option "FingerLow" "7"
Option "FingerHigh" "8"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.60"
Option "MaxSpeed" "1.10"
Option "AccelFactor" "0.030"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "SHMConfig" "on"
Option "UseShm" "on"
Option "Emulate3Buttons" "on"
EndSection |
|
|
Back to top |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Thu Mar 01, 2007 4:23 pm Post subject: |
|
|
I usually use the 'auto' protocol which (now) works with ZAxisMapping properly. But I don't think that would cause this problem.
usually ps2 mice still have /dev/input/mouseX device files too, and so /dev/input/mice should read from them. again, i don't think that would cause this problem, but i don't know. Maybe your mouse is old and breaking? the buttons do tend to wear out after many years of use... _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
|
gonza n00b
Joined: 02 Jun 2005 Posts: 21
|
Posted: Fri Mar 02, 2007 12:39 pm Post subject: |
|
|
No the touchpad buttons also now have this double-click thing, so it's not just wearing out.
I'll fiddle with using different device nodes to see if that fixes things. |
|
Back to top |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Fri Mar 02, 2007 4:23 pm Post subject: |
|
|
perhaps the ps2 mouse shouldn't be core pointer then? _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
|
csab Apprentice
Joined: 15 Apr 2005 Posts: 152 Location: Atlanta, GA
|
Posted: Wed Mar 07, 2007 4:13 am Post subject: |
|
|
I have a similar problem, only my accidental double clicks are not reproducible (but frequent). I have upgraded from 2.6.19-ck2-r3 to kernel 2.6.19-ck5.
Also, I don't know if it is related, but my Thunderbird sometimes relaunches itself (so that 2 copies run).
It doesn't happen under Windows on a dual boot computer, so it's not the hardware.
My xorg.conf mouse section:
Code: | Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mouse0"
Option "Buttons" "3"
Option "ZAxisMapping" "4 5"
EndSection |
I have not changed it for a very long time.
Edit: I have a feeling that it happens only for a while after X is started. After working an hour or so, it seems to work fine. What is strange if this isn't??
Edit2: I think it is my (hardware) mouse. It does the same under Knoppix with old kernel and maybe I don't use Windows enough to experience it there.
Edit3: Yes, it is was the mouse hardware. It did it under Windows, too, and when I replaced the mouse, the problem went away.
Last edited by csab on Wed Apr 04, 2007 2:03 pm; edited 1 time in total |
|
Back to top |
|
|
gonza n00b
Joined: 02 Jun 2005 Posts: 21
|
Posted: Fri Mar 09, 2007 7:33 am Post subject: |
|
|
I changed the core pointer back to the touchpad (after changing the device nodes which were different after the kernel upgrade) and the problem went away.
Thanks for the help. |
|
Back to top |
|
|
ohadbasan n00b
Joined: 16 May 2007 Posts: 34
|
Posted: Tue Jun 12, 2007 3:59 pm Post subject: I experience the same problem |
|
|
I have that problem too with microsoft intellimouse.
That is my only mouse.
that's my input device section in xorg.conf:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Auto"
Option "Emulate3Buttons"
Option "Device" "/dev/input/mice"
EndSection
does anyone have a solution? thanks! |
|
Back to top |
|
|
|