DVB device discovery at startup

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

 



On Thursday 22 Jun 2006 14:23, Anssi Hannula wrote:
> Laz wrote:
> > I've got one PCI DVB device and two USB DVB devices. Sometimes vdr
> > would only find one device, even though the others seemed to be
> > working OK. I've now tracked down why.
> >
> > vdr starts with /dev/dvb/adapterX/frontend0 where X = 0, increments X
> > until it can't access the device, and then stops looking. This is
> > probably the right way to do this but occasionally, I end up with the
> > following devices:
> >
> > /dev/dvb/adapter0/frontend0
> > /dev/dvb/adapter0/frontend2
> > /dev/dvb/adapter0/frontend3
>
> Do you mean:
> /dev/dvb/adapter0/frontend0
> /dev/dvb/adapter2/frontend0
> /dev/dvb/adapter3/frontend0

DOH! Yes, exactly that (damn cut-and-paste!).

> This can happen in "normal" situations too: just unplug the USB DVB
> adapter1.

I'm not unplugging anything: they sometimes disconnect and reconnect 
themselves for no apparent reason. I don't think these USB devices 
(Nova-T USB2) like working together!

Actually, this may be why vdr occasionally dies when a timer starts 
recording. It could be trying to use a device which has now disappeared 
(not looked to see what checks are made when tuning a device).

Cheers,

Laz


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux