[Nut-upsuser] need help for shutdown (windows)

Dennis G omj2kv at otenet.gr
Fri Dec 11 18:52:54 UTC 2015


Hello,

windows10pro version 1511 os build 10586.29
nut 2.6.5-6 windows binary package
device ups: poweron vs 950
when I do testing shutdown it does not shutdown.
Thank's.

driver debug output:
C:\Program Files (x86)\NUT\bin>blazer_usb -DD -a myups
Network UPS Tools - Megatec/Q1 protocol USB driver 0.10 (Windows-v2.6.5-5-7-g72f380c)
   0.000000     debug level is '2'
   0.000000     Checking device (0665/5161) (bus-0/\\.\libusb0-0001--0x0665-0x5161)
   0.000000     - VendorID: 0665
   0.000000     - ProductID: 5161
   0.000000     - Manufacturer: unknown
   0.000000     - Product: USB to Serial
   0.000000     - Serial Number: unknown
   0.015625     - Bus: bus-0
   0.015625     Trying to match device
   0.015625     Device matches
   0.015625     Trying megatec protocol...
   0.156269     blazer_status: short reply
   0.156269     Status read 1 failed
   0.296896     blazer_status: short reply
   0.296896     Status read 2 failed
   0.437523     blazer_status: short reply
   0.437523     Status read 3 failed
   0.437523     Trying mustek protocol...
   0.765652     blazer_status: non numerical value [--.-]
   0.781512     Status read in 1 tries
   0.781512     Supported UPS detected with mustek protocol
   1.000347     Ratings read in 1 tries
   1.141017     blazer_vendor: short reply
   1.141017     Vendor information read 1 failed
   1.281643     blazer_vendor: short reply
   1.281643     Vendor information read 2 failed
   1.422270     blazer_vendor: short reply
   1.422270     Vendor information read 3 failed
   1.437881     Vendor information unavailable
   1.437881     No values provided for battery high/low voltages in ups.conf

   1.453506     Using 'guestimation' (low: 10.400000, high: 13.000000)!
   1.469132     Battery runtime will not be calculated (runtimecal not set)
   1.799942     blazer_status: non numerical value [--.-]
   1.815575     dstate_init: sock \\.\pipe\blazer_usb-myups open on fd 260
   2.143719     blazer_status: non numerical value [--.-]
   4.131095     blazer_status: non numerical value [--.-]
   6.131251     blazer_status: non numerical value [--.-]
^C
C:\Program Files (x86)\NUT\bin>

=================================

config files:

nut.conf
MODE=standalone

ups.conf
[myups]
  driver = blazer_usb
  port = auto

upsd.users
[upsmon]
    password = passwd
    upsmon master

upsmon.conf
MONITOR myups at localhost 1 upsmon passwd master
SHUTDOWNCMD "C:\\WINDOWS\\system32\\shutdown.exe -s -t 0"
POWERDOWNFLAG "C:\\killpower"



More information about the Nut-upsuser mailing list