Bug 22810 - devfs kills /dev/mouse
Summary: devfs kills /dev/mouse
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gpm
Version: 1.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Preston Brown
QA Contact: David Lawrence
: 22811 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2000-12-24 22:07 UTC by Alex Yacoub
Modified: 2007-04-18 16:30 UTC (History)
0 users

Clone Of:
Last Closed: 2000-12-26 22:11:10 UTC

Attachments (Terms of Use)

Description Alex Yacoub 2000-12-24 22:07:57 UTC
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

(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.

Comment 1 Alex Yacoub 2000-12-24 22:11:42 UTC
*** Bug 22811 has been marked as a duplicate of this bug. ***

Comment 2 Alex Yacoub 2000-12-25 17:47:50 UTC
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

Comment 3 Bill Nottingham 2000-12-26 04:31:08 UTC
Having kudzu munge devfsd.conf when it's not in use would be
somewhat silly.

Comment 4 Alex Yacoub 2000-12-26 22:11:06 UTC
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.

Comment 5 Preston Brown 2001-01-05 19:36:38 UTC
we are not currently planning on supporting devfs.

Note You need to log in before you can comment on or make changes to this bug.