[Nut-upsuser] Shutdown after 5 minutes?

Peter Selinger selinger at mathstat.dal.ca
Sat Sep 16 14:14:51 UTC 2006


Rob wrote:
> 
> When I run my PC in windows and pull the plug, the UPS does not shutdown 
>   after it's been on battery for more than 5 minutes nor does it 
> shutdown after power is restored, so I do not think there is a problem 
> with the UPS physically (bad UPS, battery, etc).
> 
> However, I did notice that in windows, the default setting for the UPS 
> software was to shutdown 5 minutes after power had been removed.  It's 
> possible that the UPS defaults to shut down after 5 minutes unless the 
> software configures it differently.  That wouldn't explain why it is 
> shutting down after power has been restores though.  I'm not even sure 
> the UPS is even making it that long in Linux but I admit I didn't time 
> it exactly.  It could be exactly 5 minutes.
> 
> It seems more likely that a condition may exist similar to what Peter 
> suggested, which is there is a signal the managing software should send 
> the UPS once power has been restored and/or to configure the settings.

Interesting.
 
> One more difference to note that SHOULDN'T make a difference, but of 
> course could.  The only NUT driver that works with this UPS is the 
> cpsups driver over a serial connection.  The testing I did in windows 
> was done via a USB connection.  The manual/website says that the serial 
> connection is for legacy machines and not all functionality is 
> supported, but I would hardly guess they meant the functionality I am 
> seeing. :)  It is possible, however, that the USB and Serial protocols 
> are different or act differently.  I'll try rebooting into windows when 
> I get the time and run a test with the serial connection. 

You could also try the other way around. There is a USB driver in NUT
(the newhidups driver) that supports Cyberpower. You should use the
latest NUT version from SVN because we made some changes to this
driver recently. -- Peter
 
> While I do 
> that, how would I snoop on the serial line to capture the traffic 
> between my PC and the UPS?
> 
> Rob
> 
> Michelle Dupuis wrote:
> > If the Windows comment is accurate (i.e. does not happen under windows) then
> > disregard this comment.  Otherwise...
> > 
> > We've seen a UPS with a new set of batteries, reporting full charge.  Then
> > when under load (upon power failure) the unit shuts off.  The root cause was
> > one of the 4 batteries in the unit was defective.  Although it showed full
> > voltage, it collapsed under load causing the UPS to turn off immediately.
> > Replacing the battery solved the problem.
> > 
> > MD 
> > 
> > -----Original Message-----
> > From: nut-upsuser-bounces at lists.alioth.debian.org
> > [mailto:nut-upsuser-bounces at lists.alioth.debian.org] On Behalf Of Doug
> > Reynolds
> > Sent: Friday, September 15, 2006 5:27 PM
> > To: Peter Selinger
> > Cc: nut-upsuser at lists.alioth.debian.org
> > Subject: Re: [Nut-upsuser] Shutdown after 5 minutes?
> > 
> > Peter Selinger wrote:
> >> After what's been said here, and the data that Rob sent, it seems that
> >> the UPSs are faulty; I cannot think of any reason why they should yank
> >> the power after 5 minutes, without any warning sign, and with brand
> >> new batteries. Even stranger that it still does this when the power is
> >> interrupted only briefly. It does not appear to be a driver problem,
> >> as the situation still occurs even when no computer is attached at
> >> all.
> >>
> >> On the other hand, did someone say that it does *not* do this under
> >> Windows?  That seems bizarre. Perhaps there is some proactive (and
> >> doubtlessly top-secret) command by which the driver must tell the UPS
> >> not to shut down?
> >>
> >> I would advise to stay away from this brand of UPS.
> > thanks for the warning.. :)
> > 
> > I've been needing to snoop on the com port when the windows program is 
> > running.  It _doesn't_ appear to do it when it is being monitored with 
> > windows.



More information about the Nut-upsuser mailing list