<br><br><div><span class="gmail_quote">2006/7/7, George Ross <<a href="mailto:gdmr@inf.ed.ac.uk">gdmr@inf.ed.ac.uk</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Network UPS Tools version 2.0.4-pre1 has been released.<br>><br>> <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br><br>A couple more things with newhidups and APC UPSes:<br><br>The temperature value has disappeared. It used to read something in
<br>Kelvins; now it's "NA". I'll see if I can get a debug trace, though it may<br>not be for a while.<br><br>I thought I remembered someone saying they were going to change the<br>descriptor-length code, but I find I still need this hack...
<br><br>--- drivers/libusb.c.dist 2005-12-22 14:40:27.000000000 +0000<br>+++ drivers/libusb.c 2006-01-06 12:46:35.000000000 +0000<br>@@ -226,6 +226,9 @@<br> TRACE(2, " Couldn't retrieve descriptors");
<br> goto next_device;<br> }<br>+<br>+/* HACK */<br>+desc->wDescriptorLength = 1040;<br><br> /* res = usb_get_descriptor(udev, USB_DT_REPORT, 0, bigbuf, desc->wDescriptorLength); */
<br> res = usb_control_msg(udev, USB_ENDPOINT_IN+1, USB_REQ_GET_DESCRIPTOR,<br></blockquote></div><br>@Peter: I remember you found a solution for that (descLen problem) or did I miss something?<br clear="all">
<br>@Georges: the ifndef issue seems strange. Do you have some more info about it?<br><br>Arnaud<br>-- <br>Linux / Unix Expert - MGE UPS SYSTEMS - R&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>