<br><br><div><span class="gmail_quote">2005/12/28, Charles Lepple &lt;<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 12/28/05, Pierre-Yves AILLET &lt;<a href="mailto:pierreyves.aillet@free.fr">pierreyves.aillet@free.fr</a>&gt; wrote:<br>&gt; The libhid.c and libhid.h files in the Nut CVS are completely different from the<br>&gt; original libhid svn files. Then what would be the correct way to use libhid from
<br>&gt; the libhid project for my non-standard UPS ? (inclusion in NUT or package<br>&gt; dependancy)<br><br>Arnaud would probably be in a better position to answer this, but I<br>believe he will be on vacation for another week.
</blockquote><div><br>configure test (check the one of libusb) + package deps<br><br>Note that the port to libhid should still happen by 2.2...<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; Using libhid matcher to identify and claim the device interface avoid the need<br>&gt; of defining the port on the command line or in the config file, but defining<br>&gt; the port seems mandatory in the main.c file. Have I missed something ? Is there
<br>&gt; a mean to get round this ?<br><br>The current workaround is to use a dummy port name like 'auto'. I<br>recall hearing about a change to newhidups (or maybe NUT core, I don't<br>remember) which lifted some of the lockfile restrictions when the port
<br>name does not correspond to a physical port.<br></blockquote></div><br>yup, I've done that in the nut core (upsd and driver).<br><a href="http://lists.alioth.debian.org/pipermail/nut-upsdev/2005-November/000303.html">
http://lists.alioth.debian.org/pipermail/nut-upsdev/2005-November/000303.html</a><br clear="all"><br>Arnaud<br>-- <br>Linux / Unix Expert - MGE UPS SYSTEMS - R&amp;D Dpt<br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">
http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/</a><br>OpenSource Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/
</a>