From 2ad4f6c98465577159b3fa07df24dac37ee5a0e6 Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Thu, 24 Mar 2011 23:48:29 +0100 Subject: enumerate dvb devices with udev so every adapter is found even if not "in a row" You can use the udev property "dynamite_ignore" to preserve a device from being attached. With the udev property "dynamite_instanceid" the devices can be associated with different vdr instances. --- README | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 746c7a9..8f0c839 100644 --- a/README +++ b/README @@ -214,12 +214,30 @@ If you want to add a timeout only to specific devices you can do this with udev. Add a rule which sets with ENV{dynamite_timeout}="10" the needed timeout value. example for udev rule: -ACTION=="add", SUBSYSTEM=="dvb", ENV{DVB_DEVICE_TYPE}=="frontend", ENV{dynamite_timeout}="10", ENV{dynamite_timeout_handler_arg}="%k" +ACTION=="add", SUBSYSTEM=="dvb", ENV{DVB_DEVICE_TYPE}=="frontend" \ + , ENV{dynamite_ignore}="no" \ + , ENV{dynamite_instanceid}="0" \ + , ENV{dynamite_timeout}="10" \ + , ENV{dynamite_timeout_handler_arg}="%k" After the device is detached and dynamite.GetTSTimeoutHandler in setup.conf is set to a path, this program is called. If the udev-property "dynamite_timeout_handler_arg" is not present the devpath is provided as argument, with which the device was attached. +Udev Properties +--------------- +dynamite_ignore + "yes", "y", "1": don't attach this device + +dynamite_instanceid + n: attach only at vdr with matching instance id + +dynamite_timeout + n: set GetTS timeout in seconds on this device + +dynamite_timeout_handler_arg + string: set a argument passed through to the auto-detach script + Known issues ------------ If a device managed by this plugin is the primary device it cannot be -- cgit v1.2.3