Ken Olum
2017-Dec-18  16:37 UTC
[Nut-upsuser] Tripp-Lite BCPERS450 shutdown/restart problems
I have a Tripp-Lite BCPERS450, connected to a system running Ubuntu
16.04.3 LTS and NUT 2.7.2-4ubuntu1.2.  I had to make my own
/lib/systemd/system-shutdown/nutshutdown, but now everything is working
except for powering on and off the UPS.  Regardless of the settings of
offdelay and ondelay in upsconf, and regardless of whether the AC power
is on, when I say "upsdrvctl shutdown" the UPS turns off the power to
the system instantly and turns it back on in ten seconds.
Any ideas how to get more reasonable behavior, in particular not
turning the system back on until the AC power is restored?
Here is the status reported by upsc:
battery.charge: 100
battery.runtime: 4050
battery.type: PbAC
battery.voltage: 13.4
battery.voltage.nominal: 12.0
device.mfr: Tripp Lite 
device.model: Tripp Lite UPS 
device.type: ups
driver.name: usbhid-ups
driver.parameter.offdelay: 20
driver.parameter.ondelay: -1
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.7.2
driver.version.data: TrippLite HID 0.81
driver.version.internal: 0.38
input.frequency: 60.0
input.voltage: 118.2
input.voltage.nominal: 120
output.frequency.nominal: 60
output.voltage.nominal: 120
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.mfr: Tripp Lite 
ups.model: Tripp Lite UPS 
ups.power.nominal: 450
ups.productid: 2010
ups.status: OL
ups.timer.reboot: 65535
ups.timer.shutdown: 65535
ups.vendorid: 09ae
ups.watchdog.status: 0
I said /lib/nut/usbhid-ups -DD -a bcpers450
and got: 
Network UPS Tools - Generic HID driver 0.38 (2.7.2)
USB communication driver 0.32
   0.000000	debug level is '2'
   0.000808	upsdrv_initups...
   0.017090	Checking device (1D6B/0003) (002/001)
   0.033199	- VendorID: 1d6b
   0.033215	- ProductID: 0003
   0.033217	- Manufacturer: unknown
   0.033220	- Product: unknown
   0.033222	- Serial Number: unknown
   0.033224	- Bus: 002
   0.033227	Trying to match device
   0.033232	Device does not match - skipping
   0.033289	Checking device (09AE/2010) (001/014)
   0.036998	- VendorID: 09ae
   0.037011	- ProductID: 2010
   0.037014	- Manufacturer: Tripp Lite 
   0.037018	- Product: Tripp Lite UPS 
   0.037021	- Serial Number: unknown
   0.037024	- Bus: 001
   0.037027	Trying to match device
   0.037042	Device matches
   0.037886	HID descriptor too short (expected 8, got 0)
   0.037901	HID descriptor length 613
   0.057332	Report Descriptor size = 613
   0.057663	Using subdriver: TrippLite HID 0.81
   0.058304	Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x28,
Offset: 0, Size: 8, Value: 2
   0.059008	Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29,
Offset: 0, Size: 8, Value: 3
   0.059619	Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b,
Offset: 0, Size: 8, Value: 1
   0.060167	Path: UPS.PowerSummary.ffff00d9, Type: Feature, ReportID: 0xc0,
Offset: 0, Size: 8, Value: 5
   0.060709	Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID:
0x30, Offset: 0, Size: 8, Value: 120
   0.061316	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.061905	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID:
0x2a, Offset: 0, Size: 8, Value: 4
   0.062534	Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33,
Offset: 0, Size: 8, Value: 2
   0.063079	Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x2c,
Offset: 0, Size: 8, Value: 1
   0.063619	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35,
Offset: 0, Size: 16, Value: 4050
   0.063658	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID:
0x35, Offset: 0, Size: 16, Value: 4050
   0.064254	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID:
0x34, Offset: 0, Size: 8, Value: 100
   0.064292	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID:
0x34, Offset: 0, Size: 8, Value: 100
   0.064954	Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID:
0x37, Offset: 0, Size: 8, Value: 100
   0.065578	Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID:
0x36, Offset: 0, Size: 8, Value: 100
   0.066133	Path: UPS.PowerSummary.PresentStatus.Voltage, Type: Feature,
ReportID: 0x31, Offset: 0, Size: 16, Value: 1182
   0.066673	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input,
ReportID: 0x32, Offset: 0, Size: 1, Value: 0
   0.066711	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input,
ReportID: 0x32, Offset: 1, Size: 1, Value: 1
   0.066736	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x32, Offset: 2, Size: 1, Value: 1
to   0.066756	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input,
ReportID: 0x32, Offset: 3, Size: 1, Value: 0
   0.066777	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input,
ReportID: 0x32, Offset: 4, Size: 1, Value: 0
   0.066798	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
Type: Input, ReportID: 0x32, Offset: 5, Size: 1, Value: 0
   0.066819	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input,
ReportID: 0x32, Offset: 6, Size: 1, Value: 1
   0.066839	Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input,
ReportID: 0x32, Offset: 7, Size: 1, Value: 0
   0.066863	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type:
Feature, ReportID: 0x32, Offset: 0, Size: 1, Value: 0
   0.066886	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,
ReportID: 0x32, Offset: 1, Size: 1, Value: 1
   0.066908	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,
ReportID: 0x32, Offset: 2, Size: 1, Value: 1
   0.066931	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,
ReportID: 0x32, Offset: 3, Size: 1, Value: 0
   0.066953	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature,
ReportID: 0x32, Offset: 4, Size: 1, Value: 0
   0.066977	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0
   0.067000	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature,
ReportID: 0x32, Offset: 6, Size: 1, Value: 1
   0.067022	Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature,
ReportID: 0x32, Offset: 7, Size: 1, Value: 0
   0.067583	Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature,
ReportID: 0x04, Offset: 0, Size: 16, Value: 12
   0.068064	Path: UPS.BatterySystem.Battery.PresentStatus.Charging, Type:
Feature, ReportID: 0x23, Offset: 0, Size: 1, Value: 1
   0.068087	Path: UPS.BatterySystem.Battery.PresentStatus.Discharging, Type:
Feature, ReportID: 0x23, Offset: 1, Size: 1, Value: 0
   0.068108	Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement, Type:
Feature, ReportID: 0x23, Offset: 2, Size: 1, Value: 0
   0.068625	Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset:
0, Size: 8, Value: 0
   0.069120	Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset:
0, Size: 8, Value: 120
   0.069695	Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02,
Offset: 0, Size: 8, Value: 60
   0.070252	Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03,
Offset: 0, Size: 16, Value: 450
   0.070916	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   0.071567	Path: UPS.OutletSystem.Outlet.ffff00bc, Type: Feature, ReportID:
0xe0, Offset: 0, Size: 16, Value: 0
   0.072081	Path: UPS.OutletSystem.Outlet.ffff0091, Type: Feature, ReportID:
0x51, Offset: 0, Size: 8, Value: 0
   0.072701	Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID:
0x52, Offset: 0, Size: 8, Value: 0
   0.073273	Path: UPS.OutletSystem.Outlet.ffff00c7, Type: Feature, ReportID:
0xb6, Offset: 0, Size: 8, Value: 1
   0.073997	Path: UPS.TLCustom.[1].CommunicationProtocolVersion, Type: Feature,
ReportID: 0x6c, Offset: 0, Size: 16, Value: 8208
   0.074644	Path: UPS.ffff0015.[1].ffff00c0, Type: Feature, ReportID: 0x96,
Offset: 0, Size: 8, Value: 255
   0.075266	refresh_report_buffer: expected 5 bytes, but got 2 instead
   0.075310	Path: UPS.ffff0015.[1].ffff00d2, Type: Feature, ReportID: 0xb4,
Offset: 0, Size: 32, Value: 255
   0.075908	refresh_report_buffer: expected 5 bytes, but got 2 instead
   0.075952	Path: UPS.ffff0015.[1].ffff00d3, Type: Feature, ReportID: 0xb5,
Offset: 0, Size: 32, Value: 255
   0.076633	Path: UPS.ffff0015.[1].ffff00c1, Type: Feature, ReportID: 0x97,
Offset: 0, Size: 16, Value: 255
   0.077150	Path: UPS.ffff0015.[1].ffff00c2, Type: Feature, ReportID: 0x98,
Offset: 0, Size: 8, Value: 255
   0.077710	Path: UPS.ffff0015.[1].ffff00c3, Type: Feature, ReportID: 0x99,
Offset: 0, Size: 16, Value: 255
   0.078289	Path: UPS.ffff0015.[1].ffff00c5, Type: Feature, ReportID: 0x9b,
Offset: 0, Size: 16, Value: 3
   0.079011	Path: UPS.ffff0015.[1].ffff00d6, Type: Feature, ReportID: 0xc2,
Offset: 0, Size: 32, Value: 14
   0.079620	libusb_get_report: error sending control message: Operation not
permitted
   0.079665	Can't retrieve Report c1: Operation not permitted
   0.079687	Path: UPS.ffff0015.[1].ffff00d8, Type: Feature, ReportID: 0xc1,
Offset: 0, Size: 32
   0.080267	Path: UPS.ffff0015.[1].ffff00d7, Type: Feature, ReportID: 0xc3,
Offset: 0, Size: 32, Value: 1
   0.080847	libusb_get_report: error sending control message: Operation not
permitted
   0.080879	Can't retrieve Report 9a: Operation not permitted
   0.080937	Path: UPS.ffff0015.[1].ffff00c4, Type: Feature, ReportID: 0x9a,
Offset: 0, Size: 32
   0.081647	Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID:
0x20, Offset: 0, Size: 16, Value: 134
   0.082228	Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID:
0x18, Offset: 0, Size: 16, Value: 118.2
   0.083058	Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID:
0x19, Offset: 0, Size: 16, Value: 60
   0.083646	Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type:
Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 0
   0.083681	Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature,
ReportID: 0x22, Offset: 1, Size: 1, Value: 0
   0.083704	Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature,
ReportID: 0x22, Offset: 2, Size: 1, Value: 0
   0.083723	Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature,
ReportID: 0x22, Offset: 4, Size: 1, Value: 0
   0.083741	Path: UPS.PowerConverter.PresentStatus.Used, Type: Feature,
ReportID: 0x22, Offset: 5, Size: 1, Value: 0
   0.083758	Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type:
Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0
   0.083777	Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type:
Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0
   0.083799	Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature,
ReportID: 0x22, Offset: 14, Size: 1, Value: 0
   0.084531	Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 65535
   0.084569	Report descriptor retrieved (Reportlen = 613)
   0.084578	Found HID device
   0.084591	Detected a UPS: Tripp Lite /Tripp Lite UPS 
   0.084664	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID:
0x34, Offset: 0, Size: 8, Value: 100
   0.084726	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID:
0x35, Offset: 0, Size: 16, Value: 4050
   0.084748	Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature,
ReportID: 0x04, Offset: 0, Size: 16, Value: 12
   0.084772	Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID:
0x20, Offset: 0, Size: 16, Value: 134
   0.084795	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID:
0x2a, Offset: 0, Size: 8, Value: 4
   0.086130	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   0.086156	Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 65535
   0.086175	Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset:
0, Size: 8, Value: 0
   0.086201	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.086224	Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03,
Offset: 0, Size: 16, Value: 450
   0.086272	Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID:
0x52, Offset: 0, Size: 8, Value: 0
   0.086305	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type:
Feature, ReportID: 0x32, Offset: 0, Size: 1, Value: 0
   0.086325	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,
ReportID: 0x32, Offset: 1, Size: 1, Value: 1
   0.086346	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0
   0.086365	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature,
ReportID: 0x32, Offset: 6, Size: 1, Value: 1
   0.086385	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,
ReportID: 0x32, Offset: 2, Size: 1, Value: 1
   0.086402	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,
ReportID: 0x32, Offset: 3, Size: 1, Value: 0
   0.086420	Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature,
ReportID: 0x32, Offset: 7, Size: 1, Value: 0
   0.086439	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature,
ReportID: 0x32, Offset: 4, Size: 1, Value: 0
   0.086486	Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type:
Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 0
   0.086508	Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature,
ReportID: 0x22, Offset: 1, Size: 1, Value: 0
   0.086527	Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature,
ReportID: 0x22, Offset: 2, Size: 1, Value: 0
   0.086546	Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature,
ReportID: 0x22, Offset: 4, Size: 1, Value: 0
   0.086565	Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type:
Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0
   0.086583	Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type:
Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0
   0.086603	Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature,
ReportID: 0x22, Offset: 14, Size: 1, Value: 0
   0.086622	Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID:
0x30, Offset: 0, Size: 8, Value: 120
   0.086651	Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID:
0x18, Offset: 0, Size: 16, Value: 118.2
   0.086672	Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID:
0x19, Offset: 0, Size: 16, Value: 60
   0.086722	Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset:
0, Size: 8, Value: 120
   0.086756	Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02,
Offset: 0, Size: 8, Value: 60
   0.086781	Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset:
0, Size: 8, Value: 0
   0.086797	Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset:
0, Size: 8, Value: 0
   0.086813	Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset:
0, Size: 8, Value: 0
   0.086834	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   0.086862	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   0.086881	Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 65535
   0.086897	Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID:
0x52, Offset: 0, Size: 8, Value: 0
   0.086912	Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID:
0x52, Offset: 0, Size: 8, Value: 0
   0.086928	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.086944	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.086960	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.086975	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.086990	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.087010	find_nut_info: unknown info type: load.on.delay
   0.087022	find_nut_info: unknown info type: load.on.delay
   0.087041	upsdrv_initinfo...
   0.087055	upsdrv_updateinfo...
   0.338069	libusb_get_interrupt: Connection timed out
   0.338103	Got 0 HID objects...
   0.338178	Quick update...
   0.338215	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   0.338242	Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 65535
   0.338262	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,
ReportID: 0x32, Offset: 1, Size: 1, Value: 1
   0.338277	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0
   0.338303	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature,
ReportID: 0x32, Offset: 6, Size: 1, Value: 1
   0.338337	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,
ReportID: 0x32, Offset: 2, Size: 1, Value: 1
   0.338352	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,
ReportID: 0x32, Offset: 3, Size: 1, Value: 0
   0.338373	Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature,
ReportID: 0x32, Offset: 7, Size: 1, Value: 0
   0.338503	dstate_init: sock /var/run/nut/usbhid-ups-bcpers450 open on fd 5
   0.338534	upsdrv_updateinfo...
   0.343549	Got 1 HID objects...
   0.343585	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35,
Offset: 0, Size: 16, Value: 4050
   0.343603	Quick update...
   0.343628	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   0.343632	Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 65535
   0.343636	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,
ReportID: 0x32, Offset: 1, Size: 1, Value: 1
   0.343639	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0
   0.343642	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature,
ReportID: 0x32, Offset: 6, Size: 1, Value: 1
   0.343645	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,
ReportID: 0x32, Offset: 2, Size: 1, Value: 1
   0.343647	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,
ReportID: 0x32, Offset: 3, Size: 1, Value: 0
   0.343650	Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature,
ReportID: 0x32, Offset: 7, Size: 1, Value: 0
   2.340759	upsdrv_updateinfo...
   2.359621	Got 8 HID objects...
   2.359637	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input,
ReportID: 0x32, Offset: 0, Size: 1, Value: 0
   2.359646	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input,
ReportID: 0x32, Offset: 1, Size: 1, Value: 1
   2.359653	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x32, Offset: 2, Size: 1, Value: 1
   2.359659	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input,
ReportID: 0x32, Offset: 3, Size: 1, Value: 0
   2.359665	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input,
ReportID: 0x32, Offset: 4, Size: 1, Value: 0
   2.359672	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
Type: Input, ReportID: 0x32, Offset: 5, Size: 1, Value: 0
   2.359677	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input,
ReportID: 0x32, Offset: 6, Size: 1, Value: 1
   2.359683	Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input,
ReportID: 0x32, Offset: 7, Size: 1, Value: 0
   2.359690	Quick update...
   2.360150	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   2.360609	Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 65535
   2.360614	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,
ReportID: 0x32, Offset: 1, Size: 1, Value: 1
   2.360617	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0
   2.360620	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature,
ReportID: 0x32, Offset: 6, Size: 1, Value: 1
   2.360623	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,
ReportID: 0x32, Offset: 2, Size: 1, Value: 1
   2.360625	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,
ReportID: 0x32, Offset: 3, Size: 1, Value: 0
   2.360628	Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature,
ReportID: 0x32, Offset: 7, Size: 1, Value: 0
Thanks very much.
                                        Ken
Charles Lepple
2017-Dec-19  00:26 UTC
[Nut-upsuser] Tripp-Lite BCPERS450 shutdown/restart problems
[please use reply-all to post to the list - the mailing list does not add a reply-to header. thanks!] On Dec 18, 2017, at 11:37 AM, Ken Olum wrote:> > I have a Tripp-Lite BCPERS450, connected to a system running Ubuntu > 16.04.3 LTS and NUT 2.7.2-4ubuntu1.2. I had to make my own > /lib/systemd/system-shutdown/nutshutdown, but now everything is working > except for powering on and off the UPS. Regardless of the settings of > offdelay and ondelay in upsconf, and regardless of whether the AC power > is on, when I say "upsdrvctl shutdown" the UPS turns off the power to > the system instantly and turns it back on in ten seconds.Thanks for the specific version info and detailed logs. This may sound like an apples-to-oranges comparison, but we did uncover an issue with CyberPower UPSes where the delay values needed to be greater than or equal to 60 (seconds), since they were being rounded down to integer numbers of minutes internally: https://github.com/networkupstools/nut/issues/432 What was the largest delay you tried?> ups.timer.reboot: 65535 > ups.timer.shutdown: 65535 >I can't test this on either one of my Tripp-Lite units (one is too old, and the other has the ill-fated 3016 protocol USB controller that can't stay on the bus long enough to do anything useful), but I seem to remember that these values should change to e.g. -60 if you set the delay to 60, and then they should begin counting down after the shutdown command is sent. It has been a while since I messed with that code, though. What log messages do you get with "/lib/nut/usbhid-ups -DD -a bcpers450 -k"? (NOTE this will also tell the UPS to shut down immediately - it's the command that upsdrvctl runs, but with more debugging.) For future reference, was this UPS manufactured recently? The NUT source code mentions that the TLCustom prefix is 0xffff0010, but the HID descriptor dump shows a few items under "UPS.ffff0015". Hopefully the delays haven't been moved to those values, since we don't have good information on the corresponding names. Also, it may be worthwhile to reach out to Tripp Lite support. A few years ago, the NUT project got a large spreadsheet of testing results (mostly upsc output, rather than full end-to-end) from connecting many of their their USB UPS models to NUT from one of their sales offices. Interestingly, the following models have the same USB product ID as your UPS, and the Smart1000LCD was on that list: * http://networkupstools.org/ddl/Tripp_Lite/AVR900U.html * http://networkupstools.org/ddl/Tripp_Lite/G1010USB.html * http://networkupstools.org/ddl/Tripp_Lite/SMART1000LCD.html> _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Ken Olum
2017-Dec-20  15:32 UTC
[Nut-upsuser] Tripp-Lite BCPERS450 shutdown/restart problems
Thanks for your help.
   From: Charles Lepple <clepple at gmail.com>
   Date: Mon, 18 Dec 2017 19:26:56 -0500
   This may sound like an apples-to-oranges comparison, but we did uncover an
issue with CyberPower UPSes where the delay values needed to be greater than or
equal to 60 (seconds), since they were being rounded down to integer numbers of
minutes internally:
   What was the largest delay you tried?
I have now tried 200 seconds without any change.  The offdelay setting
does appear in the status as ups.delay.shutdown, but seems to have no effect.
   > ups.timer.reboot: 65535
   > ups.timer.shutdown: 65535
   > 
   I seem to remember that these values should change to e.g. -60 if you
   set the delay to 60, and then they should begin counting down after
   the shutdown command is sent. It has been a while since I messed with
   that code, though.
No matter what settings I use, the UPS seems to turn off the load
immediately in response to the shutdown command.  I have never seen
ups.timer.shutdown change from the value above.  After shutting off the
load, ups.timer.reboot changes to 10, regardless of the setting of
driver.parameter.ondelay.  It then counts down to 0 and turns the load
back on.
   What log messages do you get with "/lib/nut/usbhid-ups -DD -a
   bcpers450 -k"?
See below.
   For future reference, was this UPS manufactured recently? 
I have just purchased it new, so presumably yes.
                                        Ken
----------------------------------------------------------------------
# /lib/nut/usbhid-ups -DD -a bcpers450 -k
Network UPS Tools - Generic HID driver 0.38 (2.7.2)
USB communication driver 0.32
   0.000000	debug level is '2'
   0.000852	upsdrv_initups...
   0.014448	Checking device (1D6B/0003) (002/001)
   0.030206	- VendorID: 1d6b
   0.030219	- ProductID: 0003
   0.030239	- Manufacturer: unknown
   0.030242	- Product: unknown
   0.030246	- Serial Number: unknown
   0.030249	- Bus: 002
   0.030253	Trying to match device
   0.030259	Device does not match - skipping
   0.030304	Checking device (09AE/2010) (001/009)
   0.034107	- VendorID: 09ae
   0.034120	- ProductID: 2010
   0.034122	- Manufacturer: Tripp Lite 
   0.034153	- Product: Tripp Lite UPS 
   0.034156	- Serial Number: unknown
   0.034159	- Bus: 001
   0.034162	Trying to match device
   0.034179	Device matches
   0.034195	failed to claim USB device: could not claim interface 0: Device or
resource busy
   0.034209	detached kernel driver from USB device...
   0.035773	HID descriptor length 613
   0.054980	Report Descriptor size = 613
   0.055190	Using subdriver: TrippLite HID 0.81
   0.055810	Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x28,
Offset: 0, Size: 8, Value: 2
   0.056434	Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x29,
Offset: 0, Size: 8, Value: 3
   0.056913	Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x2b,
Offset: 0, Size: 8, Value: 1
   0.057431	Path: UPS.PowerSummary.ffff00d9, Type: Feature, ReportID: 0xc0,
Offset: 0, Size: 8, Value: 5
   0.057855	Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID:
0x30, Offset: 0, Size: 8, Value: 120
   0.058533	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.059163	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID:
0x2a, Offset: 0, Size: 8, Value: 4
   0.059667	Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x33,
Offset: 0, Size: 8, Value: 2
   0.060193	Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x2c,
Offset: 0, Size: 8, Value: 1
   0.060733	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x35,
Offset: 0, Size: 16, Value: 5740
   0.060755	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID:
0x35, Offset: 0, Size: 16, Value: 5740
   0.061271	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID:
0x34, Offset: 0, Size: 8, Value: 100
   0.061291	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID:
0x34, Offset: 0, Size: 8, Value: 100
   0.061896	Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID:
0x37, Offset: 0, Size: 8, Value: 100
   0.062368	Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID:
0x36, Offset: 0, Size: 8, Value: 100
   0.062904	Path: UPS.PowerSummary.PresentStatus.Voltage, Type: Feature,
ReportID: 0x31, Offset: 0, Size: 16, Value: 0
   0.063470	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type: Input,
ReportID: 0x32, Offset: 0, Size: 1, Value: 0
   0.063512	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input,
ReportID: 0x32, Offset: 1, Size: 1, Value: 0
   0.063539	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input,
ReportID: 0x32, Offset: 2, Size: 1, Value: 0
   0.063558	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input,
ReportID: 0x32, Offset: 3, Size: 1, Value: 1
   0.063577	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Input,
ReportID: 0x32, Offset: 4, Size: 1, Value: 0
   0.063595	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
Type: Input, ReportID: 0x32, Offset: 5, Size: 1, Value: 0
   0.063616	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input,
ReportID: 0x32, Offset: 6, Size: 1, Value: 1
   0.063636	Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Input,
ReportID: 0x32, Offset: 7, Size: 1, Value: 0
   0.063657	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type:
Feature, ReportID: 0x32, Offset: 0, Size: 1, Value: 0
   0.063679	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,
ReportID: 0x32, Offset: 1, Size: 1, Value: 0
   0.063703	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,
ReportID: 0x32, Offset: 2, Size: 1, Value: 0
   0.063727	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,
ReportID: 0x32, Offset: 3, Size: 1, Value: 1
   0.063749	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature,
ReportID: 0x32, Offset: 4, Size: 1, Value: 0
   0.063769	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0
   0.063792	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature,
ReportID: 0x32, Offset: 6, Size: 1, Value: 1
   0.063814	Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature,
ReportID: 0x32, Offset: 7, Size: 1, Value: 0
   0.064263	Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature,
ReportID: 0x04, Offset: 0, Size: 16, Value: 12
   0.064738	Path: UPS.BatterySystem.Battery.PresentStatus.Charging, Type:
Feature, ReportID: 0x23, Offset: 0, Size: 1, Value: 0
   0.064761	Path: UPS.BatterySystem.Battery.PresentStatus.Discharging, Type:
Feature, ReportID: 0x23, Offset: 1, Size: 1, Value: 1
   0.064782	Path: UPS.BatterySystem.Battery.PresentStatus.NeedReplacement, Type:
Feature, ReportID: 0x23, Offset: 2, Size: 1, Value: 0
   0.065251	Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset:
0, Size: 8, Value: 0
   0.065790	Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset:
0, Size: 8, Value: 120
   0.066320	Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02,
Offset: 0, Size: 8, Value: 60
   0.066955	Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03,
Offset: 0, Size: 16, Value: 450
   0.067583	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   0.068231	Path: UPS.OutletSystem.Outlet.ffff00bc, Type: Feature, ReportID:
0xe0, Offset: 0, Size: 16, Value: 0
   0.068757	Path: UPS.OutletSystem.Outlet.ffff0091, Type: Feature, ReportID:
0x51, Offset: 0, Size: 8, Value: 1
   0.069251	Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID:
0x52, Offset: 0, Size: 8, Value: 0
   0.069779	Path: UPS.OutletSystem.Outlet.ffff00c7, Type: Feature, ReportID:
0xb6, Offset: 0, Size: 8, Value: 1
   0.070327	Path: UPS.TLCustom.[1].CommunicationProtocolVersion, Type: Feature,
ReportID: 0x6c, Offset: 0, Size: 16, Value: 8208
   0.070953	Path: UPS.ffff0015.[1].ffff00c0, Type: Feature, ReportID: 0x96,
Offset: 0, Size: 8, Value: 255
   0.071418	refresh_report_buffer: expected 5 bytes, but got 2 instead
   0.071462	Path: UPS.ffff0015.[1].ffff00d2, Type: Feature, ReportID: 0xb4,
Offset: 0, Size: 32, Value: 255
   0.072034	refresh_report_buffer: expected 5 bytes, but got 2 instead
   0.072077	Path: UPS.ffff0015.[1].ffff00d3, Type: Feature, ReportID: 0xb5,
Offset: 0, Size: 32, Value: 255
   0.072671	Path: UPS.ffff0015.[1].ffff00c1, Type: Feature, ReportID: 0x97,
Offset: 0, Size: 16, Value: 255
   0.073152	Path: UPS.ffff0015.[1].ffff00c2, Type: Feature, ReportID: 0x98,
Offset: 0, Size: 8, Value: 255
   0.073668	Path: UPS.ffff0015.[1].ffff00c3, Type: Feature, ReportID: 0x99,
Offset: 0, Size: 16, Value: 255
   0.078695	Path: UPS.ffff0015.[1].ffff00c5, Type: Feature, ReportID: 0x9b,
Offset: 0, Size: 16, Value: 3
   0.079245	Path: UPS.ffff0015.[1].ffff00d6, Type: Feature, ReportID: 0xc2,
Offset: 0, Size: 32, Value: 14
   0.079703	libusb_get_report: could not claim interface 0: Device or resource
busy
   0.079755	Can't retrieve Report c1: Device or resource busy
   0.079781	Path: UPS.ffff0015.[1].ffff00d8, Type: Feature, ReportID: 0xc1,
Offset: 0, Size: 32
   0.080340	Path: UPS.ffff0015.[1].ffff00d7, Type: Feature, ReportID: 0xc3,
Offset: 0, Size: 32, Value: 1
   0.080865	libusb_get_report: could not claim interface 0: Device or resource
busy
   0.080897	Can't retrieve Report 9a: Device or resource busy
   0.080919	Path: UPS.ffff0015.[1].ffff00c4, Type: Feature, ReportID: 0x9a,
Offset: 0, Size: 32
   0.081587	Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID:
0x20, Offset: 0, Size: 16, Value: 124
   0.082168	Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID:
0x18, Offset: 0, Size: 16, Value: 0
   0.082724	Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID:
0x19, Offset: 0, Size: 16, Value: 0
   0.083265	Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type:
Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 1
   0.083304	Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature,
ReportID: 0x22, Offset: 1, Size: 1, Value: 0
   0.083327	Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature,
ReportID: 0x22, Offset: 2, Size: 1, Value: 0
   0.083349	Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature,
ReportID: 0x22, Offset: 4, Size: 1, Value: 0
   0.083368	Path: UPS.PowerConverter.PresentStatus.Used, Type: Feature,
ReportID: 0x22, Offset: 5, Size: 1, Value: 0
   0.083388	Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type:
Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0
   0.083408	Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type:
Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0
   0.083427	Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature,
ReportID: 0x22, Offset: 14, Size: 1, Value: 0
   0.083917	Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 65535
   0.083952	Report descriptor retrieved (Reportlen = 613)
   0.083962	Found HID device
   0.083975	Detected a UPS: Tripp Lite /Tripp Lite UPS 
   0.084049	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID:
0x34, Offset: 0, Size: 8, Value: 100
   0.084108	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID:
0x35, Offset: 0, Size: 16, Value: 5740
   0.084137	Path: UPS.BatterySystem.Battery.ConfigVoltage, Type: Feature,
ReportID: 0x04, Offset: 0, Size: 16, Value: 12
   0.084166	Path: UPS.BatterySystem.Battery.Voltage, Type: Feature, ReportID:
0x20, Offset: 0, Size: 16, Value: 124
   0.084196	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID:
0x2a, Offset: 0, Size: 8, Value: 4
   0.085345	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   0.085377	Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 65535
   0.085404	Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset:
0, Size: 8, Value: 0
   0.085426	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.085453	Path: UPS.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x03,
Offset: 0, Size: 16, Value: 450
   0.085507	Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID:
0x52, Offset: 0, Size: 8, Value: 0
   0.085546	Path: UPS.PowerSummary.PresentStatus.ShutdownImminent, Type:
Feature, ReportID: 0x32, Offset: 0, Size: 1, Value: 0
   0.085573	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature,
ReportID: 0x32, Offset: 1, Size: 1, Value: 0
   0.085598	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit,
Type: Feature, ReportID: 0x32, Offset: 5, Size: 1, Value: 0
   0.085623	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature,
ReportID: 0x32, Offset: 6, Size: 1, Value: 1
   0.085648	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature,
ReportID: 0x32, Offset: 2, Size: 1, Value: 0
   0.085672	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature,
ReportID: 0x32, Offset: 3, Size: 1, Value: 1
   0.085696	Path: UPS.PowerSummary.PresentStatus.FullyDischarged, Type: Feature,
ReportID: 0x32, Offset: 7, Size: 1, Value: 0
   0.085720	Path: UPS.PowerSummary.PresentStatus.NeedReplacement, Type: Feature,
ReportID: 0x32, Offset: 4, Size: 1, Value: 0
   0.085770	Path: UPS.PowerConverter.PresentStatus.VoltageOutOfRange, Type:
Feature, ReportID: 0x22, Offset: 0, Size: 1, Value: 1
   0.085795	Path: UPS.PowerConverter.PresentStatus.Buck, Type: Feature,
ReportID: 0x22, Offset: 1, Size: 1, Value: 0
   0.085819	Path: UPS.PowerConverter.PresentStatus.Boost, Type: Feature,
ReportID: 0x22, Offset: 2, Size: 1, Value: 0
   0.085843	Path: UPS.PowerConverter.PresentStatus.Overload, Type: Feature,
ReportID: 0x22, Offset: 4, Size: 1, Value: 0
   0.085866	Path: UPS.PowerConverter.PresentStatus.OverTemperature, Type:
Feature, ReportID: 0x22, Offset: 6, Size: 1, Value: 0
   0.085890	Path: UPS.PowerConverter.PresentStatus.InternalFailure, Type:
Feature, ReportID: 0x22, Offset: 7, Size: 1, Value: 0
   0.085913	Path: UPS.PowerConverter.PresentStatus.AwaitingPower, Type: Feature,
ReportID: 0x22, Offset: 14, Size: 1, Value: 0
   0.085937	Path: UPS.PowerSummary.Input.ConfigVoltage, Type: Feature, ReportID:
0x30, Offset: 0, Size: 8, Value: 120
   0.085972	Path: UPS.PowerConverter.Input.Voltage, Type: Feature, ReportID:
0x18, Offset: 0, Size: 16, Value: 0
   0.085997	Path: UPS.PowerConverter.Input.Frequency, Type: Feature, ReportID:
0x19, Offset: 0, Size: 16, Value: 0
   0.086053	Path: UPS.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset:
0, Size: 8, Value: 120
   0.086094	Path: UPS.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02,
Offset: 0, Size: 8, Value: 60
   0.090270	Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset:
0, Size: 8, Value: 0
   0.090329	Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset:
0, Size: 8, Value: 0
   0.090349	Path: UPS.BatterySystem.Test, Type: Feature, ReportID: 0x10, Offset:
0, Size: 8, Value: 0
   0.090375	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   0.090407	Path: UPS.OutletSystem.Outlet.DelayBeforeShutdown, Type: Feature,
ReportID: 0x15, Offset: 0, Size: 16, Value: 65535
   0.090426	Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature,
ReportID: 0x17, Offset: 0, Size: 16, Value: 65535
   0.090443	Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID:
0x52, Offset: 0, Size: 8, Value: 0
   0.090458	Path: UPS.OutletSystem.Outlet.TLWatchdog, Type: Feature, ReportID:
0x52, Offset: 0, Size: 8, Value: 0
   0.090477	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.090493	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.090508	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.090523	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.090539	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID:
0x11, Offset: 0, Size: 8, Value: 2
   0.090564	find_nut_info: unknown info type: load.on.delay
   0.090577	find_nut_info: unknown info type: load.on.delay
   0.090585	Initiating UPS shutdown
   0.090593	upsdrv_shutdown...
   0.090601	instcmd(shutdown.return, [NULL])
   0.090614	find_nut_info: unknown info type: shutdown.return
   0.090624	instcmd(load.on.delay, [NULL])
   0.090633	find_nut_info: unknown info type: load.on.delay
   0.090641	instcmd: info element unavailable load.on.delay
   0.090649	instcmd(shutdown.reboot, [NULL])
   0.091107	upsdrv_cleanup...