[Nut-upsuser] Cyber Power USB UPS'.

tubbiolo at math.arizona.edu tubbiolo at math.arizona.edu
Fri Jan 21 18:28:25 UTC 2011


   I'm evaluating two replacements for UPS upgrades to my dept. Because
the CyberPower OP650 has been retired, we are evaluating the
CyberPower600VA and the CyperPower 1000AVRLCD. We will be evaluating

    Initial configuration and communications are established via the
usbhid-ups driver, the gambit of tests are all passed with the
exception of one. I seem to be failing the power race test. As I
understand it the power race test happens when mains is lost, a system
and ups shutdown are commanded (I simulate this via the upsmon -c fsd
command), but the mains come back online before the UPS cycles power.
The result is the server is left in a hang state waiting for the UPS
to cycle power. What should happen is the UPS cycles power to restart
the server via an open loop timer. This is not happening, the UPS does
not re-cycle the power.

So my setup...

Debian Server (Lenny) running a Linux 2.6.26-2-686 SMP kernel.
NUT version 2.2.2-6.5 (Latest Lenny Stable)

UPS's under test Cyber Power 1000AVRLCD, Cyber Power 600VA.

Our /etc/nut/ups.conf entry looks like this (for the 600VA)

       driver = usbhid-ups
       pollfreq = 5
       #desc = "UPS CP600"

The Test:

  First I check to make sure I have communications with the UPS, this is
useless but hey, with a upsc MyUPS at localhost. I get the full telemetry
dump, in this dump I note that my offdelay and ondelay are not being
sent to the UPS. The default values are still there.

  Pull the plug. Within the poll time, I get the system on battery message.

  Execute a usbmon -c fsd, to force the shutdown command.

  After the system has announced it is entering shutdown, I replug in the

  Now the strangeness begins.

  I get a USB disconnect message for the USB subsystem, immediately
followed by a reconnect message with the same USB port  vendor id you
name it.

   The system seems to rerun a portion of the shutdown script after the
USB restarts the USB connection to the UPS. The final messages.

Shutting down the UPS ...:Network UPS Tools - UPS driver controller 2.2.2
Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2)

No matching HID UPS found
Driver failed to start (exit status=1)
 Shutdown failed. Waiting for UPS batteries to run down.
Will now halt.

True to the system messages, the system does indeed wait for a UPS power
cycle that never comes.

As a sanity check I reconfigure and plug in a Cyber Power OP-1250 and run
the same test with no issues.

Any insights?


More information about the Nut-upsuser mailing list