devfs
[Top] [All Lists]

Re: devfs and device name persistance

To: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Subject: Re: devfs and device name persistance
From: Jurgen Botz <jurgen@xxxxxxxx>
Date: Wed, 10 May 2000 12:13:07 -0700
Cc: Johannes Erdfelt <jerdfelt@xxxxxxxxxxx>, devfs@xxxxxxxxxxx
In-reply-to: Message from Richard Gooch <rgooch@xxxxxxxxxxxxxxx> of "Mon, 08 May 2000 23:34:26 MDT." <200005090534.e495YQ910398@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Richard Gooch wrote:
> However, it probably makes sense to put *all* USB devices under
> /dev/usb, just like the SCSI and IDE trees.

The problem with this is that some USB devices are layers underneath
more general devices... for example the v4l stuff.  Ergo I have the
same problem as JE's floppies with my two video inputs: one is a PCI
board (BT848) and the other a USB cam.  Which one becomes video0 and
which video1 depends on the order in which the drivers are loaded...
since the drivers are loaded on demand this doesn't work well.

Ok, in my specific case I can solve this by just always forcing the
bttv driver to load at boot time so that it will always be
/dev/v4l/video0, but that's ugly.  Also it wouldn't work if I had,
say, another video device which was a PCMCIA card.
 
-j




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