[vdr] Restricting a particular dvb card from tuning to channels with a selected modulation
tvr at iki.fi
Mon Apr 5 12:43:51 CEST 2010
I tried also without delete cDeviceHook but it still crashed...
Well, the fixes are basically available in the plugin, as I copied the probe
method (and modified slightly to suit the plugin). Those are:
- The sysfs filenames are idVendor (subsystem_vendor) and idProduct
- You need to set strtoul() base as 16 as the files don't have 0x in front
of the hex
What about making this an utility method in VDR? Give device file name and
2010/4/5 Klaus Schmidinger <Klaus.Schmidinger at tvdr.de>
> From PLUGINS.html:
> A plugin that creates a derived cDeviceHook ...
> shall not delete this object. It will be automatically deleted when the
> program ends
> I have added a similar note to device.h now.
> > ...
> > - The sysfs probe code in full feature card plugin is buggy :-)
> Would you mind posting a patch that fixes this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vdr