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

Arjen de Korte nut+devel at de-korte.org
Sat Oct 4 16:08:26 UTC 2008


Citeren Arnaud Quette <aquette.dev at gmail.com>:

>> Attached is a patch adding "support" for tripplite's avr750u UPS.
>> Issues:
>> * productid still needs to be specified in ups.conf
>
> 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.

> and an entry in the hotplug script for the sake of completion.

Don't forget the udev and hal scripts either. We probably need to come  
up with some automation here, so that we have to put this in only one  
place and have these scripts generated automagically.

Best regards, Arjen
-- 
Please keep list traffic on the list



More information about the Nut-upsdev mailing list