--- 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,36 @@ +# Original Tellstick +notify 10 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x1781"; + match "product" "0x0c30"; + action "chgrp dialer /dev/$cdev; chmod 660 /dev/$cdev; @CMAKE_INSTALL_PREFIX@/sbin/tdadmin --pid $product --vid $vendor --serial $sernum controller connect"; +}; + +notify 10 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "DETACH"; + match "vendor" "0x1781"; + match "product" "0x0c30"; + action "@CMAKE_INSTALL_PREFIX@/sbin/tdadmin --pid $product --vid $vendor --serial $sernum controller disconnect"; +}; +# Tellstick Duo +notify 10 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x1781"; + match "product" "0x0c31"; + action "chgrp dialer /dev/$cdev; chmod 660 /dev/$cdev; @CMAKE_INSTALL_PREFIX@/sbin/tdadmin --pid $product --vid $vendor --serial $sernum controller connect"; +}; + +notify 10 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "DETACH"; + match "vendor" "0x1781"; + match "product" "0x0c31"; + action "@CMAKE_INSTALL_PREFIX@/sbin/tdadmin --pid $product --vid $vendor --serial $sernum controller disconnect"; +};