<html>
<body>
<font size=3>Peter,<br>
&nbsp;&nbsp; I generated a new subdriver using the suggested method of
running<br>
./drivers/usbhid-ups -DDDD -u nut -x explore -x vendorid=ffff auto
&gt;&amp; /tmp/info<br><br>
followed by pumping this into <br>
./scripts/subdriver/path-to-subdriver.sh<br><br>
Then make all, and make install . I don't get any error messages, I just
don't seem to get what I expect, which is some of the details from the
UPS. <br><br>
&nbsp;&nbsp; Whilst I do have windows software for this device, I would
not know where to start to decode what it is doing so that I could
replicate it in the NUT system.<br><br>
Jon<br><br>
At 18:16 28/01/2007, Peter Selinger wrote:<br>
<blockquote type=cite class=cite cite="">Jon Gough wrote:<br>
&gt; <br>
&gt; Oooppss. Lets try with less data!<br><br>
Yes, I also had trouble posting to the list because of the size<br>
limit. It might help if you could teach your mailer not to repeat
the<br>
entire message in HTML at the end of each message.<br>
&nbsp;<br>
&gt; Peter,<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Here is the line that I pruned out.<br>
&gt; <br>
&gt; Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30
(2.1.0)<br>
&gt; <br>
&gt; When I start the driver with<br>
&gt;&nbsp;&nbsp; /usr/local/ups/bin/upsdrvctl -u nut start<br>
&gt; <br>
&gt; I get the following messages<br>
&gt; <br>
&gt; Network UPS Tools - UPS driver controller 2.1.0<br>
&gt; Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30
(2.1.0)<br>
&gt; <br>
&gt; Detected a UPS: UIS Ablerex/Ablerex USB Interface 049e<br>
&gt; Using subdriver: Upsilon HID 0.1<br><br>
OK, so you are using some patch that I have not seen. There is no<br>
&quot;Upsilon&quot; subdriver in the official NUT sources.<br>
&nbsp;<br>
&gt; Then I issue<br>
&gt;&nbsp;&nbsp; /usr/local/ups/sbin/upsd -u nut<br>
&gt; <br>
&gt; and get<br>
&gt; <br>
&gt; Network UPS Tools upsd 2.1.0<br>
&gt; upsd: listening on 0.0.0.0:3493<br>
&gt; Connected to UPS [eclipse]: eclipse<br>
&gt; <br>
&gt; Then I try to see what is available from the driver with<br>
&gt;&nbsp;&nbsp; /usr/local/ups/bin/upsc eclipse<br>
&gt; <br>
&gt; and get<br>
&gt; <br>
&gt; Activepower: 0<br>
&gt; Apparentpower: 0<br>
&gt; driver.name: usbhid-ups<br>
&gt; driver.parameter.pollinterval: 2<br>
&gt; driver.parameter.port: auto<br>
&gt; driver.version: 2.1.0<br>
&gt; Shutdown.Delay: 0<br>
&gt; Startup.Delay: 0<br>
&gt; ups.mfr: UIS Ablerex<br>
&gt; ups.model: Ablerex USB Interface 049e<br>
&gt; ups.status: WAIT<br><br>
OK, sure, you are getting ahead of the game. There is no point in
this<br>
unless the driver can first communicate with the UPS. <br>
&nbsp;<br>
&gt; If I try<br>
&gt;&nbsp;&nbsp; /usr/local/ups/bin/upsc eclipse battery.voltage<br>
&gt; <br>
&gt; I get<br>
&gt; <br>
&gt; Error: Variable not supported by UPS<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Yet battery.voltage is defined in the
hid_info_t variable.<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; It looks like only part of the output is
being read. But at this <br>
&gt; point I do not know what to do to get further information from the
<br>
&gt; system. I have modified the stub to have the correct (I hope) labels
<br>
&gt; for at least some of the values that should be returned, but they do
<br>
&gt; not show up when I call the command processor.<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; I seem to be missing something in this
process. Not sure what, <br>
&gt; but I am getting confused about what I should have to do.<br>
&gt; <br>
&gt; Regards<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Jon<br>
&gt; <br>
&lt;snip&gt;</font></blockquote>

<BR><BR>
<TABLE width=400><HR>
<P style="FONT: 9pt/11pt verdana"><a href="http://www.avast.com">avast! Antivirus</a>: Outbound message clean.
<P style="FONT: 8pt/11pt verdana">Virus Database (VPS): 000707-0, 27/01/2007<BR>Tested on: 28/01/2007 6:31:45 PM<BR><FONT color=gray>avast! is copyright (c) 2000-2007 ALWIL Software.</FONT></P>
<TBODY></TBODY></TABLE>
<BR>

</body>
<br>
</html>