> 

-----------------------------

-----------------------------

________________________________________
> From: nut-upsuser-bounces+fredericbohe=eaton....@lists.alioth.debian.org 
> [nut-upsuser-bounces+fredericbohe=eaton....@lists.alioth.debian.org] on 
> behalf of Kris Jordan [[email protected]]
> Sent: Tuesday, July 24, 2012 10:24 PM
> To: [email protected]
> Subject: Re: [Nut-upsuser] Windows NUT shutdown UPS?
> 
> [email protected] wrote, On 7/24/2012 12:43 AM:
> > Hello Kris,
> >> I was wondering what you guys do about UPS shutdown on Windows systems?
> >> Apcupsd has the same issue, so I'm assuming it is the same with NUT.
> >> Windows just makes it hard/impossible to do.
> > Can you elaborate on which issue you are talking about please ?
> 
> Reading that now, I see I didn't make a whole lot of sense, sorry about
> that.
> 
> On Windows 7 x64 (I haven't tested XP), upsdrvctl shutdown doesn't
> appear to get called during automatic OS shutdown by NUT. I used upsmon
> -c fsd to test. upsdrvctrl shutdown works if I run it manually.

Last time I tested this, upsdrvctl was correclty called at OS shutdown time. 
Maybe a regression or an issue with Win7. I will a have to investigate.

> 
> I could probably configure an instant command to send shutdown.reboot
> just before shutting down the OS. My test UPS only provides 1min
> (non-adjustable) which isn't always enough time for Windows (XP
> especially), so this hack is not ideal.

Anyway it is what upsdrvctl do ! When the NUT Windows service is notified to 
shutdown the OS, it kills all drivers first, then it calls upsdrvctl to send 
the UPS shutdown command to all UPS THEN call the OS shutdown command. As you 
say it is not ideal especially for UPS whose shutdown timer can not be set, but 
for now it is how it works.
If anybody on the list is able to give us a better solution, he is welcome.

Regards,
Fred

> 
> >> Do you find draining the batteries down so much cause issues for
> >> longevity?
> >
> > Sorry I am not an expert of batteries.
> 
> This is directed to anyone on the list who might know. I'm deciding if I
> want to switch to low battery shutdown as NUT seems to prefer that
> method. I've typically just used a 2min timer for desktops. Also, with
> the way NUT works on Windows right now, the UPS will drain itself even
> more because it doesn't shut off.
> 
> Thanks!
> 
> 
> _______________________________________________
> Nut-upsuser mailing list
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to