On 06/12/2010 01:34 μμ, Arjen de Korte wrote:
Citeren vasos <[email protected]>:i just want to share a quick n dirty patch to support nominal power in APC ups's. I was not sure about the name of the nut key and put it to ups.power.nominalThanks for your patch. The naming scheme of NUT can be found in 'docs/new-names.txt', where you'll find that the correct name for this would be 'ups.power'.Having said that, in case of extensions to usbhid-ups drivers we usually prefer to receive the output of the driver running debug mode (make sure to stop NUT before running the below command as root):/path/to/usbhid-ups -DD -a <upsname> >APC_SmartUPS_RS_550.log 2>&1Let the above run for about 30 seconds and post the (gzip'ed) logfile here. We might be able to extract more useful information from it to even better support your UPS.Best regards, Arjen
here is your debug..By the way the patch for power is INDEED for nominal power (i.e. the power rating) and not the current power. But it is for real power rether than aparent. Thus ups.realpower.nominal is the correct naming. I think that the Config* usbhid paths are nominal values in general.
APC_BackUPS_RS_550.log.gz
Description: GNU Zip compressed data
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
