Red Hat Bugzilla – Bug 22810
devfs kills /dev/mouse
Last modified: 2007-04-18 12:30:21 EDT
This isn't exactly a gpm problem, but . . .
devfs overlays /dev/mouse and the initscripts and gpm rely on its
existence. I would recommend changing the /etc/rc.d/init.d/gpm file to
directly reference the right mouse device or adding some magic to kudzu and
the initscripts to write a link at startup. Another possibility is using
devfsd to make the links, as in:
CFUNCTION GLOBAL symlink $devname mouse
CFUNCTION GLOBAL unlink mouse
(see bug 22809 for notes on that). However, if a new mouse is detected,
kudzu would still have to change that link somehow. Anyway, just a heads
up on that.
This isn't high priority, since devfs isn't going to be in use anytime
soon. I just like it when the initscripts work without kludging.
*** Bug 22811 has been marked as a duplicate of this bug. ***
On further inspection, I think kudzu ought to be able to handle devfsd.conf so
that it automatically adds all kinds of links -- /dev/cdrom, /dev/dvd,
/dev/modem, etc., etc.
I also noticed that bugzill messed up my example, so here it is again:
REGISTER misc/psaux CFUNCTION GLOBAL symlink $devname mouse
UNREGISTER misc/psaux CFUNCTION GLOBAL unlink mouse
Having kudzu munge devfsd.conf when it's not in use would be
But eventually it will have to, I suppose. Is RedHat planning on eventually
switching over the devfs? If so, then kudzu needs to be changed.
we are not currently planning on supporting devfs.