On 18 Aug 2014, at 5:28, Charles Lepple <[email protected]> wrote: > On Aug 13, 2014, at 11:46 PM, O'Connor, Daniel <[email protected]> wrote: >> I did some fiddling and came up with.. >> notify 100 { >> match "system" "USB"; >> match "subsystem" “DEVICE"; >> match "type" "ATTACH"; >> match "vendor" "0x0463"; >> match "product" "0xffff"; >> action "chgrp uucp /dev/$cdev; chmod g+rw /dev/$cdev"; >> }; >> >> This works for my MGE Ellipse and I don’t see why it wouldn’t work more >> generally if your script was modified. > > Thanks for the info. (Sorry for the delay; couldn't test on a FreeBSD box > last week.) I think I have it generating things in that format now: > https://github.com/clepple/nut/compare/freebsd_devd_take2
Looks good! > For reference, which version of FreeBSD are you using? I got this to work on > 9.2 and 10.0. It was tested on a 9.2 (ish) system. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

