Hi,
I tried also without delete cDeviceHook but it still crashed...
- The sysfs filenames are idVendor (subsystem_vendor) and idProduct (subsystem_device)
- 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 return id...
Teemu
2010/4/5 Klaus Schmidinger <Klaus.Schmidinger@xxxxxxx>
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?
Klaus
_______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr