[Nut-upsuser] No power cycle after shutdown on Atlantis Land OnePower A03-S1001
clepple at gmail.com
Tue Oct 6 02:35:52 UTC 2015
On Oct 2, 2015, at 9:01 PM, Davide Baldini <baldiniebaldini at gmail.com> wrote:
> When I manually unplug the mains, the computer waits 3 minutes, shutdowns, and there it stays. As per the above commands, issued from ups_events.sh, it is instead supposed to boot up after 6 minutes (360 / 60 seconds) counted from t₀, the moment of the unplug. After 20 seconds from the shutdown, and largely before the 6-minutes scheduled cycle, the UPS LEDs indicate the battery is again fully charged (*). Ever after the shutdown, the UPS appears to never cycle its output, and the computer doesn't restart.
I'm not sure how this changes things, but the blazer driver ignores any parameters for instant commands (other than "test.battery.start"). It gets the "offdelay" and "ondelay" parameters from the command line or ups.conf.
You might consider the "nutdrv_qx" driver instead - it is somewhat more consistent with units for the various timers. I believe you can change the delays at runtime as well, but via upsrw instead of command parameters.
Can you explain your test procedure again, with more details as to when you unplug the power, and when the driver attempts to send the shutdown command? You may be running into this: http://www.networkupstools.org/docs/FAQ.html#_i_8217_m_facing_a_power_race
clepple at gmail
More information about the Nut-upsuser