From 346ebc85cd43fbf778a200e912bcb6079b611e64 Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Thu, 17 Mar 2011 18:37:24 +0100 Subject: - use getopt_long on commandline argument processing, look at README for new arguments - raise event via cPlugin::Service if a device is attached/detached so other plugins can react on it ("dynamite-event-DeviceAttached-v0.1", "dynamite-event-DeviceDetached-v0.1") --- README | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index d47bf22..50617f6 100644 --- a/README +++ b/README @@ -162,17 +162,31 @@ CallGetTSTimeoutHandler arg Don't forget to prefix them with "plug dynamite"... +Signals emitted via cPluginManager::CallAllServices +--------------------------------------------------- +On some actions dynamite calls the Service interface of every plugin +so other plugins can react on these. + +On attaching a device: +"dynamite-event-DeviceAttached-v0.1" /dev/path/to/device + +On detaching a device: +"dynamite-event-DeviceDetached-v0.1" /dev/path/to/device + Parameters in setup.conf ------------------------ dynamite.DefaultGetTSTimeout = 0 +dynamite.GetTSTimeoutHandler = /path/to/program Commandline Arguments --------------------- ---log-udev +-u, --log-udev log all udev events to syslog (useful for diagnostics) ---dummy-probe +-d, --dummy-probe start dummy-device probe (useful for experiments) ---GetTSTimeoutHandler /path/to/program +-t, --GetTSTimeout=n + set default GetTS-timeout to n seconds +-h, --GetTSTimeoutHandler=/path/to/program set program to be called on GetTS-timeout "GetTS" watchdog -- cgit v1.2.3