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)

/lib/nut/usbhid-ups -a apc -DDD -k  > Log attachement.


root@vbox1804:/home/karol# upsc apc@localhost | grep driver.param
Init SSL without certificate database
driver.parameter.offdelay: 90
driver.parameter.ondelay: 120
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.synchronous: no


UPS cut off power after 60sec after FSD command from driver, when power
back start after ~2sec.

-- 
Karol Olszewski ipflow.pl

Attachment: APC_log_git.log.gz
Description: application/gzip

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

Reply via email to