[vdr] DVB device discovery at startup
laz at club-burniston.co.uk
Thu Jun 22 16:03:04 CEST 2006
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:
DOH! Yes, exactly that (damn cut-and-paste!).
> This can happen in "normal" situations too: just unplug the USB DVB
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).
More information about the vdr