On Aug 17, 06 19:22:27 +0200, Lenz Grimmer wrote:
Ah, ok. That, of course, isn't tracked. But if it is a serial protocol, any *ps/2 protocol probably won't work. AFAIU no serial protocol is autoprobed any more. Try Microsoft, Logitech, IntelliMouse, MouseMan.
Thanks for the hint! I toyed around some more with the serial adapter and finally managed to get it working! The problem was that the X server always preferred the first InputDevice section that defined the internal trackpoint. For testing, I simply disabled it and "forced" the server to use the Trackball section. This is the resulting device configuration:
Didn't think of that you might have forgot that, but you have to make all input devices known to the Xserver in the ServerLayout section: InputDevice "Mouse[1]" "CorePointer" InputDevice "Mouse[2]" "SendCoreEvents" InputDevice "Mouse[3]" "SendCoreEvents" ...
Option "EmulateWheel" "true" Option "EmulateWheelButton" "8" # Option "ButtonMapping" "1 8 3 4 5 6 7 2 9" Option "YAxisMapping" "4 5" Option "EmulateWheelInertia" "8" EndSection
I tried to swap Buttons 2 and 8, but that somehow did not work. Strange.
It should. Note that you're swapping *physical* mice buttons 2 and 8. I doubt your Mouse has 8 buttons (wheel movement not counting). Try ButtonMapping 1 4 3 2
external Trackball can be used in parallel. However, it now does not detect all four buttons anymore! The fourth button (which xev reported as Button 8 using the serial connection) no longer triggers any action :(
ps/2 protocols only know of 5 buttons. The fourth button should be possible, though, try explorerps/2 as protocol.
I will toy around with this some more and maybe write a separate message. But it seems like the mouse device handling in X.org has a few subtle quirks and bugs...
Yeeeeesssss. Matthias -- Matthias Hopf <mhopf@suse.de> __ __ __ Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@mshopf.de Phone +49-911-74053-715 __) |_| __) |__ labs www.mshopf.de