[Nut-upsdev] Network UPS Tools version 2.0.4-pre1 released
George Ross
gdmr at inf.ed.ac.uk
Fri Jul 7 13:55:32 UTC 2006
> Network UPS Tools version 2.0.4-pre1 has been released.
>
> http://www.networkupstools.org/
A couple more things with newhidups and APC UPSes:
The temperature value has disappeared. It used to read something in
Kelvins; now it's "NA". I'll see if I can get a debug trace, though it may
not be for a while.
I thought I remembered someone saying they were going to change the
descriptor-length code, but I find I still need this hack...
--- drivers/libusb.c.dist 2005-12-22 14:40:27.000000000 +0000
+++ drivers/libusb.c 2006-01-06 12:46:35.000000000 +0000
@@ -226,6 +226,9 @@
TRACE(2, " Couldn't retrieve descriptors");
goto next_device;
}
+
+/* HACK */
+desc->wDescriptorLength = 1040;
/* res = usb_get_descriptor(udev, USB_DT_REPORT, 0, bigbuf, desc->wDescriptorLength); */
res = usb_control_msg(udev, USB_ENDPOINT_IN+1, USB_REQ_GET_DESCRIPTOR,
--
Dr George D M Ross, School of Informatics, University of Edinburgh
Kings Buildings, Mayfield Road, Edinburgh, Scotland, EH9 3JZ
Mail: gdmr at inf.ed.ac.uk Voice: +44 131 650 5147 Fax: +44 131 667 7209
PGP: 1024D/AD758CC5 B91E D430 1E0D 5883 EF6A 426C B676 5C2B AD75 8CC5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 238 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20060707/9f5a7a0f/attachment.pgp
More information about the Nut-upsdev
mailing list