AS per summary, sys-power/nut should install the hotplug scripts so that the hid device related to the UPS can be correctly chmodded and chowned to nut group. The attached patch does so. They are not used -yet- on FreeBSD, but I'm really tempted to do so as soon as I can get an hotplug equivalent for FreeBSD :) HTH, Diego
Created attachment 87091 [details, diff] Ebuild patch
Please read the documentation. scripts/hotplug is deprecated, and the udev rules from scripts/hotplug-ng/ are used instead.
Uh well a part udev not working for me (sigh, it's not the first time anyway), would it be possible to install it only when udev is not installed? if ! has_version sys-fs/udev; then insinto /etc/hotplug/usb doins blabla fi ? It would be simpler to me to write a hotplug-workalike for FreeBSD rather than a udev-workalike ;)
flameeyes: does the script at hotplug-ng/nut-usbups.hotplug work in FreeBSD? If so, that is the one I will use.
in cvs.