Ritchie
2010-Nov-07 15:35 UTC
[Nut-upsuser] Support of "shutdown.return" on a APC Back-UPS CS 500
Hi all, I am trying to get a APC Back-UPS CS 500 running on my QNAP 419P Nas. Since on all my work I figure out the following: from Network UPS Tools upscmd 2.4.1 [~] # upscmd -l qnapups Instant commands supported on UPS [qnapups]: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.mute - Temporarily mute the UPS beeper beeper.off - Obsolete (use beeper.disable or beeper.mute) beeper.on - Obsolete (use beeper.enable) load.off - Turn off the load immediately load.off.delay - Turn off the load with a delay (seconds) shutdown.reboot - Shut down the load briefly while rebooting the UPS shutdown.stop - Stop a shutdown in progress test.panel.start - Start testing the UPS panel test.panel.stop - Stop a UPS panel test I am missing the command "shutdown.return' ? Does the ups not support this command ? Thanks for help Ritchie
Arjen de Korte
2010-Nov-07 17:48 UTC
[Nut-upsuser] Support of "shutdown.return" on a APC Back-UPS CS 500
Citeren Ritchie <rotarn op gmx.de>:> I am trying to get a APC Back-UPS CS 500 running on my QNAP 419P Nas.[...]> I am missing the command "shutdown.return' ? > Does the ups not support this command ?It might support it, but not in the USB HID PDC paths that we recognize. If this is supported by this UPS, it is probably in a vendor specific path. Unless someone is able to provide the mapping, we have no idea which one. Search the archives for more information about this issue. It has popped up several times over past few years. Sadly nobody has reported the solution to this and since none of the active NUT developers owns such a device, this likely is going to stay that way. Best regards, Arjen -- Please keep list traffic on the list (off-list replies will be rejected)
Citeren Kevin <bakdong op gmail.com>:>> Sorry about that, the report descriptor is only reported at debug >> level 3 (or higher). So I need the output of the below command >> instead: >> >> /path/to/usbhid-ups -DDD -a apc1500 > APC_Smart-UPS_1000.log 2>&1 >> > Here it is.Much better, thanks! Could you do the same for the CS-500 (time permitting). Best regards, Arjen -- Please keep list traffic on the list (off-list replies will be rejected)
Citeren Kevin <bakdong op gmail.com>:> Ok. Thanks. The order of the code is now: > > { "shutdown.reboot", 0, 0, > "UPS.APCGeneralCollection.APCDelayBeforeReboot", NULL, "1", > HU_TYPE_CMD, NULL }, > { "shutdown.reboot", 0, 0, "UPS.PowerSummary.DelayBeforeReboot", > NULL, "10", HU_TYPE_CMD, NULL }, > { "shutdown.reboot", 0, 0, "UPS.Output.DelayBeforeReboot", NULL, > "10", HU_TYPE_CMD, NULL }, > > and the output of "usbhid-ups -a apc1500 -k -DDD > CS500shutdown.txt > 2>&1" is attached. > > (No visible change)Of course not. When do you start listening to my advice? :-( Best regards, Arjen -- Please keep list traffic on the list (off-list replies will be rejected)