Skip to content

PowerWalker VI 500 R1U miscalculating output voltage after driver update #1512

@Timi7007

Description

@Timi7007

Hello everyone,

I'm running a PowerWalker VI 500 R1U in a network-cabinet. It is connected to a Raspberry Pi running NUT using USB. The Raspian repos are still on 2.7.4, so I compiled 2.8.0 myself tonight in hopes to get more information from my UPS. I do get input frequency now and netdata automatically detects this so I get a nice graph, which was my intention.
I have noticed however that the output voltage is now broken: It displays as 25.2... (I can assure you that it's 230V, otherwise I'd be offline ;).
Investigating this (and celebrating frequency) I found that the installation previously used the CyberPower HID 0.4 subdriver and is now on CyberPower HID 0.6. I'm not sure this is the source of my issue, but it's what I first noticed. I read somewhere that this might be the result of some conversion specifically made for CyberPower devices.

I'd be happy if someone could guide me towards fixing this problem.

Information that might be useful from before the upgrade:

$ lsb_release -irc
Distributor ID:	Raspbian
Release:	11
Codename:	bullseye

$ sudo upsd -V
Network UPS Tools upsd 2.7.4

$ nut-scanner
[nutdev1]
	driver = "usbhid-ups"
	port = "auto"
	vendorid = "0764"
	productid = "0601"
	bus = "001"

$ sudo upsc ups
Init SSL without certificate database
battery.charge: 100
battery.charge.low: 0
battery.charge.warning: 20
battery.mfr.date: 1 
battery.runtime: 1260
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 13.6
battery.voltage.nominal: 12
device.mfr: 1
device.model: 500R
device.serial: 000000000000
device.type: ups
driver.flag.pollonly: enabled
driver.name: usbhid-ups
driver.parameter.bus: 001
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 0601
driver.parameter.synchronous: no
driver.parameter.vendorid: 0764
driver.version: 2.7.4
driver.version.data: CyberPower HID 0.4
driver.version.internal: 0.41
input.transfer.high: 290
input.transfer.low: 165
input.voltage: 231.3
input.voltage.nominal: 0
output.voltage: 230.0
ups.beeper.status: disabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 36
ups.mfr: 1
ups.model: 500R
ups.productid: 0601
ups.realpower.nominal: 300
ups.serial: 000000000000
ups.status: OL
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764

$ sudo /lib/nut/usbhid-ups -DD -a ups
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
   0.000000	debug level is '2'
   0.001608	upsdrv_initups...
   0.118513	Checking device (1D6B/0003) (002/001)
   0.118674	- VendorID: 1d6b
   0.118716	- ProductID: 0003
   0.118752	- Manufacturer: unknown
   0.118788	- Product: unknown
   0.118822	- Serial Number: unknown
   0.118855	- Bus: 002
   0.118888	- Device release number: 0515
   0.118922	Trying to match device
   0.118968	Device does not match - skipping
   0.119034	Checking device (0764/0601) (001/003)
   0.123854	- VendorID: 0764
   0.123920	- ProductID: 0601
   0.123954	- Manufacturer: 1 
   0.123987	- Product: 500R
   0.124020	- Serial Number: 000000000000
   0.124053	- Bus: 001
   0.124086	- Device release number: 0200
   0.124120	Trying to match device
   0.124186	Device matches
   0.126900	HID descriptor length 739
   0.132125	Report Descriptor size = 739
   0.133006	Using subdriver: CyberPower HID 0.4
   0.133060	73 HID objects found
   0.134900	Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 1
   0.135753	Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 2
   0.136623	Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 3
   0.139394	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 4
   0.142133	Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x05, Offset: 0, Size: 8, Value: 1
   0.144856	Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 2
   0.147618	Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x07, Offset: 0, Size: 8, Value: 100
   0.147757	Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x07, Offset: 8, Size: 8, Value: 10
   0.147886	Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, ReportID: 0x07, Offset: 16, Size: 8, Value: 10
   0.148015	Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x07, Offset: 24, Size: 8, Value: 20
   0.148143	Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x07, Offset: 32, Size: 8, Value: 100
   0.148275	Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x07, Offset: 40, Size: 8, Value: 0
   0.150360	Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x08, Offset: 0, Size: 8, Value: 100
   0.150492	Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x08, Offset: 0, Size: 8, Value: 100
   0.150623	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x08, Offset: 8, Size: 16, Value: 1260
   0.150752	Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x08, Offset: 8, Size: 16, Value: 1260
   0.150880	Path: UPS.PowerSummary.RemainingTimeLimit, Type: Input, ReportID: 0x08, Offset: 24, Size: 16, Value: 300
   0.151007	Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, ReportID: 0x08, Offset: 24, Size: 16, Value: 300
   0.153110	Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x09, Offset: 0, Size: 16, Value: 12
   0.155858	Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 16, Value: 13.6
   0.158618	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x0b, Offset: 0, Size: 1, Value: 1
   0.158753	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x0b, Offset: 1, Size: 1, Value: 1
   0.158878	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x0b, Offset: 2, Size: 1, Value: 0
   0.159006	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0b, Offset: 3, Size: 1, Value: 0
   0.159132	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x0b, Offset: 4, Size: 1, Value: 1
   0.159257	Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x0b, Offset: 5, Size: 1, Value: 0
   0.159382	Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 1, Value: 1
   0.159510	Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x0b, Offset: 1, Size: 1, Value: 1
   0.159623	Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x0b, Offset: 2, Size: 1, Value: 0
   0.159699	Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x0b, Offset: 3, Size: 1, Value: 0
   0.159774	Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x0b, Offset: 4, Size: 1, Value: 1
   0.160668	Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x0b, Offset: 5, Size: 1, Value: 0
   0.163349	Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 1
   0.164087	Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 8, Value: 3
   0.164837	Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 16, Value: 0
   0.165588	Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 231.5
   0.166462	Path: UPS.Input.LowVoltageTransfer, Type: Feature, ReportID: 0x10, Offset: 0, Size: 16, Value: 165
   0.167214	Path: UPS.Input.HighVoltageTransfer, Type: Feature, ReportID: 0x11, Offset: 0, Size: 16, Value: 290
   0.167967	Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 16, Value: 50.2
   0.168712	Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: 230
   0.169461	Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 35
   0.170211	Path: UPS.Output.Test, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
   0.170961	Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: -60
   0.171711	Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x16, Offset: 0, Size: 16, Value: -60
   0.172520	Path: UPS.Output.Boost, Type: Feature, ReportID: 0x17, Offset: 0, Size: 1, Value: 0
   0.172599	Path: UPS.Output.Overload, Type: Feature, ReportID: 0x17, Offset: 1, Size: 1, Value: 0
   0.172674	Path: UPS.Output.Buck, Type: Feature, ReportID: 0x17, Offset: 2, Size: 1, Value: 0
   0.175216	Path: UPS.Output.ConfigActivePower, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 300
   0.175963	Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 50.2
   0.176713	Path: UPS.Output.CommunicationLost, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 8, Value: 0
   0.177488	Path: UPS.ff010004.ff010024.ff0100d0, Type: Feature, ReportID: 0x19, Offset: 0, Size: 8, Value: 0.1
   0.178215	Path: UPS.ff010004.ff010024.ff0100d1, Type: Feature, ReportID: 0x1a, Offset: 0, Size: 8, Value: 0
   0.178964	Path: UPS.ff01001d.ff010019.ff010020, Type: Feature, ReportID: 0x25, Offset: 0, Size: 1, Value: 0
   0.179714	Path: UPS.ff01001d.ff010019.ff010021, Type: Feature, ReportID: 0x2c, Offset: 0, Size: 1, Value: 0
   0.179794	Path: UPS.ff01001d.ff010019.ff010021, Type: Input, ReportID: 0x2c, Offset: 0, Size: 1, Value: 0
   0.182468	Path: UPS.ff01001d.ff01001a.ff010001, Type: Feature, ReportID: 0x26, Offset: 0, Size: 1, Value: 0
   0.183214	Path: UPS.ff01001d.ff01001a.ff010002, Type: Feature, ReportID: 0x27, Offset: 0, Size: 8, Value: 1
   0.183960	libusb_get_report: error sending control message: Value too large for defined data type
   0.184038	Can't retrieve Report 28: Value too large for defined data type
   0.184112	Path: UPS.ff01001d.ff01001b.ff010040, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8
   0.184929	libusb_get_report: error sending control message: Value too large for defined data type
   0.185005	Can't retrieve Report 28: Value too large for defined data type
   0.185080	Path: UPS.ff01001d.ff01001b.ff010016, Type: Input, ReportID: 0x28, Offset: 0, Size: 8
   0.186085	libusb_get_report: error sending control message: Value too large for defined data type
   0.186161	Can't retrieve Report 28: Value too large for defined data type
   0.186236	Path: UPS.ff01001d.ff01001b.ff010018, Type: Feature, ReportID: 0x28, Offset: 8, Size: 8
   0.187054	libusb_get_report: error sending control message: Value too large for defined data type
   0.187130	Can't retrieve Report 28: Value too large for defined data type
   0.187205	Path: UPS.ff01001d.ff01001b.ff010018, Type: Input, ReportID: 0x28, Offset: 8, Size: 8
   0.188207	libusb_get_report: error sending control message: Value too large for defined data type
   0.188299	Can't retrieve Report 29: Value too large for defined data type
   0.188378	Path: UPS.ff01001d.ff01001b.ff010015, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8
   0.192550	libusb_get_report: error sending control message: Value too large for defined data type
   0.192594	Can't retrieve Report 29: Value too large for defined data type
   0.192626	Path: UPS.ff01001d.ff01001b.ff010015, Type: Output, ReportID: 0x29, Offset: 0, Size: 8
   0.193319	libusb_get_report: error sending control message: Value too large for defined data type
   0.193350	Can't retrieve Report 29: Value too large for defined data type
   0.193379	Path: UPS.ff01001d.ff01001b.ff010017, Type: Feature, ReportID: 0x29, Offset: 8, Size: 8
   0.194183	libusb_get_report: error sending control message: Value too large for defined data type
   0.194213	Can't retrieve Report 29: Value too large for defined data type
   0.194243	Path: UPS.ff01001d.ff01001b.ff010017, Type: Output, ReportID: 0x29, Offset: 8, Size: 8
   0.195057	libusb_get_report: error sending control message: Value too large for defined data type
   0.195087	Can't retrieve Report 2d: Value too large for defined data type
   0.195115	Path: UPS.ff01001d.ff01001b.ff010010, Type: Feature, ReportID: 0x2d, Offset: 0, Size: 1
   0.196081	libusb_get_report: error sending control message: Value too large for defined data type
   0.196109	Can't retrieve Report 2d: Value too large for defined data type
   0.196138	Path: UPS.ff01001d.ff01001b.ff01001e, Type: Feature, ReportID: 0x2d, Offset: 1, Size: 1
   0.197057	libusb_get_report: error sending control message: Value too large for defined data type
   0.197085	Can't retrieve Report 2d: Value too large for defined data type
   0.197115	Path: UPS.ff01001d.ff01001b.ff01001f, Type: Feature, ReportID: 0x2d, Offset: 2, Size: 1
   0.198210	libusb_get_report: error sending control message: Value too large for defined data type
   0.198251	Can't retrieve Report 2d: Value too large for defined data type
   0.198283	Path: UPS.ff01001d.ff01001b.ff010010, Type: Input, ReportID: 0x2d, Offset: 0, Size: 1
   0.199207	libusb_get_report: error sending control message: Value too large for defined data type
   0.199245	Can't retrieve Report 2d: Value too large for defined data type
   0.199275	Path: UPS.ff01001d.ff01001b.ff01001e, Type: Input, ReportID: 0x2d, Offset: 1, Size: 1
   0.200350	libusb_get_report: error sending control message: Value too large for defined data type
   0.200388	Can't retrieve Report 2d: Value too large for defined data type
   0.200420	Path: UPS.ff01001d.ff01001b.ff01001f, Type: Input, ReportID: 0x2d, Offset: 2, Size: 1
   0.201332	libusb_get_report: error sending control message: Value too large for defined data type
   0.201371	Can't retrieve Report 2a: Value too large for defined data type
   0.201404	Path: UPS.ff01001d.ff01001b.ff010013, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 1
   0.202448	libusb_get_report: error sending control message: Value too large for defined data type
   0.202485	Can't retrieve Report 2b: Value too large for defined data type
   0.202516	Path: UPS.ff01001d.ff01001b.ff010014, Type: Feature, ReportID: 0x2b, Offset: 0, Size: 1
   0.202558	Report descriptor retrieved (Reportlen = 739)
   0.202582	Found HID device
   0.202608	Detected a UPS: 1 /500R
   0.202674	Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 4
   1.227772	libusb_get_string: Connection timed out
   1.227852	Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 3
   2.267769	libusb_get_string: Connection timed out
   2.270223	libusb_get_report: error sending control message: Value too large for defined data type
   2.270256	Can't retrieve Report 07: Value too large for defined data type
   2.271365	libusb_get_report: error sending control message: Value too large for defined data type
   2.271393	Can't retrieve Report 07: Value too large for defined data type
   2.272334	libusb_get_report: error sending control message: Value too large for defined data type
   2.272363	Can't retrieve Report 08: Value too large for defined data type
   2.273110	libusb_get_report: error sending control message: Value too large for defined data type
   2.273138	Can't retrieve Report 08: Value too large for defined data type
   2.274078	libusb_get_report: error sending control message: Value too large for defined data type
   2.274105	Can't retrieve Report 08: Value too large for defined data type
   2.275301	libusb_get_report: error sending control message: Value too large for defined data type
   2.275329	Can't retrieve Report 09: Value too large for defined data type
   2.276204	libusb_get_report: error sending control message: Value too large for defined data type
   2.276231	Can't retrieve Report 0a: Value too large for defined data type
   2.277200	libusb_get_report: error sending control message: Value too large for defined data type
   2.277227	Can't retrieve Report 13: Value too large for defined data type
   2.278240	libusb_get_report: error sending control message: Value too large for defined data type
   2.278279	Can't retrieve Report 0c: Value too large for defined data type
   2.279344	libusb_get_report: error sending control message: Value too large for defined data type
   2.279380	Can't retrieve Report 14: Value too large for defined data type
   2.280339	libusb_get_report: error sending control message: Value too large for defined data type
   2.280373	Can't retrieve Report 18: Value too large for defined data type
   2.281497	libusb_get_report: error sending control message: Value too large for defined data type
   2.281530	Can't retrieve Report 16: Value too large for defined data type
   2.282463	libusb_get_report: error sending control message: Value too large for defined data type
   2.282496	Can't retrieve Report 15: Value too large for defined data type
   2.283469	libusb_get_report: error sending control message: Value too large for defined data type
   2.283504	Can't retrieve Report 0b: Value too large for defined data type
   2.284590	libusb_get_report: error sending control message: Value too large for defined data type
   2.284623	Can't retrieve Report 0b: Value too large for defined data type
   2.285746	libusb_get_report: error sending control message: Value too large for defined data type
   2.285779	Can't retrieve Report 0b: Value too large for defined data type
   2.286721	libusb_get_report: error sending control message: Value too large for defined data type
   2.286755	Can't retrieve Report 0b: Value too large for defined data type
   2.287788	libusb_get_report: error sending control message: Value too large for defined data type
   2.287829	Can't retrieve Report 0b: Value too large for defined data type
   2.288608	libusb_get_report: error sending control message: Value too large for defined data type
   2.288646	Can't retrieve Report 0b: Value too large for defined data type
   2.289729	libusb_get_report: error sending control message: Value too large for defined data type
   2.289767	Can't retrieve Report 17: Value too large for defined data type
   2.290862	libusb_get_report: error sending control message: Value too large for defined data type
   2.290899	Can't retrieve Report 17: Value too large for defined data type
   2.291856	libusb_get_report: error sending control message: Value too large for defined data type
   2.291893	Can't retrieve Report 0e: Value too large for defined data type
   2.292986	libusb_get_report: error sending control message: Value too large for defined data type
   2.293027	Can't retrieve Report 0f: Value too large for defined data type
   2.293968	libusb_get_report: error sending control message: Value too large for defined data type
   2.294003	Can't retrieve Report 10: Value too large for defined data type
   2.295125	libusb_get_report: error sending control message: Value too large for defined data type
   2.295158	Can't retrieve Report 11: Value too large for defined data type
   2.296091	libusb_get_report: error sending control message: Value too large for defined data type
   2.296123	Can't retrieve Report 12: Value too large for defined data type
   2.297089	libusb_get_report: error sending control message: Value too large for defined data type
   2.297121	Can't retrieve Report 14: Value too large for defined data type
   2.298270	libusb_get_report: error sending control message: Value too large for defined data type
   2.298312	Can't retrieve Report 14: Value too large for defined data type
   2.299223	libusb_get_report: error sending control message: Value too large for defined data type
   2.299258	Can't retrieve Report 14: Value too large for defined data type
   2.300222	libusb_get_report: error sending control message: Value too large for defined data type
   2.300257	Can't retrieve Report 15: Value too large for defined data type
   2.301347	libusb_get_report: error sending control message: Value too large for defined data type
   2.301380	Can't retrieve Report 16: Value too large for defined data type
   2.302498	libusb_get_report: error sending control message: Value too large for defined data type
   2.302530	Can't retrieve Report 15: Value too large for defined data type
   2.303467	libusb_get_report: error sending control message: Value too large for defined data type
   2.303500	Can't retrieve Report 0c: Value too large for defined data type
   2.304251	libusb_get_report: error sending control message: Value too large for defined data type
   2.304284	Can't retrieve Report 0c: Value too large for defined data type
   2.305212	libusb_get_report: error sending control message: Value too large for defined data type
   2.305246	Can't retrieve Report 0c: Value too large for defined data type
   2.306217	libusb_get_report: error sending control message: Value too large for defined data type
   2.306248	Can't retrieve Report 0c: Value too large for defined data type
   2.307211	libusb_get_report: error sending control message: Value too large for defined data type
   2.307242	Can't retrieve Report 0c: Value too large for defined data type
   2.307289	upsdrv_initinfo...
   2.307317	upsdrv_updateinfo...
   2.307338	Not using interrupt pipe...
   2.307359	Quick update...
   2.308236	libusb_get_report: error sending control message: Value too large for defined data type
   2.308277	Can't retrieve Report 16: Value too large for defined data type
   2.309346	libusb_get_report: error sending control message: Value too large for defined data type
   2.309380	Can't retrieve Report 15: Value too large for defined data type
   2.310342	libusb_get_report: error sending control message: Value too large for defined data type
   2.310375	Can't retrieve Report 0b: Value too large for defined data type
   2.311499	libusb_get_report: error sending control message: Value too large for defined data type
   2.311532	Can't retrieve Report 0b: Value too large for defined data type
   2.312465	libusb_get_report: error sending control message: Value too large for defined data type
   2.312497	Can't retrieve Report 0b: Value too large for defined data type
   2.313766	libusb_get_report: error sending control message: Value too large for defined data type
   2.313799	Can't retrieve Report 0b: Value too large for defined data type
   2.313875	upsdrv_cleanup...
^C

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0764:0601 Cyber Power System, Inc. PR1500LCDRT2U UPS
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ sudo 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)
load.on - Turn on the load immediately
load.on.delay - Turn on the load with a delay (seconds)
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
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

New version built using:

./configure --includedir=/usr/include --mandir=/usr/share/man \
--infodir=/usr/share/info --sysconfdir=/etc/nut --localstatedir=/var \
--libexecdir=/lib/nut --srcdir=. --enable-maintainer-mode \
--disable-silent-rules --libdir=/usr/lib/`gcc -print-multiarch` \
--with-cgi --enable-static --with-pidpath=/var/run \
--with-altpidpath=/var/run --bindir=/bin --sbindir=/sbin \
--with-drvpath=/lib/nut --with-cgipath=/usr/lib/cgi-bin/nut \
--with-htmlpath=/usr/share/nut/www --datadir=/usr/share/nut \
--with-pkgconfig-dir=/usr/lib/`gcc -print-multiarch`/pkgconfig \
--with-user=nut --with-group=nut --with-udev-dir=/lib/udev \
--with-systemdsystemunitdir=/lib/systemd/system \
--with-usb=libusb-1.0 --with-statepath=/var/run/nut

Information that might be useful from after the upgrade:

$ lsb_release -irc
Distributor ID:	Raspbian
Release:	11
Codename:	bullseye

$ sudo upsd -V
Network UPS Tools upsd 2.8.0

$ sudo nut-scanner
Scanning USB bus.
No start IP, skipping NUT bus (old connect method)
[nutdev1]
	driver = "usbhid-ups"
	port = "auto"
	vendorid = "0764"
	productid = "0601"
	product = "500R"
	serial = "000000000000"
	vendor = "1"
	bus = "001"

$ sudo upsc ups
battery.charge: 100
battery.charge.low: 0
battery.charge.warning: 20
battery.mfr.date: 1 
battery.runtime: 1260
battery.runtime.low: 300
battery.type: PbAcid
battery.voltage: 13.6
battery.voltage.nominal: 12
device.mfr: 1 
device.model: 500R
device.serial: 000000000000
device.type: ups
driver.flag.pollonly: enabled
driver.name: usbhid-ups
driver.parameter.bus: 001
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.product: 500R
driver.parameter.productid: 0601
driver.parameter.serial: 000000000000
driver.parameter.synchronous: auto
driver.parameter.vendor: 1
driver.parameter.vendorid: 0764
driver.version: 2.8.0
driver.version.data: CyberPower HID 0.6
driver.version.internal: 0.47
driver.version.usb: libusb-1.0.24 (API: 0x1000108)
input.frequency: 50.3
input.transfer.high: 290
input.transfer.low: 165
input.voltage: 231.2
input.voltage.nominal: 0
output.frequency: 50.3
output.voltage: 25.2
ups.beeper.status: disabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 35
ups.mfr: 1 
ups.model: 500R
ups.productid: 0601
ups.realpower.nominal: 300
ups.serial: 000000000000
ups.status: OL
ups.timer.shutdown: -60
ups.timer.start: -60
ups.vendorid: 0764

$ sudo /lib/nut/usbhid-ups -DD -a ups
   0.000000	[D1] debug level is '2'
   0.002039	[D2] Initializing an USB-connected UPS with library libusb-1.0.24 (API: 0x1000108) (NUT subdriver name='USB communication driver (libusb 1.0)' ver='0.43')
   0.002119	[D1] upsdrv_initups (non-SHUT)...
   0.023653	[D2] Checking device 1 of 4 (1D6B/0003)
   0.023849	[D1] Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions)
   0.023912	[D2] Checking device 2 of 4 (0764/0601)
   0.035767	[D2] - VendorID: 0764
   0.035998	[D2] - ProductID: 0601
   0.036248	[D2] - Manufacturer: 1 
   0.036553	[D2] - Product: 500R
   0.036802	[D2] - Serial Number: 000000000000
   0.037047	[D2] - Bus: 001
   0.037324	[D2] - Device: unknown
   0.037507	[D2] - Device release number: 0200
   0.037683	[D2] Trying to match device
   0.038141	[D2] match_function_subdriver (non-SHUT mode): matching a device...
   0.039319	[D2] Device matches
   0.040388	[D2] Reading first configuration descriptor
   0.041607	[D2] Claimed interface 0 successfully
   0.044645	[D2] HID descriptor length 739
   0.049963	[D2] Report Descriptor size = 739
   0.050524	HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 65535 in ReportID: 0x0f
   0.050980	HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x12
   0.051420	HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x13
   0.051985	Using subdriver: CyberPower HID 0.6
   0.052389	[D1] 73 HID objects found
   0.054714	[D1] Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 1
   0.057460	[D1] Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x02, Offset: 0, Size: 8, Value: 2
   0.060211	[D1] Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 3
   0.062957	[D1] Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 4
   0.065710	[D1] Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 0x05, Offset: 0, Size: 8, Value: 1
   0.068457	[D1] Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 2
   0.071216	[D1] Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x07, Offset: 0, Size: 8, Value: 100
   0.071678	[D1] Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x07, Offset: 8, Size: 8, Value: 10
   0.072123	[D1] Path: UPS.PowerSummary.CapacityGranularity2, Type: Feature, ReportID: 0x07, Offset: 16, Size: 8, Value: 10
   0.072567	[D1] Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x07, Offset: 24, Size: 8, Value: 20
   0.073007	[D1] Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x07, Offset: 32, Size: 8, Value: 100
   0.073484	[D1] Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x07, Offset: 40, Size: 8, Value: 0
   0.075965	[D1] Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x08, Offset: 0, Size: 8, Value: 100
   0.076577	[D1] Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x08, Offset: 0, Size: 8, Value: 100
   0.077017	[D1] Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x08, Offset: 8, Size: 16, Value: 1260
   0.077465	[D1] Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x08, Offset: 8, Size: 16, Value: 1260
   0.077903	[D1] Path: UPS.PowerSummary.RemainingTimeLimit, Type: Input, ReportID: 0x08, Offset: 24, Size: 16, Value: 300
   0.078342	[D1] Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, ReportID: 0x08, Offset: 24, Size: 16, Value: 300
   0.080714	[D1] Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x09, Offset: 0, Size: 16, Value: 12
   0.083460	[D1] Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 16, Value: 13.6
   0.086213	[D1] Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x0b, Offset: 0, Size: 1, Value: 1
   0.086592	[D1] Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x0b, Offset: 1, Size: 1, Value: 1
   0.086879	[D1] Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x0b, Offset: 2, Size: 1, Value: 0
   0.087165	[D1] Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x0b, Offset: 3, Size: 1, Value: 0
   0.087731	[D1] Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Input, ReportID: 0x0b, Offset: 4, Size: 1, Value: 1
   0.088225	[D1] Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Input, ReportID: 0x0b, Offset: 5, Size: 1, Value: 0
   0.088666	[D1] Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 1, Value: 1
   0.089127	[D1] Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x0b, Offset: 1, Size: 1, Value: 1
   0.089571	[D1] Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x0b, Offset: 2, Size: 1, Value: 0
   0.089975	[D1] Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x0b, Offset: 3, Size: 1, Value: 0
   0.090264	[D1] Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x0b, Offset: 4, Size: 1, Value: 1
   0.090550	[D1] Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x0b, Offset: 5, Size: 1, Value: 0
   0.092964	[D1] Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 1
   0.095715	[D1] Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x0d, Offset: 0, Size: 8, Value: 3
   0.098462	[D1] Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 16, Value: 0
   0.101214	[D1] Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 231.4
   0.103964	[D1] Path: UPS.Input.LowVoltageTransfer, Type: Feature, ReportID: 0x10, Offset: 0, Size: 16, Value: 165
   0.106714	[D1] Path: UPS.Input.HighVoltageTransfer, Type: Feature, ReportID: 0x11, Offset: 0, Size: 16, Value: 290
   0.107463	[D1] Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 16, Value: 50.2
   0.110217	[D1] Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: 25.2
   0.110962	[D1] Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 36
   0.113712	[D1] Path: UPS.Output.Test, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
   0.116496	[D1] Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: -60
   0.119252	[D1] Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x16, Offset: 0, Size: 16, Value: -60
   0.121994	[D1] Path: UPS.Output.Boost, Type: Feature, ReportID: 0x17, Offset: 0, Size: 1, Value: 0
   0.122088	[D1] Path: UPS.Output.Overload, Type: Feature, ReportID: 0x17, Offset: 1, Size: 1, Value: 0
   0.122302	[D1] Path: UPS.Output.Buck, Type: Feature, ReportID: 0x17, Offset: 2, Size: 1, Value: 0
   0.124756	[D1] Path: UPS.Output.ConfigActivePower, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 300
   0.127506	[D1] Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 50.2
   0.130237	[D1] Path: UPS.Output.CommunicationLost, Type: Feature, ReportID: 0x1b, Offset: 0, Size: 8, Value: 0
   0.132972	[D1] Path: UPS.ff010004.ff010024.ff0100d0, Type: Feature, ReportID: 0x19, Offset: 0, Size: 8, Value: 0.1
   0.133717	[D1] Path: UPS.ff010004.ff010024.ff0100d1, Type: Feature, ReportID: 0x1a, Offset: 0, Size: 8, Value: 0
   0.134465	[D1] Path: UPS.ff01001d.ff010019.ff010020, Type: Feature, ReportID: 0x25, Offset: 0, Size: 1, Value: 0
   0.135338	[D1] Path: UPS.ff01001d.ff010019.ff010021, Type: Feature, ReportID: 0x2c, Offset: 0, Size: 1, Value: 0
   0.135418	[D1] Path: UPS.ff01001d.ff010019.ff010021, Type: Input, ReportID: 0x2c, Offset: 0, Size: 1, Value: 0
   0.138090	[D1] Path: UPS.ff01001d.ff01001a.ff010001, Type: Feature, ReportID: 0x26, Offset: 0, Size: 1, Value: 0
   0.138839	[D1] Path: UPS.ff01001d.ff01001a.ff010002, Type: Feature, ReportID: 0x27, Offset: 0, Size: 8, Value: 1
   0.139584	[D2] nut_libusb_get_report: Overflow
   0.139723	[D1] Can't retrieve Report 28: Resource temporarily unavailable
   0.139829	[D1] Path: UPS.ff01001d.ff01001b.ff010040, Type: Feature, ReportID: 0x28, Offset: 0, Size: 8
   0.140682	[D2] nut_libusb_get_report: Overflow
   0.140763	[D1] Can't retrieve Report 28: Resource temporarily unavailable
   0.140965	[D1] Path: UPS.ff01001d.ff01001b.ff010016, Type: Input, ReportID: 0x28, Offset: 0, Size: 8
   0.141827	[D2] nut_libusb_get_report: Overflow
   0.141905	[D1] Can't retrieve Report 28: Resource temporarily unavailable
   0.142026	[D1] Path: UPS.ff01001d.ff01001b.ff010018, Type: Feature, ReportID: 0x28, Offset: 8, Size: 8
   0.142790	[D2] nut_libusb_get_report: Overflow
   0.142905	[D1] Can't retrieve Report 28: Resource temporarily unavailable
   0.142995	[D1] Path: UPS.ff01001d.ff01001b.ff010018, Type: Input, ReportID: 0x28, Offset: 8, Size: 8
   0.143807	[D2] nut_libusb_get_report: Overflow
   0.143835	[D1] Can't retrieve Report 29: Resource temporarily unavailable
   0.143877	[D1] Path: UPS.ff01001d.ff01001b.ff010015, Type: Feature, ReportID: 0x29, Offset: 0, Size: 8
   0.144788	[D2] nut_libusb_get_report: Overflow
   0.144911	[D1] Can't retrieve Report 29: Resource temporarily unavailable
   0.145034	[D1] Path: UPS.ff01001d.ff01001b.ff010015, Type: Output, ReportID: 0x29, Offset: 0, Size: 8
   0.145949	[D2] nut_libusb_get_report: Overflow
   0.146027	[D1] Can't retrieve Report 29: Resource temporarily unavailable
   0.146136	[D1] Path: UPS.ff01001d.ff01001b.ff010017, Type: Feature, ReportID: 0x29, Offset: 8, Size: 8
   0.147028	[D2] nut_libusb_get_report: Overflow
   0.147106	[D1] Can't retrieve Report 29: Resource temporarily unavailable
   0.147208	[D1] Path: UPS.ff01001d.ff01001b.ff010017, Type: Output, ReportID: 0x29, Offset: 8, Size: 8
   0.148056	[D2] nut_libusb_get_report: Overflow
   0.148134	[D1] Can't retrieve Report 2d: Resource temporarily unavailable
   0.148284	[D1] Path: UPS.ff01001d.ff01001b.ff010010, Type: Feature, ReportID: 0x2d, Offset: 0, Size: 1
   0.149132	[D2] nut_libusb_get_report: Overflow
   0.149213	[D1] Can't retrieve Report 2d: Resource temporarily unavailable
   0.149305	[D1] Path: UPS.ff01001d.ff01001b.ff01001e, Type: Feature, ReportID: 0x2d, Offset: 1, Size: 1
   0.150202	[D2] nut_libusb_get_report: Overflow
   0.150283	[D1] Can't retrieve Report 2d: Resource temporarily unavailable
   0.150374	[D1] Path: UPS.ff01001d.ff01001b.ff01001f, Type: Feature, ReportID: 0x2d, Offset: 2, Size: 1
   0.151198	[D2] nut_libusb_get_report: Overflow
   0.151275	[D1] Can't retrieve Report 2d: Resource temporarily unavailable
   0.151379	[D1] Path: UPS.ff01001d.ff01001b.ff010010, Type: Input, ReportID: 0x2d, Offset: 0, Size: 1
   0.152217	[D2] nut_libusb_get_report: Overflow
   0.152293	[D1] Can't retrieve Report 2d: Resource temporarily unavailable
   0.152371	[D1] Path: UPS.ff01001d.ff01001b.ff01001e, Type: Input, ReportID: 0x2d, Offset: 1, Size: 1
   0.153186	[D2] nut_libusb_get_report: Overflow
   0.153263	[D1] Can't retrieve Report 2d: Resource temporarily unavailable
   0.153367	[D1] Path: UPS.ff01001d.ff01001b.ff01001f, Type: Input, ReportID: 0x2d, Offset: 2, Size: 1
   0.154304	[D2] nut_libusb_get_report: Overflow
   0.154384	[D1] Can't retrieve Report 2a: Resource temporarily unavailable
   0.154506	[D1] Path: UPS.ff01001d.ff01001b.ff010013, Type: Feature, ReportID: 0x2a, Offset: 0, Size: 1
   0.155290	[D2] nut_libusb_get_report: Overflow
   0.155414	[D1] Can't retrieve Report 2b: Resource temporarily unavailable
   0.155536	[D1] Path: UPS.ff01001d.ff01001b.ff010014, Type: Feature, ReportID: 0x2b, Offset: 0, Size: 1
   0.155780	[D2] Report descriptor retrieved (Reportlen = 739)
   0.155855	[D2] Found HID device
   0.155959	[D1] Detected a UPS: 1 /500R
   0.156124	[D2] Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x04, Offset: 0, Size: 8, Value: 4
   0.156954	[D2] nut_libusb_get_string: Overflow
   0.157044	[D2] Path: UPS.PowerSummary.iOEMInformation, Type: Feature, ReportID: 0x03, Offset: 0, Size: 8, Value: 3
   0.157914	[D2] nut_libusb_get_string: Overflow
   0.158041	[D2] Path: UPS.PowerSummary.WarningCapacityLimit, Type: Feature, ReportID: 0x07, Offset: 24, Size: 8, Value: 20
   0.158127	[D2] Path: UPS.PowerSummary.RemainingCapacityLimit, Type: Feature, ReportID: 0x07, Offset: 40, Size: 8, Value: 0
   0.158219	[D2] Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x08, Offset: 0, Size: 8, Value: 100
   0.158342	[D2] Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x08, Offset: 8, Size: 16, Value: 1260
   0.158429	[D2] Path: UPS.PowerSummary.RemainingTimeLimit, Type: Feature, ReportID: 0x08, Offset: 24, Size: 16, Value: 300
   0.158489	[D2] Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x09, Offset: 0, Size: 16, Value: 12
   0.158549	[D2] Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 16, Value: 13.6
   0.158638	[D2] Path: UPS.Output.PercentLoad, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 36
   0.158894	[D2] Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 1
   0.159014	[D2] Path: UPS.Output.Test, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
   0.159161	[D2] Path: UPS.Output.ConfigActivePower, Type: Feature, ReportID: 0x18, Offset: 0, Size: 16, Value: 300
   0.159296	[D2] Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x16, Offset: 0, Size: 16, Value: -60
   0.159408	[D2] Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: -60
   0.159641	[D2] Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 1, Value: 1
   0.159751	[D2] Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x0b, Offset: 1, Size: 1, Value: 1
   0.159862	[D2] Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x0b, Offset: 2, Size: 1, Value: 0
   0.159975	[D2] Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x0b, Offset: 3, Size: 1, Value: 0
   0.160084	[D2] Path: UPS.PowerSummary.PresentStatus.FullyCharged, Type: Feature, ReportID: 0x0b, Offset: 4, Size: 1, Value: 1
   0.160210	[D2] Path: UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired, Type: Feature, ReportID: 0x0b, Offset: 5, Size: 1, Value: 0
   0.160316	[D2] Path: UPS.Output.Boost, Type: Feature, ReportID: 0x17, Offset: 0, Size: 1, Value: 0
   0.160427	[D2] Path: UPS.Output.Overload, Type: Feature, ReportID: 0x17, Offset: 1, Size: 1, Value: 0
   0.160540	[D2] Path: UPS.Input.Frequency, Type: Feature, ReportID: 0x1c, Offset: 0, Size: 16, Value: 50.2
   0.160680	[D2] Path: UPS.Input.ConfigVoltage, Type: Feature, ReportID: 0x0e, Offset: 0, Size: 16, Value: 0
   0.160766	[D2] Path: UPS.Input.Voltage, Type: Feature, ReportID: 0x0f, Offset: 0, Size: 16, Value: 231.4
   0.160850	[D2] Path: UPS.Input.LowVoltageTransfer, Type: Feature, ReportID: 0x10, Offset: 0, Size: 16, Value: 165
   0.160936	[D2] Path: UPS.Input.HighVoltageTransfer, Type: Feature, ReportID: 0x11, Offset: 0, Size: 16, Value: 290
   0.161026	[D2] Path: UPS.Output.Frequency, Type: Feature, ReportID: 0x1d, Offset: 0, Size: 16, Value: 50.2
   0.161112	[D2] Path: UPS.Output.Voltage, Type: Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: 25.2
   0.161199	[D2] Path: UPS.Output.Test, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
   0.161279	[D2] Path: UPS.Output.Test, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
   0.161360	[D2] Path: UPS.Output.Test, Type: Feature, ReportID: 0x14, Offset: 0, Size: 8, Value: 0
   0.161443	[D2] Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: -60
   0.161526	[D2] Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x16, Offset: 0, Size: 16, Value: -60
   0.161609	[D2] Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: -60
   0.161697	[D2] Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 1
   0.161781	[D2] Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 1
   0.161861	[D2] Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 1
   0.161941	[D2] Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 1
   0.162023	[D2] Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x0c, Offset: 0, Size: 8, Value: 1
   0.162115	[D1] upsdrv_initinfo...
   0.162197	[D1] upsdrv_updateinfo...
   0.162267	[D1] Not using interrupt pipe...
   0.162339	[D1] Quick update...
   0.162416	[D2] Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x16, Offset: 0, Size: 16, Value: -60
   0.162494	[D2] Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: -60
   0.162570	[D2] Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 1, Value: 1
   0.162643	[D2] Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x0b, Offset: 1, Size: 1, Value: 1
   0.162716	[D2] Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x0b, Offset: 2, Size: 1, Value: 0
   0.162793	[D2] Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x0b, Offset: 3, Size: 1, Value: 0
   0.162959	[D2] dstate_init: sock /var/run/nut/usbhid-ups-ups open on fd 9
   0.163247	[D1] upsdrv_updateinfo...
   0.163312	[D1] Not using interrupt pipe...
   0.163364	[D1] Quick update...
   0.163467	[D2] Path: UPS.Output.DelayBeforeStartup, Type: Feature, ReportID: 0x16, Offset: 0, Size: 16, Value: -60
   0.163675	[D2] Path: UPS.Output.DelayBeforeShutdown, Type: Feature, ReportID: 0x15, Offset: 0, Size: 16, Value: -60
   0.163796	[D2] Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 1, Value: 1
   0.163899	[D2] Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x0b, Offset: 1, Size: 1, Value: 1
   0.164031	[D2] Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x0b, Offset: 2, Size: 1, Value: 0
   0.164137	[D2] Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x0b, Offset: 3, Size: 1, Value: 0
   2.165279	[D1] upsdrv_updateinfo...
   2.165325	[D1] Not using interrupt pipe...
   2.165349	[D1] Quick update...
   2.166085	[D2] nut_libusb_get_report: Overflow
   2.166120	[D1] Can't retrieve Report 16: Resource temporarily unavailable
   2.167206	[D2] nut_libusb_get_report: Overflow
   2.167236	[D1] Can't retrieve Report 15: Resource temporarily unavailable
   2.168191	[D2] nut_libusb_get_report: Overflow
   2.168238	[D1] Can't retrieve Report 0b: Resource temporarily unavailable
   2.169199	[D2] nut_libusb_get_report: Overflow
   2.169229	[D1] Can't retrieve Report 0b: Resource temporarily unavailable
   2.170349	[D2] nut_libusb_get_report: Overflow
   2.170380	[D1] Can't retrieve Report 0b: Resource temporarily unavailable
   2.171665	[D2] nut_libusb_get_report: Overflow
   2.171695	[D1] Can't retrieve Report 0b: Resource temporarily unavailable
   4.167297	[D1] upsdrv_updateinfo...
   4.167343	[D1] Not using interrupt pipe...
   4.167371	[D1] Quick update...
   4.168107	[D2] nut_libusb_get_report: Overflow
   4.168160	[D1] Can't retrieve Report 16: Resource temporarily unavailable
   4.169109	[D2] nut_libusb_get_report: Overflow
   4.169139	[D1] Can't retrieve Report 15: Resource temporarily unavailable
   4.170116	[D2] nut_libusb_get_report: Overflow
   4.170144	[D1] Can't retrieve Report 0b: Resource temporarily unavailable
   4.171104	[D2] nut_libusb_get_report: Overflow
   4.171133	[D1] Can't retrieve Report 0b: Resource temporarily unavailable
   4.172243	[D2] nut_libusb_get_report: Overflow
   4.172273	[D1] Can't retrieve Report 0b: Resource temporarily unavailable
   4.173238	[D2] nut_libusb_get_report: Overflow
   4.173267	[D1] Can't retrieve Report 0b: Resource temporarily unavailable
^C

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0764:0601 Cyber Power System, Inc. PR1500LCDRT2U UPS
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ sudo 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)
load.on - Turn on the load immediately
load.on.delay - Turn on the load with a delay (seconds)
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
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

Again: Thank you for your help (and software)!

Metadata

Metadata

Assignees

No one assigned

    Labels

    CyberPower (CPS)Incorrect or missing readingsOn some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.)PowerWalkerPowerWalker and BlueWalker branded devicesUSBUSB-HID encoding/LogMin/LogMaxIssues and solutions (PRs) specifically about incorrect values in bitstreambugraspberry

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions