Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: devfs



Johannes Stezenbach schrieb am Dienstag, 30. April 2002 um 12:59:35 +0200:
> On Mon, Apr 29, 2002 at 08:23:22PM +0200, Joerg Friedrich wrote:
> > I use devfs. when I load the dvb-modules the devices can be found in
> > /dev/dvb/card0/
> > 
> > The Problem is that most application expect the devices in /dev/ost.
> > 
> > At the moment I use the devfsd to create links to /dev/ost/ when the
> > devices are created.
> > 
> > Is there any solution planned?
> 
> Using devfsd is the solution. If you want to contribute your
> devfsd configuration send it to Ralph or Marcus for inclusion
> in the driver disribution.

At the moment I use

REGISTER ^dvb/card[0-9]+/[^/]+$ PERMISSIONS root.video 0660
REGISTER	^dvb/card([0-9]+)/([^/0-9]*)[0-9]+$	CFUNCTION GLOBAL mksymlink /dev/$devname ost/\2\1
UNREGISTER	^dvb/card([0-9]+)/([^/0-9]*)[0-9]+$	CFUNCTION GLOBAL unlink ost/\2\1

for devfsd.

and 

alias char-major-250 dvb
alias /dev/ost/* dvb           # autoload module
options dvb init_chan=2 pids_off=0
below saa7146_core VES1893 VES1820 L64781 stv0299 dvb_tuner # renamed tuner.o to dvb_tuner.o
                                                            # possible conflicts with other 
							    # tv-cards
below dvb saa7146_v4l

in /etc/modules.conf. 
-- 
Heute ist nicht alle Tage, ich komm' wieder, keine Frage!!!

   Joerg

Early to bed and early to rise and you'll be groggy when everyone else is
wide awake.


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index