Layne Fowler
2020-Jan-01 17:39 UTC
[Nut-upsuser] Tripp Lite SMART1500LCD will not stay shut down when power is disconnected
When running 'sudo upsmon -c fsd' UPS turns off then back on after a delay as expected. But when power is disconnected and the command is ran, the UPS turns off but still turns back on again. Changing 'ondelay' to -1 or 0 does not change the behavior. How can I get the UPS load to stay turned off if there is no power? Or am I misunderstanding how to test this functionality? ------------------------------ OS - Raspbian GNU/Linux 10 (buster) Kernel - 4.19.75-v7+ Nut version - 2.7.4-8 Installation method - From package UPS - Tripp Lite SMART1500LCD ------------------------------ # /etc/nut/ups.conf pollinterval = 1 [ups] driver = usbhid-ups port = auto desc = "Tripp Lite SMART1500LCD" vendorid = 09ae productid = 2012 ondelay = -1 ------------------------------ # /etc/udev/rules.d/62-nut-usbups.rules SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end" # TrippLite # e.g. TrippLite SMART1500LCD - usbhid-ups ACTION=="add|change", SUBSYSTEM=="usb|usb_device", SUBSYSTEMS=="usb|usb_device", ATTR{idVendor}=="09ae", ATTR{idProduct}=="2012", MODE="664", GROUP="nut", RUN+="/sbin/upsdrvctl stop; /sbin/upsdrvctl start" LABEL="nut-usbups_rules_end" ------------------------------ pi at rpi:~ $ upsc ups Init SSL without certificate database battery.charge: 100 battery.runtime: 3840 battery.type: PbAC battery.voltage: 27.1 battery.voltage.nominal: 24.0 device.mfr: Tripp Lite device.model: Tripp Lite UPS device.type: ups driver.name: usbhid-ups driver.parameter.offdelay: 30 driver.parameter.ondelay: -1 driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 1 driver.parameter.port: auto driver.parameter.productid: 2012 driver.parameter.synchronous: no driver.parameter.vendorid: 09ae driver.version: 2.7.4 driver.version.data: TrippLite HID 0.82 driver.version.internal: 0.41 input.frequency: 59.8 input.voltage: 112.5 input.voltage.nominal: 120 output.frequency.nominal: 60 output.voltage: 112.4 output.voltage.nominal: 120 ups.beeper.status: enabled ups.delay.shutdown: 30 ups.load: 0 ups.mfr: Tripp Lite ups.model: Tripp Lite UPS ups.power: 0.0 ups.power.nominal: 1500 ups.productid: 2012 ups.status: OL ups.timer.reboot: 65535 ups.timer.shutdown: 65535 ups.vendorid: 09ae ups.watchdog.status: 0 ------------------------------ pi at rpi:~ $ sudo /lib/nut/usbhid-ups -DD -a ups -k Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 0.000000 debug level is '2' 0.002923 upsdrv_initups... 0.005450 Checking device (09AE/2012) (001/008) 0.019895 - VendorID: 09ae 0.021024 - ProductID: 2012 0.022095 - Manufacturer: Tripp Lite 0.023168 - Product: Tripp Lite UPS 0.024250 - Serial Number: unknown 0.025317 - Bus: 001 0.026336 - Device release number: 0009 0.027369 Trying to match device 0.028705 Device matches 0.029857 failed to claim USB device: could not claim interface 0: Device or resource busy 0.032021 detached kernel driver from USB device... 0.034740 HID descriptor length 662 0.126921 Report Descriptor size = 662 0.129599 Using subdriver: TrippLite HID 0.82 0.130871 74 HID objects found 0.133557 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8, Value: 2 0.134289 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8, Value: 3 0.136294 Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b, Offset: 0, Size: 8, Value: 1 0.137040 Path: UPS.PowerSummary.ffff00d9, Type: Feature, ReportID: 0xc0, Offset: 0, Size: 8, Value: 5 0.139052 Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 120 0.141063 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.141916 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 8, Value: 4 0.143923 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33, Offset: 0, Size: 8, Value: 2 0.145915 Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x2c, Offset: 0, Size: 8, Value: 1 0.147923 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35, Offset: 0, Size: 16, Value: 3840 0.148173 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x35, Offset: 0, Size: 16, Value: 3840 0.149052 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x34, Offset: 0, Size: 8, Value: 100 0.149220 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 100 0.151294 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x37, Offset: 0, Size: 8, Value: 100 0.153295 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x36, Offset: 0, Size: 8, Value: 100 0.155302 Path: UPS.PowerSummary.PresentStatus.Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 1125 0.157295 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input, ReportID: 0x32, Offset: 0, Size: 1, Value: 0 0.157466 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 0.157681 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 0.158004 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 0.158537 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input, ReportID: 0x32, Offset: 4, Size: 1, Value: 0 0.158938 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 0.159316 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 0.159654 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.159998 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x32, Offset: 0, Size: 1, Value: 0 0.160316 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 0.160643 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 0.161050 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 0.161590 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x32, Offset: 4, Size: 1, Value: 0 0.162056 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 0.162285 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 0.162686 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size: 1, Value: 0 0.165063 Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, ReportID: 0x04, Offset: 0, Size: 16, Value: 24 0.165929 Path: UPS.BatterySystem.Battery.PresentStatus.Charging, Type: Feature, ReportID: 0x23, Offset: 0, Size: 1, Value: 1 0.166098 Path: UPS.BatterySystem.Battery.PresentStatus.Discharging, Type: Feature, ReportID: 0x23, Offset: 1, Size: 1, Value: 0 0.166336 Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x23, Offset: 2, Size: 1, Value: 0 0.168422 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0 0.170429 Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 120 0.172417 Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 60 0.174421 Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset: 0, Size: 16, Value: 1500 0.176420 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.178432 Path: UPS.OutletSystem.Outlet.ffff00bc, Type: Feature, ReportID: 0xe0, Offset: 0, Size: 16, Value: 0 0.180429 Path: UPS.OutletSystem.Outlet.ffff0091, Type: Feature, ReportID: 0x51, Offset: 0, Size: 8, Value: 0 0.182421 Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0 0.184422 Path: UPS.OutletSystem.Outlet.ffff00c7, Type: Feature, ReportID: 0xb6, Offset: 0, Size: 8, Value: 1 0.186429 Path: UPS.TLCustom.[1].CommunicationProtocolVersion, Type: Feature, ReportID: 0x6c, Offset: 0, Size: 16, Value: 8210 0.188432 Path: UPS.TLCustom.[1].ffff00df, Type: Feature, ReportID: 0x9f, Offset: 0, Size: 32, Value: 3 0.190439 Path: UPS.ffff0015.[1].ffff00c0, Type: Feature, ReportID: 0x96, Offset: 0, Size: 8, Value: 255 0.192393 refresh_report_buffer: expected 5 bytes, but got 2 instead 0.192571 Path: UPS.ffff0015.[1].ffff00d2, Type: Feature, ReportID: 0xb4, Offset: 0, Size: 32, Value: 255 0.194518 refresh_report_buffer: expected 5 bytes, but got 2 instead 0.194696 Path: UPS.ffff0015.[1].ffff00d3, Type: Feature, ReportID: 0xb5, Offset: 0, Size: 32, Value: 255 0.196934 Path: UPS.ffff0015.[1].ffff00c1, Type: Feature, ReportID: 0x97, Offset: 0, Size: 16, Value: 255 0.197763 Path: UPS.ffff0015.[1].ffff00c2, Type: Feature, ReportID: 0x98, Offset: 0, Size: 8, Value: 255 0.199686 Path: UPS.ffff0015.[1].ffff00c3, Type: Feature, ReportID: 0x99, Offset: 0, Size: 16, Value: 255 0.200527 Path: UPS.ffff0015.[1].ffff00c5, Type: Feature, ReportID: 0x9b, Offset: 0, Size: 16, Value: 3 0.202435 Path: UPS.ffff0015.[1].ffff00d6, Type: Feature, ReportID: 0xc2, Offset: 0, Size: 32, Value: 11 0.204391 libusb_get_report: could not claim interface 0: Device or resource busy 0.204547 Can't retrieve Report c1: Device or resource busy 0.204984 Path: UPS.ffff0015.[1].ffff00d8, Type: Feature, ReportID: 0xc1, Offset: 0, Size: 32 0.207063 Path: UPS.ffff0015.[1].ffff00d7, Type: Feature, ReportID: 0xc3, Offset: 0, Size: 32, Value: 1 0.207896 libusb_get_report: could not claim interface 0: Device or resource busy 0.208048 Can't retrieve Report 9a: Device or resource busy 0.208339 Path: UPS.ffff0015.[1].ffff00c4, Type: Feature, ReportID: 0x9a, Offset: 0, Size: 32 0.210434 Path: UPS.ffff0015.[1].CommunicationVersion, Type: Feature, ReportID: 0x59, Offset: 0, Size: 32, Value: 4 0.212429 Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 263 0.214426 Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 112.5 0.216425 Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 59.8 0.218426 Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 112.4 0.220433 Path: UPS.PowerConverter.Output.ActivePower, Type: Feature, ReportID: 0x47, Offset: 0, Size: 16, Value: 0 0.222423 Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type: Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 0 0.222594 Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature, ReportID: 0x22, Offset: 1, Size: 1, Value: 0 0.222833 Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature, ReportID: 0x22, Offset: 2, Size: 1, Value: 0 0.223449 Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature, ReportID: 0x22, Offset: 4, Size: 1, Value: 0 0.223707 Path: UPS.PowerConverter.PresentStatus.Used, Type: Feature, ReportID: 0x22, Offset: 5, Size: 1, Value: 0 0.223927 Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type: Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0 0.224405 Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0 0.224726 Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature, ReportID: 0x22, Offset: 14, Size: 1, Value: 0 0.226683 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 0.227422 Path: UPS.OutletSystem.Outlet.PercentLoad, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 0 0.227656 Report descriptor retrieved (Reportlen = 662) 0.227813 Found HID device 0.227999 Detected a UPS: Tripp Lite /Tripp Lite UPS 0.228695 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x34, Offset: 0, Size: 8, Value: 100 0.229285 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x35, Offset: 0, Size: 16, Value: 3840 0.229798 Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature, ReportID: 0x04, Offset: 0, Size: 16, Value: 24 0.230176 Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID: 0x20, Offset: 0, Size: 16, Value: 263 0.230514 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 8, Value: 4 0.233641 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.233898 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 0.234177 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0 0.234533 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.234899 Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03, Offset: 0, Size: 16, Value: 1500 0.235361 Path: UPS.PowerConverter.Output.ActivePower, Type: Feature, ReportID: 0x47, Offset: 0, Size: 16, Value: 0 0.235781 Path: UPS.OutletSystem.Outlet.PercentLoad, Type: Feature, ReportID: 0x1e, Offset: 0, Size: 8, Value: 0 0.236148 Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0 0.236631 Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Feature, ReportID: 0x32, Offset: 0, Size: 1, Value: 0 0.236905 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x32, Offset: 1, Size: 1, Value: 1 0.237127 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0 0.237528 Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x32, Offset: 6, Size: 1, Value: 1 0.237866 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x32, Offset: 2, Size: 1, Value: 1 0.238339 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x32, Offset: 3, Size: 1, Value: 0 0.238680 Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature, ReportID: 0x32, Offset: 7, Size:1, Value: 0 0.239026 Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature, ReportID: 0x32, Offset: 4, Size:1, Value: 0 0.239555 Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type: Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 0 0.239774 Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature, ReportID: 0x22, Offset: 1, Size: 1, Value: 0 0.240222 Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature, ReportID: 0x22, Offset: 2, Size: 1, Value: 0 0.240606 Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature, ReportID: 0x22, Offset: 4, Size: 1, Value: 0 0.241013 Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type: Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0 0.241395 Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0 0.241731 Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature, ReportID: 0x22, Offset: 14, Size: 1, Value: 0 0.242083 Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID: 0x30, Offset: 0, Size: 8, Value: 120 0.242538 Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 112.5 0.242862 Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID: 0x19, Offset: 0, Size: 16, Value: 59.8 0.243516 Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 120 0.243880 Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 16, Value: 112.4 0.244299 Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 60 0.244685 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0 0.244975 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0 0.245549 Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 0 0.245890 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.246349 Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: 65535 0.246684 Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17, Offset: 0, Size: 16, Value: 65535 0.246864 Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0 0.247177 Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID: 0x52, Offset: 0, Size: 8, Value: 0 0.247607 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.247935 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.248426 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.248761 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.249099 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x11, Offset: 0, Size: 8, Value: 2 0.249790 find_nut_info: unknown info type: load.on.delay 0.249969 find_nut_info: unknown info type: load.on.delay 0.250269 Initiating UPS shutdown 0.250505 upsdrv_shutdown... 0.250795 instcmd(shutdown.return, [NULL]) 0.251176 find_nut_info: unknown info type: shutdown.return 0.251447 instcmd(load.on.delay, [NULL]) 0.251795 find_nut_info: unknown info type: load.on.delay 0.251985 instcmd: info element unavailable load.on.delay 0.252371 instcmd(shutdown.reboot, [NULL]) 0.254665 upsdrv_cleanup... ------------------------------ pi at rpi:~ $ upscmd -l ups Instant commands supported on UPS [ups]: 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) reset.watchdog - Reset watchdog timer shutdown.reboot - Shut down the load briefly while rebooting the UPS shutdown.stop - Stop a shutdown in progress test.battery.start.deep - Start a deep battery test test.battery.start.quick - Start a quick battery test test.battery.stop - Stop the battery test -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200101/defab676/attachment-0001.html>
Ken Olum
2020-Jan-02 16:38 UTC
[Nut-upsuser] Tripp Lite SMART1500LCD will not stay shut down when power is disconnected
Hi, Layne. I had a similar problem with my Tripp-Lite BCPERS450. You can see the previous correspondence by searching for site:alioth-lists.debian.net/pipermail/nut-upsuser BCPERS450 shutdown with Google. In particular, I fixed (well, worked around) the problem, as I wrote in https://alioth-lists.debian.net/pipermail/nut-upsuser/2018-March/011082.html I've been running with this code for nearly 2 years now, and it seems to work. So maybe it could be adopted into the source in some way. Ken
Layne Fowler
2020-Jan-03 21:22 UTC
[Nut-upsuser] Tripp Lite SMART1500LCD will not stay shut down when power is disconnected
I see, so you kept the load.on.delay command but removed the check to see if it was handled. Did you do the same thing for the shutdown.stayoff logic? https://github.com/networkupstools/nut/blob/master/drivers/usbhid-ups.c#L562 This might be a dumb question but did this require you to recompile the kernel? These types of changes are way beyond my depth. Thank you for the direction! On Thu, Jan 2, 2020, 11:38 AM Ken Olum <kdo at cosmos.phy.tufts.edu> wrote:> Hi, Layne. I had a similar problem with my Tripp-Lite BCPERS450. You > can see the previous correspondence by searching for > > site:alioth-lists.debian.net/pipermail/nut-upsuser BCPERS450 shutdown > > with Google. > > In particular, I fixed (well, worked around) the problem, as I wrote in > > https://alioth-lists.debian.net/pipermail/nut-upsuser/2018-March/011082.html > > I've been running with this code for nearly 2 years now, and it seems to > work. So maybe it could be adopted into the source in some way. > > Ken >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200103/b33cb9de/attachment.html>