[Bug 227423] New: Spurious mouse clicks while scrolling backward with mouse wheel.
https://bugzilla.novell.com/show_bug.cgi?id=227423 Summary: Spurious mouse clicks while scrolling backward with mouse wheel. Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: andreas.pfaller@gmail.com QAContact: qa@suse.de When scrolling with the mouse wheel (only while scrolling backwards) some apps receive spurious mouse click events (like clicking with the left button) leading to randomly selected items or text. This seems to be timing dependent since I can only observe this behavior when the scrolling by the app is CPU intensive, e.g. - In kmail scrolling in a single large text message (in the message pane) works fine but scrolling in either the message list or folder list causes constant selection of either a message or folder. - Scrolling a web page in Firefox randomly selects text (sometimes even a short time (0.5-1 s) after I have stopped scrolling with the wheel) - Scrolling in rxvt-unicode oder konsole works fine (even if I select text before scrolling it remains selected so no spurious clicks happen). My mouse is a MS Intellimouse Optical 1.1A USB/PS2 model but a Logitech mouse I used as a test showed the same problems. Both were connected via PS2. Further tests showed that this only happens if my mouse is connected via my KVM (an old Cybex Switchview 4-port PS2 KVM). However I have been using this KVM since several years with many different OS's, e.g. SuSE since 6.x, QNX, Windows, FreeBSD and several others and never had any problems. It also happens if the SuSE 10.2 system (Athlon XP X2 3800) is the only connected system (and therefore the mouse is never switched to another system). The behavior is 100% reproducible. I am assigning this to the kernel component but this could certainly also be caused by X. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227423 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |sndirsch@novell.com |maintainers@forge.provo.nove| |ll.com | Component|Kernel |X.Org QAContact|qa@suse.de |sndirsch@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227423 mhopf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |andreas.pfaller@gmail.com ------- Comment #1 from mhopf@novell.com 2007-01-02 03:20 MST ------- Can you please try evtest /dev/input/event* (try out the different devices, you don't know in advance which one is the mouse) and check whether you get (LeftBtn) events in addition to (wheel) events when you scroll the wheel? evtest is in input-utils. Also please attach /etc/X11/xorg.conf. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227423 ------- Comment #2 from andreas.pfaller@gmail.com 2007-01-02 04:06 MST ------- Created an attachment (id=111246) --> (https://bugzilla.novell.com/attachment.cgi?id=111246&action=view) evtest with mouse directly connected -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227423 ------- Comment #3 from andreas.pfaller@gmail.com 2007-01-02 04:07 MST ------- Created an attachment (id=111247) --> (https://bugzilla.novell.com/attachment.cgi?id=111247&action=view) evtest with mouse connected via kvm -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227423 andreas.pfaller@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andreas.pfaller@gmail.com | ------- Comment #4 from andreas.pfaller@gmail.com 2007-01-02 04:17 MST ------- Created an attachment (id=111250) --> (https://bugzilla.novell.com/attachment.cgi?id=111250&action=view) xorg.conf This is the configuration I currently use and which works with the mouse directly connected. The mouse section of the configuration as installed by yast is identical expect that it contains 'Option "Buttons" "9"'. Both versions show the same problem if the mouse is connected via the KVM. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227423 andreas.pfaller@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #111247|text/x-csrc |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227423 mhopf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mhopf@novell.com AssignedTo|mhopf@novell.com |vojtech@novell.com ------- Comment #5 from mhopf@novell.com 2007-01-02 10:15 MST ------- Ok, I see additional SideBtn and ExtraBtn events even in the kernel log - so the kernel driver does something strange. As these don't seem to be LeftBtn events, you could try Option "ButtonMapping" "1 2 3" Option "Buttons" "3" Option "ZAxisMapping" "4 5" in the mouse driver section of you xorg.conf - that should nullify all spurious events. If you still get some, the Mouse apparently also creates button 1-3 events sometimes... But about the original problem: Any ideas, Vojtech? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227423 ------- Comment #6 from andreas.pfaller@gmail.com 2007-01-02 10:39 MST ------- Well, the solution from comment #5 does not change anything in the behavior (yes I restarted X). When the KVM is switched to a 10.1 system everything works but when switched to 10.2 I still get the spurious clicks. I never see any other spurious Button events other than the SideBtn and ExtraBtn events while running evtest. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227423 ------- Comment #7 from andreas.pfaller@gmail.com 2007-01-02 10:51 MST ------- Created an attachment (id=111302) --> (https://bugzilla.novell.com/attachment.cgi?id=111302&action=view) Xorg log Note that X seems to somehow insist on detecting a "9" button mouse (see end of attached Xorg.log) which seems to override the 'Option "Buttons" "3"' statement in xorg.conf. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227423 vojtech@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #8 from vojtech@novell.com 2007-01-02 12:55 MST ------- The Intellimouse Explorer protocol (which older operating systems don't know how to enable, and most current mice support) carries information about two extra buttons in the top bits of the fourth byte of a packet. The older Intellimouse protocol uses the full fourth byte for wheel data. Your KVM doesn't understand the Explorer part of the protocol (which the PS2/USB Intellimouse supports), and while it allows the Linux kernel to detect and set up the extended protocol, it cannot pass it back, passing back the older version, where the bits depend on the sign of the mouse wheel rotation. Thus, with older systems you'll experience no problems. Without the KVM you won't experience any either. But with a new Linux, old KVM and a new mouse, spurious button events will appear when the wheel changes direction. The only solution (since the KVM cannot be detected by software) is to force the kernel to use the older Intellimouse mode of your mouse. To do that, use "psmouse.proto=imps" on the kernel command line (in /boot/grub/menu.lst). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com