<br><br><div class="gmail_quote">2009/7/29 Svein Skogen (listmail account) <span dir="ltr">&lt;<a href="mailto:svein-listmail@stillbilde.net">svein-listmail@stillbilde.net</a>&gt;</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>
&gt;<br>
&gt; 2009/7/29 Svein Skogen (listmail account) &lt;<a href="mailto:svein-listmail@stillbilde.net">svein-listmail@stillbilde.net</a><br>
</div>&gt; &lt;mailto:<a href="mailto:svein-listmail@stillbilde.net">svein-listmail@stillbilde.net</a>&gt;&gt;<br>
<div><div></div><div class="h5">&gt;<br>
&gt;     -----BEGIN PGP SIGNED MESSAGE-----<br>
&gt;     Hash: SHA1<br>
&gt;<br>
&gt;     Charles Lepple wrote:<br>
&gt;     &gt; On Jul 29, 2009, at 5:26 AM, Svein Skogen (listmail account) wrote:<br>
&gt;     &gt;<br>
&gt;     &gt;&gt; On a sidenote, I had a really hard time getting the usbhid-ups driver<br>
&gt;     &gt;&gt; working in FreeBSD running as a non-privileged user (even with<br>
&gt;     &gt;&gt; permissions on the /dev/ file set properly). Running it as root<br>
&gt;     works,<br>
&gt;     &gt;&gt; though, so no biggie (I have the luxury of having the ups<br>
&gt;     connected to a<br>
&gt;     &gt;&gt; dedicated box that is sufficiently fenced off from the rest of the<br>
&gt;     &gt;&gt; network).<br>
&gt;     &gt;<br>
&gt;     &gt; I don&#39;t have my FreeBSD box handy, but I seem to remember having<br>
&gt;     to set<br>
&gt;     &gt; permissions on both the bus (for libusb to enumerate the devices)<br>
&gt;     and on<br>
&gt;     &gt; the device&#39;s /dev node itself.<br>
&gt;<br>
&gt;     That I didn&#39;t try. I&#39;ll try it later (right now the weather here is too<br>
&gt;     unstable for me to consider messing with the UPS setup just when I might<br>
&gt;     need it). Thanks for the tip. (If this works, maybe it should be added<br>
&gt;     to some documentation?)<br>
&gt;<br>
&gt;<br>
&gt; sure, and even more knowing that we&#39;re working on the new shiny doc.<br>
&gt; I&#39;m also keen in automating the process, if possible, as for udev on Linux.<br>
&gt;<br>
&gt; any hints / feedback is welcome since I&#39;m not a *BSD user (simply due to<br>
&gt; 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&#39;s what I want to automate, as for linux.<br>the point 4 of Thierry&#39;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 &quot;cd<br>
/usr/ports/sysutils/nut &amp;&amp; make clean config build install clean&quot; 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&amp;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>