[Nut-upsdev] APC Back-UPS 500
Rob Crittenden
rcrit at greyoak.com
Sun May 7 20:45:12 UTC 2006
Peter Selinger wrote:
> Rob Crittenden wrote:
>
>>>>>>I'm using nut 2.0.2 from Fedora Core 4 and had some trouble getting my
>>>>>>APC Back-UPS 500 working. I ended up having to rebuild the RPM myself
>>>>>>after making some code changes.
>>>
>>>If you still have them, please send these "code changes". -- Peter
>>
>>I just bumped up the wait time.
>>
>>--- nut-2.0.2/server/upsd.h 2005-01-27 09:33:19.000000000 -0500
>>+++ nut-2.0.2-rcrit/server/upsd.h 2005-12-23 22:51:27.000000000 -0500
>>@@ -43,7 +43,7 @@
>> #include "ctype.h"
>> #include "upstype.h"
>>
>>-#define INITIAL_WAIT_MAX 5 /* max 5 seconds for DUMPDONEs to arrive */
>>+#define INITIAL_WAIT_MAX 15 /* max 5 seconds for DUMPDONEs to arrive */
>> #define NUT_NET_ANSWER_MAX SMALLBUF
>>
>> /* prototypes from upsd.c */
>
>
> Does anybody have objections to making this change permanent? It seems
> reasonable for upsd to be a little more patient, if some devices are
> that slow. If this will not break anything, I suggest we change this
> to 15.
>
>
>>Unfortunately that UPS seems kaput. It started oscilating between online
>>and battery every second or so. Talk about creepy.
>
>
> I hope that it was really the UPS, and not the driver, that caused
> this oscillation. I know at least one UPS (a Belkin) that reports
> "online" on its interrupt pipeline, and simultaneously "on battery" on
> its query pipeline, so that the state would seem to oscillate. While
> this is a broken behavior by the UPS, it would be possible for a
> bug-aware driver to compensate for it.
>
> -- Peter
>
Don't worry, it was the UPS, I watched it happen. It did this until it
wore out the charge. I caught the tail end of it I think. Sat down at my
computer and watched in amazement as it went to battery for a few
seconds, then back to online. Rinse and repeat.
My other 2 UPSs, another 500 and a Cyberpower 1250 didn't do this so it
wasn't bad incoming power. The UPS itself is several years old, I think
it just died.
cheers
rob
More information about the Nut-upsdev
mailing list