[Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

Arnaud Quette aquette.dev at gmail.com
Fri Oct 10 21:05:02 UTC 2008


2008/10/4 Raphael Geissert <atomo64 at gmail.com>:
> 2008/10/4 Arjen de Korte <nut+devel at de-korte.org>:
>> Citeren Arnaud Quette <aquette.dev at gmail.com>:
>>>
>>> you missed to add an entry in drivers/tripplite-hid.c
>>> ->tripplite_claim() for that ;-)
>>
>> And beware that you need to put it in the correct place as well. Some Tripp
>> Lite HID devices (incorrectly) report battery voltage in decivolts so we
>> need to apply a correction factor here. So there are basically two groups in
>> this function. One that reports battery voltage in decivolts (productid
>> 1003, 2005 and 2007) and one that reports battery voltage in volts
>> (productid 3012, 4002, 4003). Before committing this change, we need to see
>> the output of 'upsc' to know what it reports.
>
> In the attached patch I've added it to the first group, as I'd expect
> it to behave just like 1003 (the avr550u model).

applied to the trunk, thanks.

-- Arnaud



More information about the Nut-upsdev mailing list