xfs
[Top] [All Lists]

Re: XFS Linux and /dev entries....

To: Jason Walker <unseen@xxxxxxxxx>
Subject: Re: XFS Linux and /dev entries....
From: Russel Ingram <ringram@xxxxxxxxxxxxxx>
Date: Sat, 3 Mar 2001 17:47:02 -0700 (MST)
Cc: Juan Casero <casero@xxxxxxxxxxxxx>, <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.10.10103031644330.3060-100000@xxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
How are the drivers loaded?  If they are kernel modules then they should
be able to be loaded when X calls for them from the kernel.  If you can
see in your logs where the kernel tries to load the module (it will most
likely be looking for a name other than the actual name of the module)
then you can put an alias in your /etc/modules.conf file to load the
module when it is called for (if you haven't already done so).  Then you
can put a line in your /etc/devfsd.conf file that tells it to make a link
to the /dev file that X actually looks for when the module is loaded.  The
line for devfsd.conf would look something like this:

REGISTER  v4l/video0 CFUNCTION /lib/libc.so.6 symlink $devname video

The example I have here is for my webcam and it creates a symbolic link
from /dev/v41/video0 to /dev/video when the module for my webcam is
inserted into the kernel.

On Sat, 3 Mar 2001, Jason Walker wrote:

>
>       I had the same problem with my nvidia drivers.  You need a patch for
> the nvidia drivers to work with devfs.  I got mine from #nvidia on
> openprojects IRC server(s).  Go there and ask around. They are quite
> helpful
>
> RegEx
>
>
> On Sat, 3 Mar 2001, Juan Casero wrote:
>
> > I have a question about devfs and XFS on a Linux box.  I run RedHat 7.0
> > with XFS exclusively on my primary Linux workstation.  This box uses an
> > NVidia TNT2 Pro video card and XFree86 4.0.1 so naturally I want to install
> > and run the specilized drivers provided by nvidia for XFree86 4.0.1.  There
> > is a problem though; when I install the nvidia drivers (after compiling them
> > myself they create an entry in /dev called nvidiactl or something like that.
> > Since the entries in /dev are creating dynamically the entries in /dev
> > created
> > by the nvidia software get wiped out when the system shuts down.  Therefore
> > when it comes back up the XFree86 provided nvidia drivers die and I can't
> > start X.  A clumsy solution would be to boot into runlevel 3 each time and
> > recreate the entries myself for each session but that is not a good
> > approach.
> > Is there a way to force the system to create the entries in /dev for the
> > nvidia drivers each time it reboots?  If you don't feel like going into
> > details
> > about how to do this but you know where documentation is online please point
> > me in the right direction.
> >
> >
> > Thanks......
> >
> > Juan Casero
> > casero@xxxxxxxxxxxxx
> >
>
>
Russ
-- 
---------------------------------------------------------------
"Bill Gates and Microsoft have ruined the computer industry for
 a long time to come by creating a class of ignorant and lazy
 computer users."  --Russel Ingram

"Mommy ... can I go out and ... KILL TONIGHT!?"
                   --Glen  Danzig, The Misfits
---------------------------------------------------------------
Russ Ingram
Gargoyle Computer Consulting
(307)742-1361
www.gargoylecc.com


<Prev in Thread] Current Thread [Next in Thread>