Red Hat Bugzilla – Bug 16211
Installer adds conflicting options ZAxisMapping and Emulate3Buttons in 3.3.x XF86Config
Last modified: 2008-05-01 11:37:57 EDT
If you select a wheel-mouse during the install (such as Logitech
MouseMan+/FirstMouse+), and a 3.3.x X server is installed, the installer
will put both "ZAxisMapping 4 5" and "Emulate3Buttons" in the XF86Config
file. The Emulate3Buttons option causes the ZAxisMapping to not work at
all. It does not seem to do this in the XF86Config-4 file.
This defect is considered MUST-FIX for Winston Gold release
I'll need to fix that for XConfigurator as well...
Fixed for Xconfigurator in CVS
Post fresh install, emulate3Buttons doesnt seem to work
on RC1. Running mouseconfig and then Xconfigurator
seems to make it work again.
The installer does not write "emulate3" for the Logitech
MouseMan+/FirstMouse+. Are you sure that's the one you selected?
This was a GUI install?
That's not the issue, the point is that ZAxisMapping 4 5 is now written
unconditionally for XFree 3.3, which it can't: It can't be written when
emulate3button is set.
Turned off ZAxisMapping by default, and commented the option.
Hm, I was afraid this might happen with this bug. Why can't you just keep track
of which mice on the list have a wheel, and insert the ZAxisMapping and NOT
insert Emulate3Buttons for those mice, and do the reverse for all other mice?
We don't have information about wheels...
The best thing would be to add the ZAxisMapping line if emulate3buttons isn't
set, but I'm not that familiar with the installer and don't want to introduce
code changes now.
This just seems a little less than optimal... I originally filed the bug because
the wheel didn't work automatically after configuration, and with this
resolution, it still won't.
Why does this problem only happen in the 3.3.6 XF86Config? Is Emulate3Buttons
not used at all in the 4.0 config?
XFree4 does it another way - Option "Emulate3Buttons" "True" or something
Yes, but the generated XF86Config-4 file did not have the Emulate3Buttons
option, only the ZAxisMapping option... which is why that configuration works
for a wheel mouse.