Project

General

Profile

0.0.5h: call an external program if GetTS-watchdog triggers

Added by lhanisch about 13 years ago

add to your setup.conf:

dynamite.GetTSTimeoutHandler = /path/to/program

This program will be called with the devpath of the detached device as an argument.

You can replace this argument with the value of the udev-device-property "dynamite_timeout_handler_arg":

ACTION=="add", SUBSYSTEM=="dvb", ENV{DVB_DEVICE_TYPE}=="frontend", ENV{dynamite_timeout}="5", ENV{dynamite_timeout_handler_arg}="%k"

In this example "%k" expand to "dvb0.frontend0" for the first dvb-device.

What is missing:
dynamite doesn't enumerate the udev-device-properties of the device at startup, so "dynamite_timeout_handler_arg" onyl works for devices attached by the udev-monitor.

it's on the todo list...


Comments