freebsd-ports/comms/telldus-core/files/patch-tdadmin-freebsd-devd-tellstick.conf
John Marino 941fc51733 Add new port comms/telldus-core
PR:		189221
Submitted by:	johan (stromnet.se)

Allows access to Telldus Tellstick USB dongles for communicating with
433MHz devices in your home.

Provides "telldusd", the daemon which keeps track of your tellstick
devices. Through a UNIX socket, the sensors and devices can be used/
controlled from the command line tool "tdtool", or via the libtelldus-core
C client library.
2014-08-15 14:43:47 +00:00

15 lines
619 B
Text

--- tdadmin/freebsd-devd-tellstick.conf 2014-04-06 22:40:11.000000000 +0200
+++ tdadmin/freebsd-devd-tellstick.conf 2014-04-06 20:37:50.501751596 +0200
@@ -0,0 +1,12 @@
+attach 10 {
+ device-name "uftdi[0-9]+";
+ match "vendor" "0x1781";
+ match "product" "0x0c30";
+
+ action "chgrp dialer /dev/ugen$port.$devaddr; chmod 660 /dev/ugen$port.$devaddr;
+ @CMAKE_INSTALL_PREFIX@/sbin/tdadmin --pid $product --vid $vendor --serial $sernum controller connect";
+};
+
+
+# Haven't managed to handle detach/disconnect events, seems they do not provide any information
+# at all so cannot distinguish different uftdi devices.