[Nut-upsuser] NUT + devd + FreeBSD

O'Connor, Daniel darius at dons.net.au
Sun Aug 17 22:08:45 UTC 2014

On 18 Aug 2014, at 5:28, Charles Lepple <clepple at gmail.com> wrote:
> On Aug 13, 2014, at 11:46 PM, O'Connor, Daniel <darius at dons.net.au> 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

More information about the Nut-upsuser mailing list