On Aug 23, 2018, at 10:46 AM, Karol Olszewski <[email protected]> wrote:
> 
> W dniu 23.08.2018 o 02:16, Charles Lepple pisze:
>> 
>> For some reason, this is being hardcoded to 1:
>> 
>> drivers/apc-hid.c-  /* used by APC BackUPS CS */
>> drivers/apc-hid.c:  { "shutdown.return", 0, 0, 
>> "UPS.Output.APCDelayBeforeReboot", NULL, "1", HU_TYPE_CMD, NULL },
>> 
>> Can you rebuild the NUT drivers as described here? 
>> https://github.com/networkupstools/nut/wiki/Building-NUT-on-Debian,-Raspbian-and-Ubuntu
> Ok, this is version from today github sync and compile (Ubuntu 18.04):
> 
> Network UPS Tools - Generic HID driver 0.42 (2.7.4-490-g5dc80953)

Sorry, I didn't mean to imply that the master branch was necessarily going to 
be different, just wanted to make sure you had everything set up to recompile. 
The real test is to see if things change after commenting out that line (such 
as by changing it to start with "//"):

// { "shutdown.return", 0, 0, "UPS.Output.APCDelayBeforeReboot", NULL, "1", 
HU_TYPE_CMD, NULL },

For reference, here's the thread related to adding that mapping: 
https://alioth-lists.debian.net/pipermail/nut-upsuser/2011-January/006550.html



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

Reply via email to