[linux-dvb] Re: How to access /dev/videoK from /dev/dvb/adapterN?

Sebastian Frei Sebastian at schnapsleichen.de
Fri Jun 16 11:53:46 CEST 2006


Am Freitag, 16. Juni 2006 11:45 schrieb Klaus Schmidinger:
> An application that uses the LinuxDVB driver can access the
> DVB devices via /dev/dvb/adapterN/* (N = 0, 1, ...). However,
> when it wants to, for instance, capture the current image on
> a device (like VDR with its GRAB command), it needs to access
> /dev/videoK, where 'K' is a number that is not directly related
> to the 'N' mentioned above for the DVB device.
>
> So VDR has to do some guessing on which /dev/videoK device might
> belong to the /dev/dvb/adapterN device. This is getting particularly
> problematic if there are also other /dev/video devices that have
> nothing to do with any DVB devices.
>
> Is there a defined way in which an application can query a DVB
> device for its related /dev/video device?
>
> Klaus
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Hello,

as more and more distributions are switching to udev, and udev automatically 
creates device like /dev/dvb0.frontend0 and also /dev/dvb0.video0, switching 
the applications to use these devices could simplify things alot.
I'm using a patched vdr which does this, and so I don't have to configure udev 
or use any scripts.

S.



More information about the linux-dvb mailing list