OS: Linux BS801-TEC-02 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6 03:10:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux<div>CentOS release 6.3 (Final)</div><div><br></div><div>Nut version: nut-2.6.5</div><div><br></div><div>NUT installation method: from source tarball </div>
<div>  ./configure --with-user=ups --with-group=nut --with-usb --prefix=/ups --localstatedir=/ups/var --with-pidpath=/ups/var/state/ups --with-statepath=/ups/var/state/ups --enable-static</div><div><br></div><div>UPS : APC BR550GI</div>
<div><br></div><div>Repeatable: always</div><div><br></div><div>Motherboard's BIOS AC back function is configured to Full-on.</div><div><br></div><div>Problem: UPS repeatedly turns on and off. </div><div>Here's what has happen leading to that problem</div>
<div><br></div><div><div>1. NUT issues upsmon -c fsd after onbattwarn timer timeout.</div><div>2. services are turned off including upsd and upsmon.</div><div>3. /etc/init.d/halt issues upsdrvctl shutdown.</div><div>4. but before UPS could totally turn off, the mains power return. this is an unexpected event.</div>
<div>5. after 1 min the ups will turn off its output and display LCD. cutting power on its load</div><div>6. after 5 sec the UPS will turn on and supplies power to the load.</div><div>7. Connected PC with turns on.</div><div>
8. shortly after the POST the UPS will transfer back to battery while the system is still booting.</div><div>9. after 1 min the ups will shutoff its output and display LCD. cutting power on its load.  </div><div>10. after 5 sec the UPS will start again and supplies power to the load.</div>
<div>11. and repeats steps 7 onwards.</div></div><div><br></div><div>Workaround: I modified halt to start the nut driver again(upsdrvctl start) before root partition goes read-only. Once I did that the UPS did not transfer to battery (step 8).</div>
<div><br></div><div>Driver Debug output:  <a href="http://pastebin.com/GgLHq1AM">http://pastebin.com/GgLHq1AM</a></div><div><br></div><div>UPSC:</div><div><div>battery.charge: 100</div><div>battery.charge.low: 89</div><div>
battery.charge.warning: 50</div><div>battery.date: 2001/09/25</div><div>battery.mfr.date: 2010/11/24</div><div>battery.runtime: 51900</div><div>battery.runtime.low: 120</div><div>battery.type: PbAc</div><div>battery.voltage: 14.1</div>
<div>battery.voltage.nominal: 12.0</div><div>device.mfr: American Power Conversion</div><div>device.model: Back-UPS RS 550GI</div><div>device.serial:   </div><div>device.type: ups</div><div><a href="http://driver.name">driver.name</a>: usbhid-ups</div>
<div>driver.parameter.pollfreq: 30</div><div>driver.parameter.pollinterval: 2</div><div>driver.parameter.port: auto</div><div>driver.version: 2.6.5</div><div>driver.version.data: APC HID 0.95</div><div>driver.version.internal: 0.37</div>
<div>input.sensitivity: medium</div><div>input.transfer.high: 282</div><div>input.transfer.low: 176</div><div>input.voltage: 230.0</div><div>input.voltage.nominal: 100</div><div>ups.beeper.status: enabled</div><div>ups.delay.shutdown: 20</div>
<div>ups.firmware: 857.L1 .I</div><div>ups.firmware.aux: L1  </div><div>ups.load: 0</div><div>ups.mfr: American Power Conversion</div><div>ups.mfr.date: 2010/11/24</div><div>ups.model: Back-UPS RS 550GI</div><div>ups.productid: 0002</div>
<div>ups.realpower.nominal: 330</div><div>ups.serial:   </div><div>ups.status: OL</div><div>ups.test.result: No test initiated</div><div>ups.timer.reboot: 0</div><div>ups.timer.shutdown: -1</div><div>ups.vendorid: 051d</div>
</div>