summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2011-03-24 23:48:29 +0100
committerLars Hanisch <dvb@flensrocker.de>2011-03-24 23:48:29 +0100
commit2ad4f6c98465577159b3fa07df24dac37ee5a0e6 (patch)
treece71e562044708ba5e6ab5c5574dc0b6c06f3064 /README
parente03b81ff043b9e1d29da4d48e8971d7fe7e3eccc (diff)
downloadvdr-plugin-dynamite-2ad4f6c98465577159b3fa07df24dac37ee5a0e6.tar.gz
vdr-plugin-dynamite-2ad4f6c98465577159b3fa07df24dac37ee5a0e6.tar.bz2
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.
Diffstat (limited to 'README')
-rw-r--r--README20
1 files changed, 19 insertions, 1 deletions
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