[Nut-upsuser] Can't get 'load.off' to turn off power to the PC: CyberPower 1200AVR
Mark E. Hansen
meh at Winfirst.Com
Thu Sep 20 20:28:18 UTC 2007
On 09/20/07 12:13, Arjen de Korte wrote:
> Mark E. Hansen wrote:
>
>> Thanks again, Arjen (and others). Once I got home yesterday and tried the
>> "load.off" command using the new (development) version of the package, and
>> it now works!
>
> Uh oh...
Uh oh ;-(
>
>> This is great, because I would not be able to get my machine to reboot without
>> the ability to cut its power.
>
> This is actually not so great, because I really have no clue why this
> didn't work on nut-2.2.0 before. Essentially, the commands that are sent
> to the UPS are identical, which would mean previously they were not
> sent. To rule out other problems and assuming that you've setup
> usbhid-ups, upsd and upsmon, could you run the following command (as root):
>
> upsmon -c fsd
>
> With mains plugged in, this should shutdown your system cleanly, power
> off the UPS and should switch the UPS on automatically again within one
By "Power off the UPS", do you mean kill the power being provided by the
UPS to the PC? The UPS is actually still powered on, right?
> minute. If you do the same with the mains *not* plugged in, it should
> wait until the mains comes back (see also docs/shutdown.txt for a more
> detailed description what should be happening).
I'll run this once I get home and report what happens. The last time I
did run this command, I was still using the 2.2.0 version of NUT. At
that time, it sent the shutdown command to the PC (which shutdown
cleanly) but didn't change the state of the power supplied to the PC.
>
> If you have the time available, it would be extremely helpful if you
> could try this with the following versions from SVN:
By "SVN" do you mean Subversion? I don't have subversion installed,
and so I've been working with NUT sources which I've downloaded.
If so, I'm not opposed to doing this, but I just have a few questions
about getting rolling with subversion (if you don't mind me asking them
here - or perhaps off-line).
Thanks,
>
> nut/tags/v2.2.0 (stable version)
> nut/branches/Testing (which will become stable soon)
> nut/trunk (development version)
>
> This is quite a bit of testing, so of you don't have the time, just say
> so (don't feel bad about it, we understand).
>
> Best regards, Arjen
>
More information about the Nut-upsuser
mailing list