https://bugzilla.novell.com/show_bug.cgi?id=230918
Summary: Left handed mouse does not work with external USB mouse in KDE Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE AssignedTo: kde-maintainers@suse.de ReportedBy: felix.rommel@web.de QAContact: qa@suse.de
I have an PS2 to USB converter from EzTec where I can plugin a PS2 mouse and keyboard. I have never had problems with it with any Linux distribution. But when I set left handed mouse in KDE control center the external PS2/USB mouse still is in right hand mode. My Synaptic touchpad switches to left handed mouse mode.
How to reproce:
1. Plug in an external USB mouse (in my case an PS2 mouse with an USB converter) 2. Open KDE control center and set up your mouse to "left hand mode"
As a result the Synaptic touchpad is in left hand mode but the external USB/PS2 mouse is still in right hand mode.
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #1 from felix.rommel@web.de 2006-12-28 02:00 MST ------- Created an attachment (id=111112) --> (https://bugzilla.novell.com/attachment.cgi?id=111112&action=view) Output of lsusb -v
https://bugzilla.novell.com/show_bug.cgi?id=230918
llunak@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |felix.rommel@web.de
------- Comment #2 from llunak@novell.com 2007-01-02 10:11 MST ------- What is output of "xmodmap -pp" ?
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #3 from felix.rommel@web.de 2007-01-02 14:39 MST ------- Output of "xmodmap -pp" after enabling left handed mouse in KDE control center:
There are 12 pointer buttons defined.
Physical Button Button Code 1 3 2 2 3 1 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12
https://bugzilla.novell.com/show_bug.cgi?id=230918
llunak@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |llunak@novell.com AssignedTo|kde-maintainers@suse.de |sndirsch@novell.com Status|NEEDINFO |NEW Component|KDE |X.Org Info Provider|felix.rommel@web.de | QAContact|qa@suse.de |sndirsch@novell.com
https://bugzilla.novell.com/show_bug.cgi?id=230918
sndirsch@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@novell.com AssignedTo|sndirsch@novell.com |mhopf@novell.com
------- Comment #4 from sndirsch@novell.com 2007-01-03 06:19 MST ------- Reassigning.
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #5 from mhopf@novell.com 2007-01-03 06:57 MST ------- Please attach /etc/X11/xorg.conf
When using right handed mode, do both mice (Synaptics and USB) work the same, or is the external mouse just swapped?
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #6 from felix.rommel@web.de 2007-01-03 10:02 MST ------- In right hand mode both mice (Synaptics and USB) work the same.
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #7 from felix.rommel@web.de 2007-01-03 10:03 MST ------- Created an attachment (id=111392) --> (https://bugzilla.novell.com/attachment.cgi?id=111392&action=view) xorg.conf
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #8 from felix.rommel@web.de 2007-01-07 17:52 MST ------- Strange thing: with my new Notebook Thinkpad Z61m I use the same PS2 to USB converter with my external mouse and there it works.
But what makes me wonder is that it worked also on my old Acer Aspire with Suse 9.x-10.1 but not with 10.2 any more.
https://bugzilla.novell.com/show_bug.cgi?id=230918
mhopf@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |felix.rommel@web.de
------- Comment #9 from mhopf@novell.com 2007-01-08 08:26 MST ------- Could you try what happens if you disable the synaptics driver by configuring
InputDevice "Mouse[3]" "CorePointer"
instead of
InputDevice "Mouse[1]" "CorePointer" InputDevice "Mouse[3]" "SendCoreEvents"
in /etc/X11/xorg.conf? Also you could try to check the original events with
evtest /dev/input/event*
(you to check for the correct event device) and see whether the left button actually creates LeftBtn events (always, with and without left hand mode). Other than that I'm pretty much lost here now, everything looks good so far... :-(
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #10 from mhopf@novell.com 2007-01-26 09:52 MST ------- Ping?
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #11 from felix.rommel@web.de 2007-01-28 17:22 MST ------- Sorry, I was busy the last days. I reinstalled openSUSE 10.2 on my old Aspire notebook and the switch between left/right handed mouse works now.
I think I found the problem:
As far as I understand: CorePointer can be switched from right to left hand mouse. SendCoreEvents pointer are not switched when choosing it in KDE control center.
Steps to reproduce:
Thinkpad: created a new xorg.conf with Sax2: - Touchpad is CorePointer buttons switchable - Trackpoint is SendCoreEvents buttons NOT switchable - External USB/PS2 mouse NO entry in xorg: buttons switchable
Aspire: 1. - Touchpad is CorePointer buttons switchable - External USB/PS2 SendCoreEvents buttons NOT switchable 2. - External USB/PS2 CorePointer buttons switchable - Touchpad is SendCoreEvents buttons NOT switchable
Conclusion:
CorePointer device mouse buttons are switchable SendCoreEvents device mouse buttons are NOT switchable
What is expected:
1. ALL devices should be switchable from right to left hand mode in KDE control center.
OR
2. Every single device should be switchable independently - but then there must be an option in KDE control center for EVERY device to configure it!
Current situation:
You can only choose left hand or right hand mode in KDE control center BUT as a result one pointer is switched and the other is not! -> bad usability
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #12 from felix.rommel@web.de 2007-01-28 17:36 MST ------- I attached hwinfo, dmesg, xorg.conf and lsmod for my Thinkpad and Acer Aspire at bug report
https://bugzilla.novell.com/show_bug.cgi?id=230919
because it is related to this bug report.
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #13 from felix.rommel@web.de 2007-01-28 17:44 MST ------- Correction to comment #11: external USB/PS2 mouse NOT switchable:
Thinkpad: created a new xorg.conf with Sax2: - Touchpad is CorePointer buttons switchable - Trackpoint is SendCoreEvents buttons NOT switchable - External USB/PS2 mouse NO entry in xorg: buttons NOT switchable
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #14 from mhopf@novell.com 2007-01-29 09:11 MST ------- Uff. Very cool that you could narrow down the problem! Actually, it has more implications than you could probably imagine, because we're thinking to switch to SendCoreEvents for all devices due to issues with hotplug CorePointers. Though ATM I think that this has not implications to CorePointer only, but rather to the first mouse device only.
This is very strange. The xmodmap should work on all pointers. I'll have to check this here. Either I can reproduce this or I have to close this as WORKSFORME.
Can you try to switch CorePointer and SendCoreEvents in your xorg.conf? What happens then? And what happens when you specify SendCoreEvents for both mice?
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #15 from felix.rommel@web.de 2007-02-05 14:45 MST ------- Aspire:
1.
CorePointer -> switchable SendCoreEvents -> NOT switchable
It doesn't matter if external USB mouse or touchpad is CorePointer or SendCoreEvents.
2.
SendCoreEvents -> Touchpad not switchable SendCoreEvents -> External USB mouse not switchable and if you click a few times on left mouse button you get the same effect as on clicking the right mouse button (for example you get context menu for both buttons -> mouse behaves crazy) *
Thinkpad:
1.
CorePointer -> Trackpoint Switchable SendCoreEvents -> Not switchable device not in xorg.conf -> not switchable
It doesn't matter if Trackpad or Touchpad is CorePointer. Corepointer is always switchable but not SendCoreEvents or the device which is not in xorg.conf.
I think there is a problem when you add 3 devices in your xorg.conf - X did not start. Maybe it's a limitation of X server!?
What works:
CorePointer Trackpad -> Switchable Touchpad not in xorg.conf -> Switchable USB/PS2 mouse not in xorg.conf -> Switchable
2.
SendCoreEvents -> Trackpad goes behaves crazy (see *) SendCoreEvents -> Touchpad not switchable SendCoreEvents -> External USB mouse behaves crazy (see *)
Result:
Even if my external PS2/USB mouse is damaged, switching to left handed mouse for Trackpad AND Touchpad on Thinkpad does NOT work. Trackpad and Touchpad are integrated my notebook - maybe it's not common for Thinkpads but Z61m has both.
I think it's a Xorg problem - under Ubuntu switching to left handed mode doesn't work, too.
Totally crazy that one configuration works for my Thinkpad (Trackpad in xorg.conf, Touchpad and external USB/PS2 mouse not in xorg.conf) and not for Aspire, when only inserting Touchpad in xorg.conf and leaving other input device out of xorg.conf.
https://bugzilla.novell.com/show_bug.cgi?id=230918
sndirsch@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|felix.rommel@web.de |
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #16 from mhopf@novell.com 2007-03-02 09:05 MST ------- *** Bug 230919 has been marked as a duplicate of this bug. ***
https://bugzilla.novell.com/show_bug.cgi?id=230918
mhopf@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Summary|Left handed mouse does not |Button reordering (xmodmap) only works on |work with external USB mouse|primary mouse device |in KDE |
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #17 from mhopf@novell.com 2007-03-02 09:09 MST ------- Bug #244757 is probably related, though it shows a different effect.
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #18 from felix.rommel@web.de 2007-03-03 08:00 MST ------- Seems to be a problem with KDE. I tested the whole thing on my Aspire under Gnome and independent which device is CorePointer - left handed mouse works with Touchpad and external mouse. So maybe this bug is related to KDE mouse setting dialog?
https://bugzilla.novell.com/show_bug.cgi?id=230918
------- Comment #19 from mhopf@novell.com 2007-03-05 04:06 MST ------- Given the symptoms this probably just *cannot* be. There's only one client specifiable button reordering mechanism, and that one doesn't care about multiple mice. So it *should* affect all of them.
Maybe you didn't configure the mouse this time so all get processed by the same mouse section (the one that truly uses /dev/input/mice - not like the synaptics one that selects the correct event device internally).
I have to dig deeper into this, as soon as time permits.
https://bugzilla.novell.com/show_bug.cgi?id=230918
sndirsch@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eich@novell.com
------- Comment #20 from sndirsch@novell.com 2007-05-11 01:57 MST ------- JFYI.
https://bugzilla.novell.com/show_bug.cgi?id=230918
Stefan Dirsch sndirsch@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- QAContact|sndirsch@novell.com |xorg-maintainer-bugs@forge.provo.novell.com
https://bugzilla.novell.com/show_bug.cgi?id=230918
User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=230918#c21
Matthias Hopf mhopf@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major
--- Comment #21 from Matthias Hopf mhopf@novell.com 2008-04-02 07:54:51 MST --- Ok, some notes:
1st) I could reproduce this on a Dell D410 2nd) It only happens if there are two mice sections, and they are actually used (e.g. with synaptics configured) 3rd) Then pointer modmaps only apply to the pointer described as "CorePointer", not for those with "SendCoreEvents"
There is an easy workaround, by just using a standard mouse section (e.g. ignoring the synaptics driver), but that has the side effect that the touchpad doesn't have it's special features (mouse wheel emulation, tap emulation, etc.).
Next: to be tested with 11.0.
https://bugzilla.novell.com/show_bug.cgi?id=230918
User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=230918#c22
Matthias Hopf mhopf@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P4 - Low
--- Comment #22 from Matthias Hopf mhopf@novell.com 2008-07-25 08:45:09 MDT --- Setting priority & severity according to new guidelines.
https://bugzilla.novell.com/show_bug.cgi?id=230918
User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=230918#c23
Matthias Hopf mhopf@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #23 from Matthias Hopf mhopf@novell.com 2008-11-06 06:31:20 MST --- Can't reproduce on neither 10.3 nor 11.1 Beta4 any more. Considering this fixed. If it isn't, please reopen.