[Nut-upsdev] Network UPS Tools version 2.0.4-pre1 released

Arnaud Quette aquette.dev at gmail.com
Mon Jul 10 07:38:07 UTC 2006


2006/7/7, George Ross <gdmr at inf.ed.ac.uk>:
>
> > 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,
>

@Peter: I remember you found a solution for that (descLen problem) or did I
miss something?

@Georges: the ifndef issue seems strange. Do you have some more info about
it?

Arnaud
-- 
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20060710/65ae5132/attachment.htm


More information about the Nut-upsdev mailing list