Red Hat Bugzilla – Bug 77389
mouseconfig doesn't update /etc/X11/XF86Config
Last modified: 2007-04-18 12:48:11 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021018
Description of problem:
I am running mharris's CVS RPMs of XFree86 220.127.116.11 due to the graphics chipset
in my laptop (Intel 830, Dell Latitude C400). After upgrading to the CVS
packages, mouseconfig no longer updates /etc/X11/XF86Config. I thought maybe
mouseconfig looks for /etc/X11/XF86Config-4 instead, so I made a symlink to
XF86Config, but that didn't help. I have version 18.104.22.168-0.20021105.0 of X, and
4.26-1 of mouseconfig.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run mouseconfig
2. Select mouse type other than current setting
3. Select Ok, specifying to make changes to X config
Actual Results: /etc/X11/XF86Config is not changed to reflect new settings
Expected Results: /etc/X11/XF86Config should be updated with the new mouse
This bug is 11 days old and is still in the NEW state. Is anyone going to do
anything with it?
We plan on deprecating mouseconfig in the next release. Can you try
redhat-config-mouse-1.0.2-4.noarch.rpm out of Rawhide and see if that fixes the
There is now a text interface to redhat-config-mouse.
Sorry for the delay in my reponse, my hosting company seems to be holiding me
mail for days at a time. Back on topic. The package you suggest does update the
/etc/X11/XF86Config file, but not correctly. I selected MS Intellimouse (USB)
and the ZAxisMapping was not present, so the scroll wheel was disabled. Further,
and perhaps I should have specified, but I need something that works from kudzu.
I have a laptop, and don't always boot with the external mouse plugged in. The
prior version of redhat-config-mouse in graphical mode configured
/etc/X11/XF86Config the same as the new one in text mode (no ZAxisMapping). But
it failed to inform me I needed to restart X, and logging out and back in
(runlevel 5, so gdm is running) isn't enough. Also, running mouseconfig after
having run this new redhat-config-mouse yields an error about being unable to
load /etc/sysconfig/mouse. So this new redhat-config-mouse package gets closer
than mouseconfig, but doesn't fully configure the mouse.
Oh, I see what you're saying. I will work on this today.
I have made a change to redhat-config-mouse that will make sure that the
ZAxisMapping is written to the XF86Config file, which should fix the problem.
The reason that mouseconfig no longer works is because of a change I made to the
way redhat-config-mouse writes out /etc/sysconfig/mouse so that PS/2 and USB
mice can work at the same time in console mode. This is useful for laptops
especially. mouseconfig doesn't know how to handle the "OPTIONS='-t imps2 -m
/dev/input/mice -M" line. This is ok since we are removing mouseconfig for the
next release. Instead, redhat-config-mouse now can run in text mode. The
'mouseconfig' command will run redhat-config-mouse in text mode in the next release.
redhat-config-mouse-1.0.2-8 should fix the problem and should appear in Rawhide
in the next day or so. QA, please verify that this has been fixed.
I just installed redhat-config-mouse-1.0.2-8 on my laptop. It's looking pretty
sharp. This release does correctly detect and configure my USB mouse during
boot. There are a few problems though:
1) After detecting and configuring my USB mouse, only the USB mouse works in
console mode. The USB mouse is fully configured though (thumb button and wheel
2) When booting without the USB mouse connected and the USB mouse was configured
at shutdown, the missing USB mouse is removed and a generic 2 button USB mouse
Here's my /etc/sysconfig/mouse after this case
FULLNAME="Generic - 2 Button Mouse (USB)"
OPTIONS="-t imps2 -m /dev/input/mice -M"
My /etc/X11/XF86Config file still has the prior USB config (including
ZAxisMapping). I can run redhat-config-mouse to manually specify the PS/2 mouse.
Afterwards I do this, both mice work in console mode, and only the PS/2 mouse
works in X (which is the expected behavior).
I wasn't aware of the support for both devices in console mode, I think that is
I just built redhat-config-mouse-1.0.5-1 that should appear in Rawhide tomorrow.
I had to remove the "OPTIONS" line from /etc/sysconfig/mouse because it causes
gpm to run in repeater mode, which can cause the mouse to go bonkers in X if X
and gpm are running at the same time. See bug #76713 for more information.
Now, to get both mice to work in XFree86, you need to pick the PS/2 mouse from
the list. The USB mouse config is always configured as the secondary mouse in
XF86Config, so you need to pick the PS/2 mouse to get both to work. If you pick
the USB mouse, then only the USB mouse will work. I could probably improve this
behavior a bit, but it's too late for this release.
I've recently done a clean install of Phoebe2 (8.0.93) and the
redhat-config-mouse in that release has been working quite well for me thus far.
For my purposes this bug may be closed/resolved. Thanks.
Ok, great. Thanks for all your help on this report. Closing as "rawhide"