<br><br><div class="gmail_quote">2009/7/29 Svein Skogen (listmail account) <span dir="ltr"><<a href="mailto:svein-listmail@stillbilde.net">svein-listmail@stillbilde.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div class="im">Arnaud Quette wrote:<br>
><br>
> 2009/7/29 Svein Skogen (listmail account) <<a href="mailto:svein-listmail@stillbilde.net">svein-listmail@stillbilde.net</a><br>
</div>> <mailto:<a href="mailto:svein-listmail@stillbilde.net">svein-listmail@stillbilde.net</a>>><br>
<div><div></div><div class="h5">><br>
> -----BEGIN PGP SIGNED MESSAGE-----<br>
> Hash: SHA1<br>
><br>
> Charles Lepple wrote:<br>
> > On Jul 29, 2009, at 5:26 AM, Svein Skogen (listmail account) wrote:<br>
> ><br>
> >> On a sidenote, I had a really hard time getting the usbhid-ups driver<br>
> >> working in FreeBSD running as a non-privileged user (even with<br>
> >> permissions on the /dev/ file set properly). Running it as root<br>
> works,<br>
> >> though, so no biggie (I have the luxury of having the ups<br>
> connected to a<br>
> >> dedicated box that is sufficiently fenced off from the rest of the<br>
> >> network).<br>
> ><br>
> > I don't have my FreeBSD box handy, but I seem to remember having<br>
> to set<br>
> > permissions on both the bus (for libusb to enumerate the devices)<br>
> and on<br>
> > the device's /dev node itself.<br>
><br>
> That I didn't try. I'll try it later (right now the weather here is too<br>
> unstable for me to consider messing with the UPS setup just when I might<br>
> need it). Thanks for the tip. (If this works, maybe it should be added<br>
> to some documentation?)<br>
><br>
><br>
> sure, and even more knowing that we're working on the new shiny doc.<br>
> I'm also keen in automating the process, if possible, as for udev on Linux.<br>
><br>
> any hints / feedback is welcome since I'm not a *BSD user (simply due to<br>
> a lack of time, not of interest!)<br>
<br>
</div></div>If we can get the permissions bit sorted out,</blockquote><div><br>indeed, and that's what I want to automate, as for linux.<br>the point 4 of Thierry's doc illustrate this<br><a href="http://people.freebsd.org/~thierry/nut_FreeBSD_HowTo.txt">http://people.freebsd.org/~thierry/nut_FreeBSD_HowTo.txt</a><br>
<br>It seems that devfsd is as dynamic as udev, tied to a specific physical dev and only for coldplugging (applied at boot time only).<br><br>in the vain of the other autogenerated USB helpers, I can make another one for FreeBSD to is executed at will (at config time, or by the init script<br>
<br>Thierry, do you have more info on the current devfsd situation.<br>Would you be willing to work with me on simplifying the situation with the creation of an helper script (a kind of nut-find-usbups)?<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
all the hints are "cd<br>
/usr/ports/sysutils/nut && make clean config build install clean" then<br>
read docs and set up .conf-files in /usr/local/etc/nut. FreeBSD is<br>
fairly relaxing in that way. ;)</blockquote><div><br>thanks for the above info.<br><br>cheers,<br>Arnaud <br></div></div>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br>