From fc31cbeb5d2d699e3ef3168bcaa5ad0af4e50c23 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Wed, 30 Aug 2023 19:50:25 +0200 Subject: [PATCH 01/12] Add APC Smart-UPS 3000 [networkupstools/nut-ddl#24] Closes: #24 Signed-off-by: Jim Klimov --- ...C__Smart-UPS_3000__snmp-ups__2.7.4__01.dev | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 APC/APC__Smart-UPS_3000__snmp-ups__2.7.4__01.dev diff --git a/APC/APC__Smart-UPS_3000__snmp-ups__2.7.4__01.dev b/APC/APC__Smart-UPS_3000__snmp-ups__2.7.4__01.dev new file mode 100644 index 0000000..b6dcc6d --- /dev/null +++ b/APC/APC__Smart-UPS_3000__snmp-ups__2.7.4__01.dev @@ -0,0 +1,48 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut-ddl/issues/24 + +ambient.1.humidity.alarm.high: 60.00 +ambient.1.humidity.alarm.low: 30.00 +ambient.1.temperature.alarm.high: 40.00 +ambient.1.temperature.alarm.low: 10.00 +battery.charge: 100.00 +battery.date: 08/08/2015 +battery.runtime: 6900.00 +battery.runtime.low: 120 +battery.voltage: 54.50 +device.mfr: APC +device.model: Smart-UPS 3000 +device.serial: AS1532232414 +device.type: ups +driver.name: snmp-ups +driver.parameter.pollinterval: 2 +driver.parameter.port: ups1.lw +driver.parameter.synchronous: no +driver.version: 2.7.4 +driver.version.data: apcc MIB 1.2 +driver.version.internal: 0.97 +input.frequency: 50.00 +input.sensitivity: high +input.transfer.high: 253 +input.transfer.low: 207 +input.transfer.reason: noTransfer +input.voltage: 228.80 +input.voltage.maximum: 228.80 +input.voltage.minimum: 226.00 +output.current: 0.60 +output.frequency: 50.00 +output.voltage: 228.80 +output.voltage.nominal: 230 +ups.delay.shutdown: 120 +ups.delay.start: 10 +ups.firmware: UPS 09.3 (ID18) +ups.id: APCUPS-1 +ups.load: 5.00 +ups.mfr: APC +ups.mfr.date: 08/08/2015 +ups.model: Smart-UPS 3000 +ups.serial: AS1532232414 +ups.status: OL +ups.temperature: 23.30 +ups.test.date: 03/24/2022 +ups.test.result: InvalidTest + From 722b4fb9c544cb70aa0731633aaa2bbce5626068 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Wed, 30 Aug 2023 20:02:57 +0200 Subject: [PATCH 02/12] Add EVER ECO PRO AVR CDS [networkupstools/nut-ddl#36] Closes: #36 Signed-off-by: Jim Klimov --- ...ECO_PRO_AVR_CDS__usbhid-ups__2.8.0__01.dev | 90 +++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 Ever/EVER__ECO_PRO_AVR_CDS__usbhid-ups__2.8.0__01.dev diff --git a/Ever/EVER__ECO_PRO_AVR_CDS__usbhid-ups__2.8.0__01.dev b/Ever/EVER__ECO_PRO_AVR_CDS__usbhid-ups__2.8.0__01.dev new file mode 100644 index 0000000..9fd91f2 --- /dev/null +++ b/Ever/EVER__ECO_PRO_AVR_CDS__usbhid-ups__2.8.0__01.dev @@ -0,0 +1,90 @@ +# DEVICE:URL:REPORT: https://alioth-lists.debian.net/pipermail/nut-upsuser/2023-August/013396.html + +# DEVICE:COMMENT: +# * Debian bookworm (all updates installed) +# * NUT 2.8.0-7 deb installed from http://deb.debian.org/debian +# * UPS usbhid 2e51:0000 EVER ECO PRO AVR CDS +# * While testing FSD (`sudo upsmon -c fsd`) the UPS is not shutting down. +# All seems to work correctly, just the UPS is not shutting down. +# Detailed report with driver USB dump in the mailing list entry. +# * Ok, I found a problem. It was that I issued `sudo upsmon -c fsd` command +# while UPS was powered (OL). When in battery mode the command works as expected. +# DEVICE:EOC + +battery.capacity: 100 +battery.charge: 100 +battery.runtime: 17911 +battery.runtime.low: 100 +battery.type: 18 +battery.voltage: 26 +device.mfr: EVER +device.model: ECO PRO AVR CDS +device.serial: 800200074230430520353859 +device.type: ups +driver.name: usbhid-ups +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 1 +driver.parameter.port: auto +driver.parameter.synchronous: auto +driver.version: 2.8.0 +driver.version.data: Ever HID 0.1 +driver.version.internal: 0.47 +driver.version.usb: libusb-1.0.26 (API: 0x1000109) +experimental.battery.batteryid: 1 +experimental.battery.chargerid: 1 +experimental.battery.input_flowid: 1 +experimental.battery.input_id: 1 +experimental.battery.output_flowid: 2 +experimental.battery.output_id: 1 +experimental.battery.systemid: 1 +experimental.control.audible_alarm: 1 +experimental.outlet.1.present: yes +experimental.outlet.1.system_id: 1 +experimental.outlet.1.undefined: 0 +experimental.powerconverter.input_flow_id: 1 +experimental.powerconverter.input_id: 1 +experimental.powerconverter.output_flowid: 3 +experimental.powerconverter.output_id: 1 +experimental.powerconverter.powerconverterid: 1 +experimental.powersummary.capacity_granularity_1: 1 +experimental.powersummary.capacity_granularity_2: 1 +experimental.powersummary.capacity_mode: 2 +experimental.powersummary.flow_id: 3 +experimental.powersummary.rechargeable: 1 +experimental.statistics.autonomous_operation_time: 193 +experimental.statistics.discharge_counter: 9 +experimental.statistics.mains_loss_counter: 26 +experimental.statistics.mains_operation_time: 190 +experimental.statistics.overload_counter: 1 +experimental.statistics.overload_operation_time: 0 +experimental.statistics.rising_AVR_trigger_counter: 1 +experimental.statistics.short_circuit_counter: 2 +experimental.status.alarms: +experimental.status.messages: +experimental.status.workmode: ONLINE +experimental.ups.flow_id: 1 +input.frequency: 50 +input.voltage: 222 +outlet.1.id: 1 +outlet.1.switchable: no +output.current: 0 +output.frequency: 50 +output.frequency.nominal: 50 +output.voltage: 230 +output.voltage.nominal: 230 +powerfactor: 0 +ups.delay.shutdown: 20 +ups.load: 0 +ups.mfr: EVER +ups.model: ECO PRO AVR CDS +ups.power: 0 +ups.power.nominal: 1000 +ups.productid: 0000 +ups.realpower: 0 +ups.realpower.nominal: 650 +ups.serial: 800200074230430520353859 +ups.status: OL +ups.timer.shutdown: -1 +ups.vendorid: 2e51 + + From 6c58b43dac8a33afce07b2712ed6edc62dacf06d Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Wed, 30 Aug 2023 20:25:39 +0200 Subject: [PATCH 03/12] Add FSP Fortron UPS Champ 1000VA, 2000VA and 3000VA Towers [networkupstools/nut-ddl#22, networkupstools/nut#1691, networkupstools/nut#1741, networkupstools/nut#1872] Closes: #22 Closes: networkupstools/nut#1691 Closes: networkupstools/nut#1741 Closes: networkupstools/nut#1872 Signed-off-by: Jim Klimov --- ...mp_1000VA_Tower__blazer_usb__2.7.4__01.dev | 125 +++++++++ ...amp_1000VA_Tower__nutdrv_qx__2.7.4__02.dev | 216 ++++++++++++++++ ...amp_1000VA_Tower__nutdrv_qx__2.7.4__03.dev | 159 ++++++++++++ ...amp_1000VA_Tower__nutdrv_qx__2.8.0__01.dev | 177 +++++++++++++ ...mp_2000VA_Tower__blazer_usb__2.7.4__01.dev | 42 +++ ...mp_3000VA_Tower__blazer_usb__2.7.4__01.dev | 240 ++++++++++++++++++ 6 files changed, 959 insertions(+) create mode 100644 FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__blazer_usb__2.7.4__01.dev create mode 100644 FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.7.4__02.dev create mode 100644 FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.7.4__03.dev create mode 100644 FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.8.0__01.dev create mode 100644 FSP/FSP__Fortron_UPS_Champ_2000VA_Tower__blazer_usb__2.7.4__01.dev create mode 100644 FSP/FSP__Fortron_UPS_Champ_3000VA_Tower__blazer_usb__2.7.4__01.dev diff --git a/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__blazer_usb__2.7.4__01.dev b/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__blazer_usb__2.7.4__01.dev new file mode 100644 index 0000000..3f9d040 --- /dev/null +++ b/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__blazer_usb__2.7.4__01.dev @@ -0,0 +1,125 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1691 +# DEVICE:URL:VENDOR: https://energy.fsp-europe.com/product/champ-tower-1k/ + +# DEVICE:COMMENT: +# NOTE: "2000 VA" in reported device name here is presumed from the model code +# `WPHVT2K0`, comparing to `WPHVT1K0` reported explicitly as a "1000 VA" model. +# DEVICE:EOC + +battery.charge: 100 +battery.voltage: 27.24 +battery.voltage.high: 26.00 +battery.voltage.low: 20.80 +battery.voltage.nominal: 24.0 +device.mfr: +device.model: WPHVT1K0 +device.type: ups +driver.name: blazer_usb +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.productid: 5161 +driver.parameter.synchronous: no +driver.parameter.vendorid: 0665 +driver.version: 2.7.4 +driver.version.internal: 0.12 +input.current.nominal: 4.0 +input.frequency: 50.0 +input.frequency.nominal: 50 +input.voltage: 240.6 +input.voltage.fault: 240.5 +input.voltage.nominal: 230 +output.voltage: 0.0 +ups.beeper.status: enabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.firmware: 01060.08 +ups.load: 0 +ups.mfr: +ups.model: WPHVT1K0 +ups.productid: 5161 +ups.status: OL +ups.temperature: 26.1 +ups.type: online +ups.vendorid: 0665 + +# DEVICE:COMMENT-BLOCK:LSUSB: `lsusb -v -d 0665:5161` +# Bus 003 Device 003: ID 0665:5161 Cypress Semiconductor USB to Serial +# Device Descriptor: +# bLength 18 +# bDescriptorType 1 +# bcdUSB 1.10 +# bDeviceClass 0 +# bDeviceSubClass 0 +# bDeviceProtocol 0 +# bMaxPacketSize0 8 +# idVendor 0x0665 Cypress Semiconductor +# idProduct 0x5161 USB to Serial +# bcdDevice 0.02 +# iManufacturer 1 INNO TECH +# iProduct 2 USB to Serial +# iSerial 0 +# bNumConfigurations 1 +# Configuration Descriptor: +# bLength 9 +# bDescriptorType 2 +# wTotalLength 0x0022 +# bNumInterfaces 1 +# bConfigurationValue 1 +# iConfiguration 3 20100813 +# bmAttributes 0x80 +# (Bus Powered) +# MaxPower 100mA +# Interface Descriptor: +# bLength 9 +# bDescriptorType 4 +# bInterfaceNumber 0 +# bAlternateSetting 0 +# bNumEndpoints 1 +# bInterfaceClass 3 Human Interface Device +# bInterfaceSubClass 0 +# bInterfaceProtocol 0 +# iInterface 4 Sample HID +# HID Device Descriptor: +# bLength 9 +# bDescriptorType 33 +# bcdHID 1.00 +# bCountryCode 0 Not supported +# bNumDescriptors 1 +# bDescriptorType 34 Report +# wDescriptorLength 27 +# Report Descriptors: +# ** UNAVAILABLE ** +# Endpoint Descriptor: +# bLength 7 +# bDescriptorType 5 +# bEndpointAddress 0x81 EP 1 IN +# bmAttributes 3 +# Transfer Type Interrupt +# Synch Type None +# Usage Type Data +# wMaxPacketSize 0x0008 1x 8 bytes +# bInterval 1 +# can't get debug descriptor: Resource temporarily unavailable +# Device Status: 0x0000 +# (Bus Powered) +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:FIXME:UPSRW: +# :; upsrw fsp@127.0.0.1 +# returns no output +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:FIXME:UPSCMD: fsp +# Instant commands supported on UPS [fsp]: +# +# beeper.toggle - Toggle the UPS beeper +# load.off - Turn off the load immediately +# load.on - Turn on the load immediately +# 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 - Start a battery test +# 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 +# DEVICE:EOC diff --git a/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.7.4__02.dev b/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.7.4__02.dev new file mode 100644 index 0000000..9e2ce3b --- /dev/null +++ b/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.7.4__02.dev @@ -0,0 +1,216 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1872 + +# DEVICE:COMMENT-BLOCK:UPSCONF: +# [Champ1KVA] +# driver = "nutdrv_qx" +# port = "auto" +# vendorid = "0665" +# productid = "5161" +# product = "USB to Serial" +# vendor = "INNO TECH" +# bus = "005" +# DEVICE:EOC + +# upsc output: +battery.charge: 100 +battery.energysave: no +battery.packs: 1 +battery.protection: yes +battery.runtime: 22440 +battery.voltage: 27.20 +battery.voltage.nominal: 24.0 +device.model: WPHVT1K0 +device.type: ups +driver.name: nutdrv_qx +driver.parameter.bus: 005 +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.product: USB to Serial +driver.parameter.productid: 5161 +driver.parameter.synchronous: no +driver.parameter.vendor: INNO TECH +driver.parameter.vendorid: 0665 +driver.version: 2.7.4 +driver.version.data: Voltronic 0.06 +driver.version.internal: 0.28 +input.current.nominal: 4.0 +input.frequency: 49.9 +input.frequency.high: 53.0 +input.frequency.low: 47.0 +input.frequency.nominal: 50.0 +input.phases: 1 +input.transfer.high: 232 +input.transfer.high.max: 244 +input.transfer.high.min: 227 +input.transfer.low: 208 +input.transfer.low.max: 213 +input.transfer.low.min: 196 +input.voltage: 227.0 +input.voltage.nominal: 220.0 +output.current: 0.0 +output.current.nominal: 4 +output.frequency: 49.9 +output.frequency.nominal: 50.0 +output.phases: 1 +output.power.maximum.percent: 0 +output.power.minimum.percent: 0 +output.powerfactor: 0.9 +output.voltage: 219.7 +output.voltage.nominal: 220.0 +ups.beeper.status: disabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.firmware: 01060.07 +ups.firmware.aux: P01 +ups.load: 0 +ups.power.nominal: 1000 +ups.productid: 5161 +ups.start.auto: yes +ups.start.battery: yes +ups.status: OL +ups.temperature: 28.7 +ups.type: online +ups.vendorid: 0665 + +# DEVICE:COMMENT-BLOCK:FIXME:UPSRW: Champ1KVA +# [battery.energysave] +# Switch off when running on battery and no/low load +# Type: ENUM +# Option: "no" SELECTED +# Option: "yes" + +# [battery.packs] +# Number of battery packs +# Type: RANGE +# Option: "1-99" SELECTED + +# [battery.protection] +# Prevent deep discharge of battery +# Type: ENUM +# Option: "no" +# Option: "yes" SELECTED + +# [input.frequency.high] +# Maximum input line frequency (Hz) +# Type: RANGE +# Option: "53-60" SELECTED + +# [input.frequency.low] +# Minimum input line frequency (Hz) +# Type: RANGE +# Option: "40-47" SELECTED + +# [input.transfer.high] +# High voltage transfer point (V) +# Type: RANGE +# Option: "227-244" SELECTED + +# [input.transfer.low] +# Low voltage transfer point (V) +# Type: RANGE +# Option: "196-213" SELECTED + +# [ups.delay.shutdown] +# Interval to wait after shutdown with delay command (seconds) +# Type: RANGE +# Option: "12-5940" SELECTED + +# [ups.delay.start] +# Interval to wait before (re)starting the load (seconds) +# Type: RANGE +# Option: "0-599940" SELECTED + +# [ups.start.auto] +# UPS starts when mains is (re)applied +# Type: ENUM +# Option: "no" +# Option: "yes" SELECTED + +# [ups.start.battery] +# Allow to start UPS from battery +# Type: ENUM +# Option: "no" +# Option: "yes" SELECTED +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:FIXME:UPSCMD: Champ1KVA +# Instant commands supported on UPS [Champ1KVA]: +# +# beeper.disable - Disable the UPS beeper +# beeper.enable - Enable the UPS beeper +# beeper.toggle - Toggle the UPS beeper +# bypass.start - Put the UPS in bypass mode +# bypass.stop - Take the UPS out of bypass mode +# load.off - Turn off the load immediately +# load.on - Turn on the load immediately +# 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 - Start a battery test +# 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 +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:LSUSB: `lsusb -v -d 0665:5161` +# Bus 005 Device 002: ID 0665:5161 Cypress Semiconductor USB to Serial +# Device Descriptor: +# bLength 18 +# bDescriptorType 1 +# bcdUSB 1.10 +# bDeviceClass 0 +# bDeviceSubClass 0 +# bDeviceProtocol 0 +# bMaxPacketSize0 8 +# idVendor 0x0665 Cypress Semiconductor +# idProduct 0x5161 USB to Serial +# bcdDevice 0.02 +# iManufacturer 1 INNO TECH +# iProduct 2 USB to Serial +# iSerial 0 +# bNumConfigurations 1 +# Configuration Descriptor: +# bLength 9 +# bDescriptorType 2 +# wTotalLength 0x0022 +# bNumInterfaces 1 +# bConfigurationValue 1 +# iConfiguration 3 20100813 +# bmAttributes 0x80 +# (Bus Powered) +# MaxPower 100mA +# Interface Descriptor: +# bLength 9 +# bDescriptorType 4 +# bInterfaceNumber 0 +# bAlternateSetting 0 +# bNumEndpoints 1 +# bInterfaceClass 3 Human Interface Device +# bInterfaceSubClass 0 +# bInterfaceProtocol 0 +# iInterface 4 Sample HID +# HID Device Descriptor: +# bLength 9 +# bDescriptorType 33 +# bcdHID 1.00 +# bCountryCode 0 Not supported +# bNumDescriptors 1 +# bDescriptorType 34 Report +# wDescriptorLength 27 +# Report Descriptors: +# ** UNAVAILABLE ** +# Endpoint Descriptor: +# bLength 7 +# bDescriptorType 5 +# bEndpointAddress 0x81 EP 1 IN +# bmAttributes 3 +# Transfer Type Interrupt +# Synch Type None +# Usage Type Data +# wMaxPacketSize 0x0008 1x 8 bytes +# bInterval 1 +# can't get debug descriptor: Resource temporarily unavailable +# Device Status: 0x0000 +# (Bus Powered) +# DEVICE:EOC diff --git a/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.7.4__03.dev b/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.7.4__03.dev new file mode 100644 index 0000000..fa0ed33 --- /dev/null +++ b/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.7.4__03.dev @@ -0,0 +1,159 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1872 +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/files/10977783/__WPHVT1K0__nutdrv_qx__2.7.4__01.dev.gz + +# DEVICE:COMMENT: +# Device dump generated by ./nut-ddl-dump.sh on Wed, 15 Mar 2023 11:54:47 +0300 +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:UPSCONF: +# [Champ1KVA] +# driver = "nutdrv_qx" +# port = "auto" +# vendorid = "0665" +# productid = "5161" +# product = "USB to Serial" +# vendor = "INNO TECH" +# bus = "005" +# DEVICE:EOC + +# upsc output: +battery.charge: 100 +battery.energysave: no +battery.packs: 1 +battery.protection: yes +battery.runtime: 22440 +battery.voltage: 27.20 +battery.voltage.nominal: 24.0 +device.model: WPHVT1K0 +device.type: ups +driver.name: nutdrv_qx +driver.parameter.bus: 005 +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.product: USB to Serial +driver.parameter.productid: 5161 +driver.parameter.synchronous: no +driver.parameter.vendor: INNO TECH +driver.parameter.vendorid: 0665 +driver.version: 2.7.4 +driver.version.data: Voltronic 0.06 +driver.version.internal: 0.28 +input.current.nominal: 4.0 +input.frequency: 50.1 +input.frequency.high: 53.0 +input.frequency.low: 47.0 +input.frequency.nominal: 50.0 +input.phases: 1 +input.transfer.high: 232 +input.transfer.high.max: 244 +input.transfer.high.min: 227 +input.transfer.low: 208 +input.transfer.low.max: 213 +input.transfer.low.min: 196 +input.voltage: 228.3 +input.voltage.nominal: 220.0 +output.current: 0.0 +output.current.nominal: 4 +output.frequency: 50.1 +output.frequency.nominal: 50.0 +output.phases: 1 +output.power.maximum.percent: 0 +output.power.minimum.percent: 0 +output.powerfactor: 0.9 +output.voltage: 220.1 +output.voltage.nominal: 220.0 +ups.beeper.status: disabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.firmware: 01060.07 +ups.firmware.aux: P01 +ups.load: 0 +ups.power.nominal: 1000 +ups.productid: 5161 +ups.start.auto: yes +ups.start.battery: yes +ups.status: OL +ups.temperature: 28.9 +ups.type: online +ups.vendorid: 0665 + +# DEVICE:COMMENT-BLOCK:FIXME:UPSRW: +# [battery.energysave] +# Switch off when running on battery and no/low load +# Type: ENUM +# Option: "no" SELECTED +# Option: "yes" +# +# [battery.packs] +# Number of battery packs +# Type: RANGE +# Option: "1-99" SELECTED +# +# [battery.protection] +# Prevent deep discharge of battery +# Type: ENUM +# Option: "no" +# Option: "yes" SELECTED +# +# [input.frequency.high] +# Maximum input line frequency (Hz) +# Type: RANGE +# Option: "53-60" SELECTED +# +# [input.frequency.low] +# Minimum input line frequency (Hz) +# Type: RANGE +# Option: "40-47" SELECTED +# +# [input.transfer.high] +# High voltage transfer point (V) +# Type: RANGE +# Option: "227-244" SELECTED +# +# [input.transfer.low] +# Low voltage transfer point (V) +# Type: RANGE +# Option: "196-213" SELECTED +# +# [ups.delay.shutdown] +# Interval to wait after shutdown with delay command (seconds) +# Type: RANGE +# Option: "12-5940" SELECTED +# +# [ups.delay.start] +# Interval to wait before (re)starting the load (seconds) +# Type: RANGE +# Option: "0-599940" SELECTED +# +# [ups.start.auto] +# UPS starts when mains is (re)applied +# Type: ENUM +# Option: "no" +# Option: "yes" SELECTED +# +# [ups.start.battery] +# Allow to start UPS from battery +# Type: ENUM +# Option: "no" +# Option: "yes" SELECTED +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:FIXME:UPSCMD: Champ1KVA +# Instant commands supported on UPS [Champ1KVA]: +# +# beeper.disable - Disable the UPS beeper +# beeper.enable - Enable the UPS beeper +# beeper.toggle - Toggle the UPS beeper +# bypass.start - Put the UPS in bypass mode +# bypass.stop - Take the UPS out of bypass mode +# load.off - Turn off the load immediately +# load.on - Turn on the load immediately +# 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 - Start a battery test +# 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 +# DEVICE:EOC diff --git a/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.8.0__01.dev b/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.8.0__01.dev new file mode 100644 index 0000000..a048e77 --- /dev/null +++ b/FSP/FSP__Fortron_UPS_Champ_1000VA_Tower__nutdrv_qx__2.8.0__01.dev @@ -0,0 +1,177 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut-ddl/issues/22 +# DEVICE:URL:REPORT: https://gist.githubusercontent.com/virnik0/689e56d7b2a179260416aa5e5bb2063f/raw/c4735cc04bddffe48a02823896c73b8d6ab0838e/FSP__WPHVT1K0__nutdrv_qx__2.8.0-98-g3744cb0__01.dev + +# DEVICE:COMMENT: +# Device dump generated by ./nut-ddl-dump.sh on Thu, 02 Jun 2022 14:26:18 +0200 +# +# The UPS doesn't report `serial` number (well, reports zeroes), and +# `ups.load` is stuck on value of '0', making expected runtime unusable. +# +# Other than that, the UPS reports voltages (both input, output, nominal...) +# etc. correctly along with the charge level and battery temperature. +# +# NOTE: See also a report of similar-looking model with `blazer_usb` driver +# from NUT v2.7.4, which did report a non-trivial `ups.load`. Change of driver +# did not help when testing this device, however. +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:UPSCONF: +# [ups2] +# desc = "FSP Fortron UPS Champ 1000 VA Tower (UPS2)" +# driver = "nutdrv_qx" +# port = "auto" +# vendorid = "0665" +# productid = "5161" +# product = "USB to Serial" +# vendor = "INNO TECH" +# pollinterval = 5 +# limited_runtime_on_battery = disabled +# bypass_forbidding = enabled +# override.battery.runtime.low = 120 +# DEVICE:EOC + +# upsc output: +battery.charge: 100 +battery.energysave: no +battery.packs: 1 +battery.protection: yes +battery.runtime: 22440 +battery.runtime.low: 120 +battery.voltage: 27.20 +battery.voltage.nominal: 24.0 +device.model: WPHVT1K0 +device.type: ups +driver.name: nutdrv_qx +driver.parameter.bypass_forbidding: enabled +driver.parameter.limited_runtime_on_battery: disabled +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 5 +driver.parameter.port: auto +driver.parameter.product: USB to Serial +driver.parameter.productid: 5161 +driver.parameter.synchronous: auto +driver.parameter.vendor: INNO TECH +driver.parameter.vendorid: 0665 +driver.version: 2.8.0-98-g3744cb0 +driver.version.data: Voltronic 0.06 +driver.version.internal: 0.32 +driver.version.usb: libusb-0.1 (or compat) +input.current.nominal: 4.0 +input.frequency: 50.0 +input.frequency.high: 53.0 +input.frequency.low: 47.0 +input.frequency.nominal: 50.0 +input.phases: 1 +input.transfer.high: 242 +input.transfer.high.max: 254 +input.transfer.high.min: 237 +input.transfer.low: 210 +input.transfer.low.max: 223 +input.transfer.low.min: 206 +input.voltage: 214.3 +input.voltage.nominal: 230.0 +output.current: 0.0 +output.current.nominal: 4 +output.frequency: 50.0 +output.frequency.nominal: 50.0 +output.phases: 1 +output.power.maximum.percent: 0 +output.power.minimum.percent: 0 +output.powerfactor: 0.9 +output.voltage: 229.9 +output.voltage.nominal: 230.0 +ups.beeper.status: enabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.firmware: 01060.07 +ups.firmware.aux: P01 +ups.load: 0 +ups.power.nominal: 1000 +ups.productid: 5161 +ups.start.auto: yes +ups.start.battery: yes +ups.status: OL +ups.temperature: 28.5 +ups.type: online +ups.vendorid: 0665 + +# DEVICE:COMMENT-BLOCK:FIXME:UPSRW: +# [battery.energysave] +# Switch off when running on battery and no/low load +# Type: ENUM NUMBER +# Option: "no" SELECTED +# Option: "yes" +# +# [battery.packs] +# Number of battery packs +# Type: RANGE NUMBER +# Option: "1-99" SELECTED +# +# [battery.protection] +# Prevent deep discharge of battery +# Type: ENUM NUMBER +# Option: "no" +# Option: "yes" SELECTED +# +# [input.frequency.high] +# Maximum input line frequency (Hz) +# Type: RANGE NUMBER +# Option: "53-60" SELECTED +# +# [input.frequency.low] +# Minimum input line frequency (Hz) +# Type: RANGE NUMBER +# Option: "40-47" SELECTED +# +# [input.transfer.high] +# High voltage transfer point (V) +# Type: RANGE NUMBER +# Option: "237-254" SELECTED +# +# [input.transfer.low] +# Low voltage transfer point (V) +# Type: RANGE NUMBER +# Option: "206-223" SELECTED +# +# [ups.delay.shutdown] +# Interval to wait after shutdown with delay command (seconds) +# Type: RANGE NUMBER +# Option: "12-5940" SELECTED +# +# [ups.delay.start] +# Interval to wait before (re)starting the load (seconds) +# Type: RANGE NUMBER +# Option: "0-599940" SELECTED +# +# [ups.start.auto] +# UPS starts when mains is (re)applied +# Type: ENUM NUMBER +# Option: "no" +# Option: "yes" SELECTED +# +# [ups.start.battery] +# Allow to start UPS from battery +# Type: ENUM NUMBER +# Option: "no" +# Option: "yes" SELECTED +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:FIXME:UPSCMD: ups2 +# upscmd output: +# Instant commands supported on UPS [ups2]: +# +# beeper.disable - Disable the UPS beeper +# beeper.enable - Enable the UPS beeper +# beeper.toggle - Toggle the UPS beeper +# bypass.start - Put the UPS in bypass mode +# bypass.stop - Take the UPS out of bypass mode +# load.off - Turn off the load immediately +# load.on - Turn on the load immediately +# 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 - Start a battery test +# 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 +# DEVICE:EOC diff --git a/FSP/FSP__Fortron_UPS_Champ_2000VA_Tower__blazer_usb__2.7.4__01.dev b/FSP/FSP__Fortron_UPS_Champ_2000VA_Tower__blazer_usb__2.7.4__01.dev new file mode 100644 index 0000000..552c97f --- /dev/null +++ b/FSP/FSP__Fortron_UPS_Champ_2000VA_Tower__blazer_usb__2.7.4__01.dev @@ -0,0 +1,42 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut-ddl/issues/22 +# DEVICE:URL:REPORT: https://alioth-lists.debian.net/pipermail/nut-upsuser/2022-August/012938.html + +# DEVICE:COMMENT: +# NOTE: "2000 VA Tower" in reported device name here is presumed from the model code +# `WPHVT2K0`, comparing to `WPHVT1K0` and `WPHVT3K0` reported explicitly as "1000 VA" +# and "3K" models, both as "Tower". +# DEVICE:EOC + +battery.charge: 100 +battery.voltage: 55.20 +battery.voltage.high: 52.00 +battery.voltage.low: 41.60 +battery.voltage.nominal: 48.0 +device.mfr: +device.model: WPHVT2K0 +device.type: ups +driver.name: blazer_usb +driver.parameter.pollinterval: 2 +driver.parameter.port: /dev/hidraw2 +driver.parameter.synchronous: no +driver.version: 2.7.4 +driver.version.internal: 0.12 +input.current.nominal: 8.0 +input.frequency: 50.0 +input.frequency.nominal: 50 +input.voltage: 234.5 +input.voltage.fault: 234.5 +input.voltage.nominal: 230 +output.voltage: 229.7 +ups.beeper.status: enabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.firmware: 01060.07 +ups.load: 46 +ups.mfr: +ups.model: WPHVT2K0 +ups.productid: 5161 +ups.status: OL +ups.temperature: 26.3 +ups.type: online +ups.vendorid: 0665 diff --git a/FSP/FSP__Fortron_UPS_Champ_3000VA_Tower__blazer_usb__2.7.4__01.dev b/FSP/FSP__Fortron_UPS_Champ_3000VA_Tower__blazer_usb__2.7.4__01.dev new file mode 100644 index 0000000..3cd9b7b --- /dev/null +++ b/FSP/FSP__Fortron_UPS_Champ_3000VA_Tower__blazer_usb__2.7.4__01.dev @@ -0,0 +1,240 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1741 + +# DEVICE:COMMENT-BLOCK:UPSCONF: +# [fsp] +# desc = "Champ 3k" +# driver = "blazer_usb" +# port = "auto" +# vendorid = "0665" +# productid = "5161" +# # product = "USB to Serial" +# # vendor = "INNO TECH" +# # bus = "003" +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK: +# * Running `nut-scanner`: +# + +# ---- +# :; sudo nut-scanner -U +# Neon library not found. XML search disabled. +# IPMI library not found. IPMI search disabled. +# +# Scanning USB bus. +# [nutdev1] +# driver = "blazer_usb" +# port = "auto" +# vendorid = "0665" +# productid = "5161" +# product = "USB to Serial" +# vendor = "INNO TECH" +# bus = "003" +# ---- +# +# * System identification: +# + +# ---- +# :; inxi -BS +# System: +# Host: kubuntu Kernel: 5.19.0-26-generic arch: x86_64 bits: 64 +# Desktop: KDE Plasma v: 5.25.5 Distro: Ubuntu 22.10 (Kinetic Kudu) +# Battery: +# Message: No system battery data found. Is one present? +# ---- +# +# * Package identification: +# + +# ---- +# :; dpkg-query --list nut* +# Desired=Unknown/Install/Remove/Purge/Hold +# | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend +# |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) +# ||/ Name Version Architecture Description +# +++-==============-===============-============-================================= +# ii nut 2.7.4-14ubuntu2 all network UPS tools - metapackage +# un nut-cgi (no description available) +# ii nut-client 2.7.4-14ubuntu2 amd64 network UPS tools - clients +# un nut-ipmi (no description available) +# un nut-monitor (no description available) +# ii nut-server 2.7.4-14ubuntu2 amd64 network UPS tools - core system +# un nut-snmp (no description available) +# un nut-xml (no description available) +# ---- +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:LOGS: SystemD log of NUT startup +# > I tried to test a few instant commands, using `upscmd`, +# > but they all failed when checking the logs... +# +# :; systemctl status --lines=20 --full --no-pager nut-server nut-driver +# +# * nut-server.service - Network UPS Tools - power devices information server +# Loaded: loaded (/lib/systemd/system/nut-server.service; enabled; preset: enabled) +# Active: active (running) since Sat 2022-12-24 17:09:07 +03; 50min ago +# Process: 2624 ExecStart=/sbin/upsd (code=exited, status=0/SUCCESS) +# Main PID: 2625 (upsd) +# Tasks: 1 (limit: 38274) +# Memory: 648.0K +# CPU: 171ms +# CGroup: /system.slice/nut-server.service +# +-2625 /lib/nut/upsd +# +# Dec 24 17:09:07 kubuntu systemd[1]: Starting Network UPS Tools - power devices information server... +# Dec 24 17:09:07 kubuntu upsd[2624]: fopen /run/nut/upsd.pid: No such file or directory +# Dec 24 17:09:07 kubuntu upsd[2624]: listening on 127.0.0.1 port 3493 +# Dec 24 17:09:07 kubuntu upsd[2624]: listening on ::1 port 3493 +# Dec 24 17:09:07 kubuntu upsd[2624]: listening on 127.0.0.1 port 3493 +# Dec 24 17:09:07 kubuntu upsd[2624]: listening on ::1 port 3493 +# Dec 24 17:09:07 kubuntu upsd[2624]: Connected to UPS [fsp]: blazer_usb-fsp +# Dec 24 17:09:07 kubuntu upsd[2624]: Connected to UPS [fsp]: blazer_usb-fsp +# Dec 24 17:09:07 kubuntu upsd[2625]: Startup successful +# Dec 24 17:09:07 kubuntu systemd[1]: Started Network UPS Tools - power devices information server. +# Dec 24 17:09:47 kubuntu upsd[2625]: User upsmon@127.0.0.1 logged into UPS [fsp] +# Dec 24 17:12:06 kubuntu upsd[2625]: Instant command: admin@127.0.0.1 did load.off on fsp +# Dec 24 17:12:42 kubuntu upsd[2625]: Instant command: admin@127.0.0.1 did load.on on fsp +# Dec 24 17:13:55 kubuntu upsd[2625]: Instant command: admin@127.0.0.1 did beeper.toggle on fsp +# +# * nut-driver.service - Network UPS Tools - power device driver controller +# Loaded: loaded (/lib/systemd/system/nut-driver.service; static) +# Active: active (running) since Sat 2022-12-24 17:09:07 +03; 50min ago +# Process: 2620 ExecStart=/sbin/upsdrvctl start (code=exited, status=0/SUCCESS) +# Main PID: 2623 (blazer_usb) +# Tasks: 1 (limit: 38274) +# Memory: 452.0K +# CPU: 12.598s +# CGroup: /system.slice/nut-driver.service +# +-2623 /lib/nut/blazer_usb -a fsp + +# Dec 24 17:09:04 kubuntu systemd[1]: Starting Network UPS Tools - power device driver controller... +# Dec 24 17:09:06 kubuntu upsdrvctl[2621]: Supported UPS detected with megatec protocol +# Dec 24 17:09:06 kubuntu upsdrvctl[2621]: Vendor information read in 1 tries +# Dec 24 17:09:06 kubuntu upsdrvctl[2621]: No values provided for battery high/low voltages in ups.conf +# Dec 24 17:09:06 kubuntu upsdrvctl[2621]: Using 'guestimation' (low: 62.400000, high: 78.000000)! +# Dec 24 17:09:06 kubuntu upsdrvctl[2621]: Battery runtime will not be calculated (runtimecal not set) +# Dec 24 17:09:07 kubuntu upsdrvctl[2620]: Network UPS Tools - UPS driver controller 2.7.4 +# Dec 24 17:09:07 kubuntu blazer_usb[2623]: Startup successful +# Dec 24 17:09:07 kubuntu systemd[1]: Started Network UPS Tools - power device driver controller. +# Dec 24 17:12:06 kubuntu blazer_usb[2623]: instcmd(load.off, [NULL]) +# Dec 24 17:12:07 kubuntu blazer_usb[2623]: instcmd: command [load.off] failed +# Dec 24 17:12:42 kubuntu blazer_usb[2623]: instcmd(load.on, [NULL]) +# Dec 24 17:12:42 kubuntu blazer_usb[2623]: instcmd: command [load.on] failed +# Dec 24 17:13:55 kubuntu blazer_usb[2623]: instcmd(beeper.toggle, [NULL]) +# Dec 24 17:13:55 kubuntu blazer_usb[2623]: instcmd: command [beeper.toggle] failed +# DEVICE:EOC + +# upsc output: +battery.charge: 100 +battery.voltage: 81.72 +battery.voltage.high: 78.00 +battery.voltage.low: 62.40 +battery.voltage.nominal: 72.0 +device.mfr: +device.model: WPHVT3K0 +device.type: ups +driver.name: blazer_usb +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.productid: 5161 +driver.parameter.synchronous: no +driver.parameter.vendorid: 0665 +driver.version: 2.7.4 +driver.version.internal: 0.12 +input.current.nominal: 13.0 +input.frequency: 50.0 +input.frequency.nominal: 50 +input.voltage: 231.8 +input.voltage.fault: 231.8 +input.voltage.nominal: 220 +output.voltage: 220.1 +ups.beeper.status: enabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.firmware: 01060.04 +ups.load: 1 +ups.mfr: +ups.model: WPHVT3K0 +ups.productid: 5161 +ups.status: OL +ups.temperature: 18.0 +ups.type: online +ups.vendorid: 0665 + +# DEVICE:COMMENT-BLOCK:FIXME:UPSRW: +# `upsrw fsp@localhost` returns nothing... +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:FIXME:UPSCMD: fsp +# Instant commands supported on UPS [fsp]: +# +# beeper.toggle - Toggle the UPS beeper +# load.off - Turn off the load immediately +# load.on - Turn on the load immediately +# 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 - Start a battery test +# 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 +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:LSUSB: `lsusb -v -d 0665:5161` +# Bus 003 Device 002: ID 0665:5161 Cypress Semiconductor USB to Serial +# Device Descriptor: +# bLength 18 +# bDescriptorType 1 +# bcdUSB 1.10 +# bDeviceClass 0 +# bDeviceSubClass 0 +# bDeviceProtocol 0 +# bMaxPacketSize0 8 +# idVendor 0x0665 Cypress Semiconductor +# idProduct 0x5161 USB to Serial +# bcdDevice 0.02 +# iManufacturer 1 INNO TECH +# iProduct 2 USB to Serial +# iSerial 0 +# bNumConfigurations 1 +# Configuration Descriptor: +# bLength 9 +# bDescriptorType 2 +# wTotalLength 0x0022 +# bNumInterfaces 1 +# bConfigurationValue 1 +# iConfiguration 3 20100813 +# bmAttributes 0x80 +# (Bus Powered) +# MaxPower 100mA +# Interface Descriptor: +# bLength 9 +# bDescriptorType 4 +# bInterfaceNumber 0 +# bAlternateSetting 0 +# bNumEndpoints 1 +# bInterfaceClass 3 Human Interface Device +# bInterfaceSubClass 0 +# bInterfaceProtocol 0 +# iInterface 4 Sample HID +# HID Device Descriptor: +# bLength 9 +# bDescriptorType 33 +# bcdHID 1.00 +# bCountryCode 0 Not supported +# bNumDescriptors 1 +# bDescriptorType 34 Report +# wDescriptorLength 27 +# Report Descriptors: +# ** UNAVAILABLE ** +# Endpoint Descriptor: +# bLength 7 +# bDescriptorType 5 +# bEndpointAddress 0x81 EP 1 IN +# bmAttributes 3 +# Transfer Type Interrupt +# Synch Type None +# Usage Type Data +# wMaxPacketSize 0x0008 1x 8 bytes +# bInterval 1 +# Device Status: 0x0000 +# (Bus Powered) +# DEVICE:EOC From 2f9e4572e7ff38181622961ec429b0f5cea6d990 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Thu, 31 Aug 2023 09:32:30 +0200 Subject: [PATCH 04/12] Add Ippon Smart Power Pro II 1200/1600/... series [networkupstools/nut#701] Signed-off-by: Jim Klimov --- ...wer_Pro_II_1200__usbhid-ups__2.7.4__01.dev | 128 ++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 Ippon/Ippon__Smart_Power_Pro_II_1200__usbhid-ups__2.7.4__01.dev diff --git a/Ippon/Ippon__Smart_Power_Pro_II_1200__usbhid-ups__2.7.4__01.dev b/Ippon/Ippon__Smart_Power_Pro_II_1200__usbhid-ups__2.7.4__01.dev new file mode 100644 index 0000000..5ecdabc --- /dev/null +++ b/Ippon/Ippon__Smart_Power_Pro_II_1200__usbhid-ups__2.7.4__01.dev @@ -0,0 +1,128 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/701 + +# DEVICE:COMMENT: +# I've got a new Ippon UPS "Smart Power Pro II 1200" and neither +# Input nor Output voltage values are reported/shown by nut. +# +# The same problem probably applies to the whole family of new(?) +# Ippon devices with a display - SMART POWER PRO II 1200/1600/2200 +# and SMART POWER PRO II EURO 1200/1600/2200. +# +# For an issue with regular disconnections, see also: +# https://github.com/networkupstools/nut/issues/786 +# +# Regarding driver data dump below: +# +# * It seems that driver just ignores some paths: +# +# ** `Path: UPS.PowerConverter.Input.[1].Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 225` +# ** `Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x42, Offset: 16, Size: 16, Value: 225` +# +# * Other parameters like frequency data is available on UPS as well, +# but not seen by the driver. +# +# Another problem that it is not possible to send commands to the UPS, +# for example, to disable beep - the list of commands is empty. +# +# "Same thing" (problems?) also reported for Ippon Smart Power Pro II 1600. +# +# More information seems to be available with custom builds using +# an MGE and not Liebert subdriver (shared USB identification). +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:UPSCONF: +# [ups] +# driver = usbhid-ups +# port = auto +# desc = "Ippon Smart Power Pro II 1200" +# synchronous = yes +# pollinterval = 10 +# DEVICE:EOC + +# upsc test result: +battery.charge: 100 +battery.runtime: 4520 +battery.type: PbAc +battery.voltage: 28 +device.mfr: PPC +device.model: Offline UPS +device.serial: 000000000 +device.type: ups +driver.name: usbhid-ups +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 10 +driver.parameter.port: auto +driver.parameter.synchronous: yes +driver.version: 2.7.4 +driver.version.data: Phoenixtec/Liebert HID 0.3 +driver.version.internal: 0.41 +ups.load: 5 +ups.mfr: PPC +ups.model: Offline UPS +ups.productid: ffff +ups.serial: 000000000 +ups.status: OL CHRG +ups.vendorid: 06da + +# DEVICE:COMMENT-BLOCK:LOGS: Driver data dump +# :; /lib/nut/usbhid-ups -D -a ups -u root +# Network UPS Tools - Generic HID driver 0.41 (2.7.4) +# USB communication driver 0.33 +# 0.000000 debug level is '1' +# 0.001405 upsdrv_initups... +# 0.142334 Using subdriver: Phoenixtec/Liebert HID 0.3 +# 0.142385 45 HID objects found +# 0.144121 Path: UPS.BatterySystem.Battery.Test, Type: Feature, ReportID: 0x24, Offset: 0, Size: 8, Value: 6 +# 0.146117 Path: UPS.Flow.[4].ConfigApparentPower, Type: Feature, ReportID: 0x74, Offset: 0, Size: 16, Value: 5 +# 0.148099 Path: UPS.Flow.[4].ConfigFrequency, Type: Feature, ReportID: 0x36, Offset: 0, Size: 8, Value: 50 +# 0.150099 Path: UPS.Flow.[4].ConfigVoltage, Type: Feature, ReportID: 0x72, Offset: 0, Size: 8, Value: 220 +# 0.152099 Path: UPS.PowerConverter.ffff0041, Type: Feature, ReportID: 0x4a, Offset: 0, Size: 8, Value: 1 +# 0.154127 Path: UPS.PowerConverter.Input.[1].Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 225 +# 0.156105 Path: UPS.PowerConverter.Input.[1].PresentStatus.Boost, Type: Feature, ReportID: 0x2d, Offset: 0, Size: 8, Value: 0 +# 0.156136 Path: UPS.PowerConverter.Input.[1].PresentStatus.Boost, Type: Input, ReportID: 0x2d, Offset: 0, Size: 8, Value: 0 +# 0.156178 Path: UPS.PowerConverter.Input.[1].PresentStatus.Buck, Type: Feature, ReportID: 0x2d, Offset: 8, Size: 8, Value: 0 +# 0.156211 Path: UPS.PowerConverter.Input.[1].PresentStatus.Buck, Type: Input, ReportID: 0x2d, Offset: 8, Size: 8, Value: 0 +# 0.158129 Path: UPS.PowerConverter.Output.Frequency, Type: Feature, ReportID: 0x42, Offset: 0, Size: 16, Value: 50 +# 0.158160 Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x42, Offset: 16, Size: 16, Value: 225 +# 0.160107 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 2 +# 0.162117 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x09, Offset: 0, Size: 32, Value: -1 +# 0.164108 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 32, Value: -1 +# 0.166106 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 5 +# 0.166136 Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x10, Offset: 8, Size: 8, Value: 1 +# 0.166174 Path: UPS.PowerSummary.ffff00f0, Type: Feature, ReportID: 0x10, Offset: 16, Size: 8, Value: 3 +# 0.166246 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x10, Offset: 24, Size: 8, Value: 2 +# 0.166301 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x10, Offset: 32, Size: 8, Value: 4 +# 0.168104 Path: UPS.PowerSummary.ffff00e2, Type: Feature, ReportID: 0xe2, Offset: 0, Size: 8, Value: 4 +# 0.170120 Path: UPS.PowerSummary.PercentLoad, Type: Feature, ReportID: 0x07, Offset: 0, Size: 8, Value: 5 +# 0.172101 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 1 +# 0.172131 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x01, Offset: 0, Size: 8, Value: 1 +# 0.172167 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x01, Offset: 8, Size: 8, Value: 0 +# 0.172208 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x01, Offset: 8, Size: 8, Value: 0 +# 0.172246 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x01, Offset: 16, Size: 8, Value: 1 +# 0.172298 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x01, Offset: 16, Size: 8, Value: 1 +# 0.172355 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x01, Offset: 24, Size: 8, Value: 0 +# 0.172410 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x01, Offset: 24, Size: 8, Value: 0 +# 0.172461 Path: UPS.PowerSummary.PresentStatus.Good, Type: Feature, ReportID: 0x01, Offset: 32, Size: 8, Value: 1 +# 0.172504 Path: UPS.PowerSummary.PresentStatus.Good, Type: Input, ReportID: 0x01, Offset: 32, Size: 8, Value: 1 +# 0.172538 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x01, Offset: 40, Size: 8, Value: 0 +# 0.172571 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x01, Offset: 40, Size: 8, Value: 0 +# 0.172603 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x01, Offset: 48, Size: 8, Value: 0 +# 0.172634 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x01, Offset: 48, Size: 8, Value: 0 +# 0.174129 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 100 +# 0.174158 Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x0b, Offset: 8, Size: 8, Value: 1 +# 0.174210 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x0b, Offset: 16, Size: 8, Value: 100 +# 0.174249 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x0b, Offset: 24, Size: 8, Value: 2 +# 0.176108 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 0.176137 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 0.176177 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x06, Offset: 8, Size: 16, Value: 4520 +# 0.176209 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, Size: 16, Value: 4520 +# 0.176251 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x07, Offset: 8, Size: 16, Value: 27.5 +# 0.176291 Detected a UPS: PPC/Offline UPS +# 0.180164 upsdrv_initinfo... +# 0.180195 upsdrv_updateinfo... +# 0.431114 Got 0 HID objects... +# 0.431155 Quick update... +# 0.431341 upsdrv_updateinfo... +# 0.683333 Got 0 HID objects... +# 0.683432 Quick update... +# DEVICE:EOC From a9e3ce001abe96627bcccded466be91ec7f6aa12 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Thu, 31 Aug 2023 09:46:26 +0200 Subject: [PATCH 05/12] Update PowerWalker VI report nuances [networkupstools/nut#646] Signed-off-by: Jim Klimov --- ...ker__VI_2200_SH__usbhid-ups__2.7.4__01.dev | 547 ++++++++++++++++++ 1 file changed, 547 insertions(+) diff --git a/PowerWalker/PowerWalker__VI_2200_SH__usbhid-ups__2.7.4__01.dev b/PowerWalker/PowerWalker__VI_2200_SH__usbhid-ups__2.7.4__01.dev index e4213ca..afd6630 100644 --- a/PowerWalker/PowerWalker__VI_2200_SH__usbhid-ups__2.7.4__01.dev +++ b/PowerWalker/PowerWalker__VI_2200_SH__usbhid-ups__2.7.4__01.dev @@ -1,4 +1,5 @@ # DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/646#issuecomment-462101161 +# DEVICE:URL:VENDOR: link:https://powerwalker.com/?lang=en&page=product&item=10120051[PowerWalker VI 2200 SH] # DEVICE:COMMENT: # As others have noted in PowerWalker-related issues, the Liebert HID subdriver @@ -45,3 +46,549 @@ ups.productid: ffff ups.serial: 000000000 ups.status: OL CHRG ups.vendorid: 06da + +# DEVICE:COMMENT-BLOCK:LOGS: Driver output in explore-mode +# pi@raspberrypi:~ $ sudo /lib/nut/usbhid-ups -DD -u root -x explore -x vendorid=XXXX -x port=auto -a ups +# 0.000000 debug level is '2' +# 0.002193 upsdrv_initups... +# 0.003019 Checking device (06DA/FFFF) (001/004) +# 0.018699 - VendorID: 06da +# 0.018733 - ProductID: ffff +# 0.018750 - Manufacturer: PPC +# 0.018766 - Product: Offline UPS +# 0.018783 - Serial Number: 000000000 +# 0.018801 - Bus: 001 +# 0.018860 - Device release number: 0003 +# 0.018901 Trying to match device +# 0.019061 Device matches +# 0.019141 failed to claim USB device: could not claim interface 0: Device or resource busy +# 0.019711 detached kernel driver from USB device... +# 0.023365 HID descriptor length 495 +# 0.086576 Report Descriptor size = 495 +# 0.087666 Using subdriver: EXPLORE HID 0.1 +# 0.087697 45 HID objects found +# 0.089608 Path: UPS.BatterySystem.Battery.Test, Type: Feature, ReportID: 0x24, Offset: 0, Size: 8, Value: 6 +# 0.091355 Path: UPS.Flow.[4].ConfigApparentPower, Type: Feature, ReportID: 0x74, Offset: 0, Size: 16, Value: 9 +# 0.093102 Path: UPS.Flow.[4].ConfigFrequency, Type: Feature, ReportID: 0x36, Offset: 0, Size: 8, Value: 50 +# 0.093725 Path: UPS.Flow.[4].ConfigVoltage, Type: Feature, ReportID: 0x72, Offset: 0, Size: 8, Value: 230 +# 0.095597 Path: UPS.PowerConverter.ffff0041, Type: Feature, ReportID: 0x4a, Offset: 0, Size: 8, Value: 1 +# 0.097354 Path: UPS.PowerConverter.Input.[1].Voltage, Type: Feature, ReportID: 0x31, Offset: 0, Size: 16, Value: 241 +# 0.099108 Path: UPS.PowerConverter.Input.[1].PresentStatus.Boost, Type: Feature, ReportID: 0x2d, Offset: 0, Size: 8, Value: 0 +# 0.099163 Path: UPS.PowerConverter.Input.[1].PresentStatus.Boost, Type: Input, ReportID: 0x2d, Offset: 0, Size: 8, Value: 0 +# 0.099211 Path: UPS.PowerConverter.Input.[1].PresentStatus.Buck, Type: Feature, ReportID: 0x2d, Offset: 8, Size: 8, Value: 0 +# 0.099258 Path: UPS.PowerConverter.Input.[1].PresentStatus.Buck, Type: Input, ReportID: 0x2d, Offset: 8, Size: 8, Value: 0 +# 0.101105 Path: UPS.PowerConverter.Output.Frequency, Type: Feature, ReportID: 0x42, Offset: 0, Size: 16, Value: 50 +# 0.101156 Path: UPS.PowerConverter.Output.Voltage, Type: Feature, ReportID: 0x42, Offset: 16, Size: 16, Value: 240 +# 0.101725 Path: UPS.PowerSummary.AudibleAlarmControl, Type: Feature, ReportID: 0x13, Offset: 0, Size: 8, Value: 2 +# 0.103600 Path: UPS.PowerSummary.DelayBeforeShutdown, Type: Feature, ReportID: 0x09, Offset: 0, Size: 32, Value: -1 +# 0.105349 Path: UPS.PowerSummary.DelayBeforeStartup, Type: Feature, ReportID: 0x0a, Offset: 0, Size: 32, Value: -1 +# 0.107102 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, ReportID: 0x10, Offset: 0, Size: 8, Value: 5 +# 0.107151 Path: UPS.PowerSummary.iManufacturer, Type: Feature, ReportID: 0x10, Offset: 8, Size: 8, Value: 1 +# 0.107196 Path: UPS.PowerSummary.ffff00f0, Type: Feature, ReportID: 0x10, Offset: 16, Size: 8, Value: 3 +# 0.107239 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x10, Offset: 24, Size: 8, Value: 2 +# 0.107282 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 0x10, Offset: 32, Size: 8, Value: 4 +# 0.109098 Path: UPS.PowerSummary.ffff00e2, Type: Feature, ReportID: 0xe2, Offset: 0, Size: 8, Value: 4 +# 0.109722 Path: UPS.PowerSummary.PercentLoad, Type: Feature, ReportID: 0x07, Offset: 0, Size: 8, Value: 1 +# 0.111607 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Feature, ReportID: 0x01, Offset: 0, Size: 8, Value: 1 +# 0.111663 Path: UPS.PowerSummary.PresentStatus.ACPresent, Type: Input, ReportID: 0x01, Offset: 0, Size: 8, Value: 1 +# 0.111715 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Feature, ReportID: 0x01, Offset: 8, Size: 8, Value: 0 +# 0.111765 Path: UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type: Input, ReportID: 0x01, Offset: 8, Size: 8, Value: 0 +# 0.111813 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Feature, ReportID: 0x01, Offset: 16, Size: 8, Value: 1 +# 0.111885 Path: UPS.PowerSummary.PresentStatus.Charging, Type: Input, ReportID: 0x01, Offset: 16, Size: 8, Value: 1 +# 0.111965 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Feature, ReportID: 0x01, Offset: 24, Size: 8, Value: 0 +# 0.112042 Path: UPS.PowerSummary.PresentStatus.Discharging, Type: Input, ReportID: 0x01, Offset: 24, Size: 8, Value: 0 +# 0.112094 Path: UPS.PowerSummary.PresentStatus.Good, Type: Feature, ReportID: 0x01, Offset: 32, Size: 8, Value: 1 +# 0.112204 Path: UPS.PowerSummary.PresentStatus.Good, Type: Input, ReportID: 0x01, Offset: 32, Size: 8, Value: 1 +# 0.112280 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Feature, ReportID: 0x01, Offset: 40, Size: 8, Value: 0 +# 0.112357 Path: UPS.PowerSummary.PresentStatus.InternalFailure, Type: Input, ReportID: 0x01, Offset: 40, Size: 8, Value: 0 +# 0.112434 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Feature, ReportID: 0x01, Offset: 48, Size: 8, Value: 0 +# 0.112510 Path: UPS.PowerSummary.PresentStatus.Overload, Type: Input, ReportID: 0x01, Offset: 48, Size: 8, Value: 0 +# 0.113105 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 0x0b, Offset: 0, Size: 8, Value: 100 +# 0.113183 Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, ReportID: 0x0b, Offset: 8, Size: 8, Value: 1 +# 0.113257 Path: UPS.PowerSummary.FullChargeCapacity, Type: Feature, ReportID: 0x0b, Offset: 16, Size: 8, Value: 100 +# 0.113327 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 0x0b, Offset: 24, Size: 8, Value: 2 +# 0.115101 Path: UPS.PowerSummary.RemainingCapacity, Type: Feature, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 0.115176 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 0.115252 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Feature, ReportID: 0x06, Offset: 8, Size: 16, Value: 3290 +# 0.115325 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, Size: 16, Value: 3290 +# 0.115396 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x07, Offset: 8, Size: 16, Value: 27.1 +# Network UPS Tools - Generic HID driver 0.41 (2.7.4) +# USB communication driver 0.33 +# 0.115517 Report descriptor retrieved (Reportlen = 495) +# 0.115541 Found HID device +# 0.115580 Detected a UPS: PPC/Offline UPS +# 0.115646 find_nut_info: unknown info type: load.off.delay +# 0.115688 find_nut_info: unknown info type: load.on.delay +# 0.115705 find_nut_info: unknown info type: load.off.delay +# 0.115816 upsdrv_initinfo... +# 0.115885 upsdrv_updateinfo... +# 0.116614 Got 2 HID objects... +# 0.116666 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 0.116719 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, Size: 16, Value: 3359 +# 0.116745 Quick update... +# 0.116954 dstate_init: sock /var/run/nut/usbhid-ups-ups open on fd 5 +# 0.117041 upsdrv_updateinfo... +# 0.308599 Got 2 HID objects... +# 0.308664 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 0.308718 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, Size: 16, Value: 3290 +# 0.308743 Quick update... +# 2.118890 upsdrv_updateinfo... +# 2.369631 libusb_get_interrupt: Connection timed out +# 2.369672 Got 0 HID objects... +# 2.369702 Quick update... +# 4.120678 upsdrv_updateinfo... +# 4.120796 libusb_get_interrupt: error submitting URB: Device or resource busy +# 4.120826 Got disconnected by another driver: Device or resource busy +# 6.122715 upsdrv_updateinfo... +# 6.122773 Got to reconnect! + +# 6.123402 Checking device (06DA/FFFF) (001/004) +# 6.140477 - VendorID: 06da +# 6.140509 - ProductID: ffff +# 6.140526 - Manufacturer: PPC +# 6.140542 - Product: Offline UPS +# 6.140558 - Serial Number: 000000000 +# 6.140574 - Bus: 001 +# 6.140591 - Device release number: 0003 +# 6.140608 Trying to match device +# 6.140655 Device matches +# 6.140694 failed to claim USB device: could not claim interface 0: Device or resource busy +# 6.140850 detached kernel driver from USB device... +# 6.391079 libusb_get_interrupt: Connection timed out +# 6.391130 Got 0 HID objects... +# 6.391154 Quick update... +# 8.124479 upsdrv_updateinfo... +# 8.374840 libusb_get_interrupt: Connection timed out +# 8.374882 Got 0 HID objects... +# 8.374904 Quick update... +# 10.126268 upsdrv_updateinfo... +# 10.126378 libusb_get_interrupt: error submitting URB: Device or resource busy +# 10.126410 Got disconnected by another driver: Device or resource busy +# 12.128307 upsdrv_updateinfo... +# 12.128369 Got to reconnect! + +# 12.128912 Checking device (06DA/FFFF) (001/004) +# 12.147393 - VendorID: 06da +# 12.147439 - ProductID: ffff +# 12.147465 - Manufacturer: PPC +# 12.147533 - Product: Offline UPS +# 12.147555 - Serial Number: 000000000 +# 12.147573 - Bus: 001 +# 12.147594 - Device release number: 0003 +# 12.147613 Trying to match device +# 12.147662 Device matches +# 12.147726 failed to claim USB device: could not claim interface 0: Device or resource busy +# 12.147915 detached kernel driver from USB device... +# 12.398512 libusb_get_interrupt: Connection timed out +# 12.398569 Got 0 HID objects... +# 12.398599 Quick update... +# 14.130086 upsdrv_updateinfo... +# 14.380612 libusb_get_interrupt: Connection timed out +# 14.380677 Got 0 HID objects... +# 14.380703 Quick update... +# 16.131872 upsdrv_updateinfo... +# 16.131998 libusb_get_interrupt: error submitting URB: Device or resource busy +# 16.132051 Got disconnected by another driver: Device or resource busy +# 18.133915 upsdrv_updateinfo... +# 18.133977 Got to reconnect! + +# 18.134706 Checking device (06DA/FFFF) (001/004) +# 18.151789 - VendorID: 06da +# 18.151835 - ProductID: ffff +# 18.151855 - Manufacturer: PPC +# 18.151876 - Product: Offline UPS +# 18.151896 - Serial Number: 000000000 +# 18.151914 - Bus: 001 +# 18.151944 - Device release number: 0003 +# 18.151963 Trying to match device +# 18.152017 Device matches +# 18.152064 failed to claim USB device: could not claim interface 0: Device or resource busy +# 18.152319 detached kernel driver from USB device... +# 18.403744 libusb_get_interrupt: Connection timed out +# 18.403800 Got 0 HID objects... +# 18.403826 Quick update... +# 20.135695 upsdrv_updateinfo... +# 20.386109 libusb_get_interrupt: Connection timed out +# 20.386173 Got 0 HID objects... +# 20.386202 Quick update... +# 22.137480 upsdrv_updateinfo... +# 22.137611 libusb_get_interrupt: error submitting URB: Device or resource busy +# 22.137642 Got disconnected by another driver: Device or resource busy +# 24.139518 upsdrv_updateinfo... +# 24.139583 Got to reconnect! + +# 24.140226 Checking device (06DA/FFFF) (001/004) +# 24.156190 - VendorID: 06da +# 24.156247 - ProductID: ffff +# 24.156270 - Manufacturer: PPC +# 24.156289 - Product: Offline UPS +# 24.156308 - Serial Number: 000000000 +# 24.156326 - Bus: 001 +# 24.156345 - Device release number: 0003 +# 24.156363 Trying to match device +# 24.156412 Device matches +# 24.156455 failed to claim USB device: could not claim interface 0: Device or resource busy +# 24.156629 detached kernel driver from USB device... +# 24.407581 libusb_get_interrupt: Connection timed out +# 24.407643 Got 0 HID objects... +# 24.407669 Quick update... +# 26.141289 upsdrv_updateinfo... +# 26.392265 libusb_get_interrupt: Connection timed out +# 26.392330 Got 0 HID objects... +# 26.392359 Quick update... +# 28.143073 upsdrv_updateinfo... +# 28.143195 libusb_get_interrupt: error submitting URB: Device or resource busy +# 28.143230 Got disconnected by another driver: Device or resource busy +# 30.145103 upsdrv_updateinfo... +# 30.145186 Got to reconnect! + +# 30.145864 Checking device (06DA/FFFF) (001/004) +# 30.164101 - VendorID: 06da +# 30.164145 - ProductID: ffff +# 30.164179 - Manufacturer: PPC +# 30.164198 - Product: Offline UPS +# 30.164216 - Serial Number: 000000000 +# 30.164244 - Bus: 001 +# 30.164263 - Device release number: 0003 +# 30.164281 Trying to match device +# 30.164377 Device matches +# 30.164458 failed to claim USB device: could not claim interface 0: Device or resource busy +# 30.164716 detached kernel driver from USB device... +# 30.415514 libusb_get_interrupt: Connection timed out +# 30.415593 Got 0 HID objects... +# 30.415622 Quick update... +# 32.146880 upsdrv_updateinfo... +# 32.397609 libusb_get_interrupt: Connection timed out +# 32.397657 Got 0 HID objects... +# 32.397683 Full update... +# 34.147552 upsdrv_updateinfo... +# 34.147701 libusb_get_interrupt: error submitting URB: Device or resource busy +# 34.147739 Got disconnected by another driver: Device or resource busy +# 36.149599 upsdrv_updateinfo... +# 36.149677 Got to reconnect! + +# 36.150625 Checking device (06DA/FFFF) (001/004) +# 36.166492 - VendorID: 06da +# 36.166566 - ProductID: ffff +# 36.166760 - Manufacturer: PPC +# 36.166784 - Product: Offline UPS +# 36.166803 - Serial Number: 000000000 +# 36.166821 - Bus: 001 +# 36.166841 - Device release number: 0003 +# 36.166858 Trying to match device +# 36.166908 Device matches +# 36.166950 failed to claim USB device: could not claim interface 0: Device or resource busy +# 36.167100 detached kernel driver from USB device... +# 36.418357 libusb_get_interrupt: Connection timed out +# 36.418577 Got 0 HID objects... +# 36.418706 Quick update... +# 38.151364 upsdrv_updateinfo... +# 38.401754 libusb_get_interrupt: Connection timed out +# 38.401921 Got 0 HID objects... +# 38.402061 Quick update... +# 40.153138 upsdrv_updateinfo... +# 40.153433 libusb_get_interrupt: error submitting URB: Device or resource busy +# 40.153587 Got disconnected by another driver: Device or resource busy +# 42.155174 upsdrv_updateinfo... +# 42.155429 Got to reconnect! + +# 42.156104 Checking device (06DA/FFFF) (001/004) +# 42.174383 - VendorID: 06da +# 42.174618 - ProductID: ffff +# 42.174831 - Manufacturer: PPC +# 42.175023 - Product: Offline UPS +# 42.175217 - Serial Number: 000000000 +# 42.175439 - Bus: 001 +# 42.175598 - Device release number: 0003 +# 42.175790 Trying to match device +# 42.176015 Device matches +# 42.176234 failed to claim USB device: could not claim interface 0: Device or resource busy +# 42.176606 detached kernel driver from USB device... +# 42.177347 Got 2 HID objects... +# 42.177699 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 42.177946 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, Size: 16, Value: 3290 +# 42.178154 Quick update... +# 44.157188 upsdrv_updateinfo... +# 44.407700 libusb_get_interrupt: Connection timed out +# 44.407896 Got 0 HID objects... +# 44.408035 Quick update... +# 46.158968 upsdrv_updateinfo... +# 46.159240 libusb_get_interrupt: error submitting URB: Device or resource busy +# 46.159394 Got disconnected by another driver: Device or resource busy +# 48.160986 upsdrv_updateinfo... +# 48.161459 Got to reconnect! + +# 48.162017 Checking device (06DA/FFFF) (001/004) +# 48.180297 - VendorID: 06da +# 48.180346 - ProductID: ffff +# 48.180369 - Manufacturer: PPC +# 48.180387 - Product: Offline UPS +# 48.180406 - Serial Number: 000000000 +# 48.180424 - Bus: 001 +# 48.180446 - Device release number: 0003 +# 48.180463 Trying to match device +# 48.180513 Device matches +# 48.180555 failed to claim USB device: could not claim interface 0: Device or resource busy +# 48.180946 detached kernel driver from USB device... +# 48.431837 libusb_get_interrupt: Connection timed out +# 48.432192 Got 0 HID objects... +# 48.432466 Quick update... +# 50.162754 upsdrv_updateinfo... +# 50.413827 libusb_get_interrupt: Connection timed out +# 50.414011 Got 0 HID objects... +# 50.414155 Quick update... +# 52.164549 upsdrv_updateinfo... +# 52.164894 libusb_get_interrupt: error submitting URB: Device or resource busy +# 52.165149 Got disconnected by another driver: Device or resource busy +# 54.166567 upsdrv_updateinfo... +# 54.166849 Got to reconnect! + +# 54.167692 Checking device (06DA/FFFF) (001/004) +# 54.186175 - VendorID: 06da +# 54.186377 - ProductID: ffff +# 54.186541 - Manufacturer: PPC +# 54.186707 - Product: Offline UPS +# 54.186969 - Serial Number: 000000000 +# 54.187212 - Bus: 001 +# 54.187856 - Device release number: 0003 +# 54.187995 Trying to match device +# 54.188270 Device matches +# 54.188552 failed to claim USB device: could not claim interface 0: Device or resource busy +# 54.188990 detached kernel driver from USB device... +# 54.439788 libusb_get_interrupt: Connection timed out +# 54.440007 Got 0 HID objects... +# 54.440190 Quick update... +# 56.167554 upsdrv_updateinfo... +# 56.418806 libusb_get_interrupt: Connection timed out +# 56.419057 Got 0 HID objects... +# 56.419242 Quick update... +# 58.169340 upsdrv_updateinfo... +# 58.169650 libusb_get_interrupt: error submitting URB: Device or resource busy +# 58.169847 Got disconnected by another driver: Device or resource busy +# 60.171378 upsdrv_updateinfo... +# 60.171853 Got to reconnect! + +# 60.172461 Checking device (06DA/FFFF) (001/004) +# 60.189570 - VendorID: 06da +# 60.189768 - ProductID: ffff +# 60.189945 - Manufacturer: PPC +# 60.190209 - Product: Offline UPS +# 60.190478 - Serial Number: 000000000 +# 60.190762 - Bus: 001 +# 60.190995 - Device release number: 0003 +# 60.191241 Trying to match device +# 60.191524 Device matches +# 60.191834 failed to claim USB device: could not claim interface 0: Device or resource busy +# 60.192342 detached kernel driver from USB device... +# 60.442945 libusb_get_interrupt: Connection timed out +# 60.443174 Got 0 HID objects... +# 60.443346 Quick update... +# 62.173161 upsdrv_updateinfo... +# 62.423894 libusb_get_interrupt: Connection timed out +# 62.424097 Got 0 HID objects... +# 62.424281 Quick update... +# 64.174949 upsdrv_updateinfo... +# 64.175298 libusb_get_interrupt: error submitting URB: Device or resource busy +# 64.175582 Got disconnected by another driver: Device or resource busy +# 66.176989 upsdrv_updateinfo... +# 66.177272 Got to reconnect! + +# 66.178279 Checking device (06DA/FFFF) (001/004) +# 66.195455 - VendorID: 06da +# 66.195638 - ProductID: ffff +# 66.195864 - Manufacturer: PPC +# 66.196332 - Product: Offline UPS +# 66.196612 - Serial Number: 000000000 +# 66.196883 - Bus: 001 +# 66.197142 - Device release number: 0003 +# 66.197449 Trying to match device +# 66.197801 Device matches +# 66.198203 failed to claim USB device: could not claim interface 0: Device or resource busy +# 66.198609 detached kernel driver from USB device... +# 66.264496 Got 2 HID objects... +# 66.264780 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 66.265088 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, Size: 16, Value: 3290 +# 66.265485 Full update... +# 68.178940 upsdrv_updateinfo... +# 68.429587 libusb_get_interrupt: Connection timed out +# 68.429813 Got 0 HID objects... +# 68.430086 Quick update... +# 70.180726 upsdrv_updateinfo... +# 70.181035 libusb_get_interrupt: error submitting URB: Device or resource busy +# 70.181342 Got disconnected by another driver: Device or resource busy +# 72.182771 upsdrv_updateinfo... +# 72.183079 Got to reconnect! + +# 72.184126 Checking device (06DA/FFFF) (001/004) +# 72.201353 - VendorID: 06da +# 72.201529 - ProductID: ffff +# 72.201749 - Manufacturer: PPC +# 72.202115 - Product: Offline UPS +# 72.202259 - Serial Number: 000000000 +# 72.202560 - Bus: 001 +# 72.202887 - Device release number: 0003 +# 72.203092 Trying to match device +# 72.203444 Device matches +# 72.203767 failed to claim USB device: could not claim interface 0: Device or resource busy +# 72.204274 detached kernel driver from USB device... +# 72.205013 Got 2 HID objects... +# 72.205266 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 72.205669 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, Size: 16, Value: 3290 +# 72.205934 Quick update... +# 74.184790 upsdrv_updateinfo... +# 74.435183 libusb_get_interrupt: Connection timed out +# 74.435421 Got 0 HID objects... +# 74.435664 Quick update... +# 76.186589 upsdrv_updateinfo... +# 76.186929 libusb_get_interrupt: error submitting URB: Device or resource busy +# 76.187200 Got disconnected by another driver: Device or resource busy +# 78.188634 upsdrv_updateinfo... +# 78.189001 Got to reconnect! + +# 78.190197 Checking device (06DA/FFFF) (001/004) +# 78.208737 - VendorID: 06da +# 78.208999 - ProductID: ffff +# 78.209239 - Manufacturer: PPC +# 78.209665 - Product: Offline UPS +# 78.209976 - Serial Number: 000000000 +# 78.210176 - Bus: 001 +# 78.210570 - Device release number: 0003 +# 78.210764 Trying to match device +# 78.211089 Device matches +# 78.211547 failed to claim USB device: could not claim interface 0: Device or resource busy +# 78.212141 detached kernel driver from USB device... +# 78.213404 Got 2 HID objects... +# 78.213653 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 78.213928 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, Size: 16, Value: 3359 +# 78.214139 Quick update... +# 80.190662 upsdrv_updateinfo... +# 80.441546 libusb_get_interrupt: Connection timed out +# 80.441730 Got 0 HID objects... +# 80.441908 Quick update... +# 82.192449 upsdrv_updateinfo... +# 82.192761 libusb_get_interrupt: error submitting URB: Device or resource busy +# 82.193030 Got disconnected by another driver: Device or resource busy +# 84.194502 upsdrv_updateinfo... +# 84.195144 Got to reconnect! + +# 84.195827 Checking device (06DA/FFFF) (001/004) +# 84.211641 - VendorID: 06da +# 84.211855 - ProductID: ffff +# 84.212124 - Manufacturer: PPC +# 84.212577 - Product: Offline UPS +# 84.212927 - Serial Number: 000000000 +# 84.213143 - Bus: 001 +# 84.213436 - Device release number: 0003 +# 84.213780 Trying to match device +# 84.214333 Device matches +# 84.214600 failed to claim USB device: could not claim interface 0: Device or resource busy +# 84.215166 detached kernel driver from USB device... +# 84.466363 libusb_get_interrupt: Connection timed out +# 84.466602 Got 0 HID objects... +# 84.466749 Quick update... +# 86.196273 upsdrv_updateinfo... +# 86.447135 libusb_get_interrupt: Connection timed out +# 86.447320 Got 0 HID objects... +# 86.447448 Quick update... +# 88.198056 upsdrv_updateinfo... +# 88.198367 libusb_get_interrupt: error submitting URB: Device or resource busy +# 88.198530 Got disconnected by another driver: Device or resource busy +# 90.200092 upsdrv_updateinfo... +# 90.200337 Got to reconnect! + +# 90.201002 Checking device (06DA/FFFF) (001/004) +# 90.217010 - VendorID: 06da +# 90.217212 - ProductID: ffff +# 90.217336 - Manufacturer: PPC +# 90.217455 - Product: Offline UPS +# 90.217645 - Serial Number: 000000000 +# 90.217765 - Bus: 001 +# 90.217887 - Device release number: 0003 +# 90.218003 Trying to match device +# 90.218153 Device matches +# 90.218298 failed to claim USB device: could not claim interface 0: Device or resource busy +# 90.218557 detached kernel driver from USB device... +# 90.469784 libusb_get_interrupt: Connection timed out +# 90.470028 Got 0 HID objects... +# 90.470177 Quick update... +# 92.201861 upsdrv_updateinfo... +# 92.452855 libusb_get_interrupt: Connection timed out +# 92.453056 Got 0 HID objects... +# 92.453190 Quick update... +# 94.203646 upsdrv_updateinfo... +# 94.204001 libusb_get_interrupt: error submitting URB: Device or resource busy +# 94.204169 Got disconnected by another driver: Device or resource busy +# 96.205678 upsdrv_updateinfo... +# 96.205927 Got to reconnect! + +# 96.206600 Checking device (06DA/FFFF) (001/004) +# 96.222395 - VendorID: 06da +# 96.222597 - ProductID: ffff +# 96.222721 - Manufacturer: PPC +# 96.222844 - Product: Offline UPS +# 96.222964 - Serial Number: 000000000 +# 96.223099 - Bus: 001 +# 96.223221 - Device release number: 0003 +# 96.223339 Trying to match device +# 96.223492 Device matches +# 96.223636 failed to claim USB device: could not claim interface 0: Device or resource busy +# 96.223901 detached kernel driver from USB device... +# 96.474574 libusb_get_interrupt: Connection timed out +# 96.474798 Got 0 HID objects... +# 96.474931 Quick update... +# 98.207449 upsdrv_updateinfo... +# 98.458528 libusb_get_interrupt: Connection timed out +# 98.458720 Got 0 HID objects... +# 98.458863 Full update... +# 100.209250 upsdrv_updateinfo... +# 100.209575 libusb_get_interrupt: error submitting URB: Device or resource busy +# 100.209737 Got disconnected by another driver: Device or resource busy +# 102.211283 upsdrv_updateinfo... +# 102.211535 Got to reconnect! + +# 102.212202 Checking device (06DA/FFFF) (001/004) +# 102.229280 - VendorID: 06da +# 102.229385 - ProductID: ffff +# 102.229408 - Manufacturer: PPC +# 102.229427 - Product: Offline UPS +# 102.229445 - Serial Number: 000000000 +# 102.229462 - Bus: 001 +# 102.229484 - Device release number: 0003 +# 102.229501 Trying to match device +# 102.229549 Device matches +# 102.229589 failed to claim USB device: could not claim interface 0: Device or resource busy +# 102.229739 detached kernel driver from USB device... +# 102.480168 libusb_get_interrupt: Connection timed out +# 102.480379 Got 0 HID objects... +# 102.480511 Quick update... +# 104.213050 upsdrv_updateinfo... +# 104.464065 libusb_get_interrupt: Connection timed out +# 104.464262 Got 0 HID objects... +# 104.464396 Quick update... +# 106.214836 upsdrv_updateinfo... +# 106.215139 libusb_get_interrupt: error submitting URB: Device or resource busy +# 106.215371 Got disconnected by another driver: Device or resource busy +# 108.216875 upsdrv_updateinfo... +# 108.217141 Got to reconnect! + +# 108.218024 Checking device (06DA/FFFF) (001/004) +# 108.234168 - VendorID: 06da +# 108.234402 - ProductID: ffff +# 108.234594 - Manufacturer: PPC +# 108.234784 - Product: Offline UPS +# 108.235153 - Serial Number: 000000000 +# 108.235439 - Bus: 001 +# 108.235616 - Device release number: 0003 +# 108.235882 Trying to match device +# 108.236212 Device matches +# 108.236594 failed to claim USB device: could not claim interface 0: Device or resource busy +# 108.237032 detached kernel driver from USB device... +# 108.237909 Got 2 HID objects... +# 108.238150 Path: UPS.PowerSummary.RemainingCapacity, Type: Input, ReportID: 0x06, Offset: 0, Size: 8, Value: 100 +# 108.238498 Path: UPS.PowerSummary.RunTimeToEmpty, Type: Input, ReportID: 0x06, Offset: 8, Size: 16, Value: 3290 +# 108.238773 Quick update... +# 110.218905 upsdrv_updateinfo... +# 110.469647 libusb_get_interrupt: Connection timed out +# 110.469857 Got 0 HID objects... +# 110.470093 Quick update... +# DEVICE:EOC From 3fe7d309e436816c5d0ad2354117264830ec9306 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Thu, 31 Aug 2023 09:54:51 +0200 Subject: [PATCH 06/12] Update PowerWalker VI reports [networkupstools/nut#483] Signed-off-by: Jim Klimov --- ...lker__VI_650_SH__usbhid-ups__2.7.4__02.dev | 33 +++++++++++++++++++ ...lker__VI_650_SH__usbhid-ups__2.7.4__03.dev | 28 ++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 PowerWalker/PowerWalker__VI_650_SH__usbhid-ups__2.7.4__02.dev create mode 100644 PowerWalker/PowerWalker__VI_650_SH__usbhid-ups__2.7.4__03.dev diff --git a/PowerWalker/PowerWalker__VI_650_SH__usbhid-ups__2.7.4__02.dev b/PowerWalker/PowerWalker__VI_650_SH__usbhid-ups__2.7.4__02.dev new file mode 100644 index 0000000..33b89c4 --- /dev/null +++ b/PowerWalker/PowerWalker__VI_650_SH__usbhid-ups__2.7.4__02.dev @@ -0,0 +1,33 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/483 + +# DEVICE:COMMENT: +# Here is the output from FreeNas 11.0-U4. +# +# UPS Notification works on FreeNas 11.0-U4 so I assume that the +# shutdown sequence should also work. If the service can detect +# a change, the service will probably shut down the machine also. +# DEVICE:EOC + +battery.charge: 100 +battery.runtime: 2615 +battery.type: PbAc +battery.voltage: 14 +device.mfr: PPC +device.model: Offline UPS +device.serial: 000000000 +device.type: ups +driver.name: usbhid-ups +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.synchronous: no +driver.version: 2.7.4 +driver.version.data: Phoenixtec/Liebert HID 0.3 +driver.version.internal: 0.41 +ups.load: 16 +ups.mfr: PPC +ups.model: Offline UPS +ups.productid: ffff +ups.serial: 000000000 +ups.status: OL CHRG +ups.vendorid: 06da diff --git a/PowerWalker/PowerWalker__VI_650_SH__usbhid-ups__2.7.4__03.dev b/PowerWalker/PowerWalker__VI_650_SH__usbhid-ups__2.7.4__03.dev new file mode 100644 index 0000000..070a93d --- /dev/null +++ b/PowerWalker/PowerWalker__VI_650_SH__usbhid-ups__2.7.4__03.dev @@ -0,0 +1,28 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/483 + +# DEVICE:COMMENT: +# And here for completeness the output from the PI running Armbian +# DEVICE:EOC + +battery.charge: 100 +battery.runtime: 2418 +battery.type: PbAc +battery.voltage: 14 +device.mfr: PPC +device.model: Offline UPS +device.serial: 000000000 +device.type: ups +driver.name: usbhid-ups +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.version: 2.7.2 +driver.version.data: Liebert HID 0.3 +driver.version.internal: 0.38 +ups.load: 16 +ups.mfr: PPC +ups.model: Offline UPS +ups.productid: ffff +ups.serial: 000000000 +ups.status: OL CHRG +ups.vendorid: 06da From a3f50813251f536c50373a26d1456526514211af Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Thu, 31 Aug 2023 10:44:57 +0200 Subject: [PATCH 07/12] Add UPSonic IRT-3K 2U [networkupstools/nut#441] Signed-off-by: Jim Klimov --- ...Sonic__IRT-3K-2U__nutdrv_qx__2.7.4__01.dev | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 UPSonic/UPSonic__IRT-3K-2U__nutdrv_qx__2.7.4__01.dev diff --git a/UPSonic/UPSonic__IRT-3K-2U__nutdrv_qx__2.7.4__01.dev b/UPSonic/UPSonic__IRT-3K-2U__nutdrv_qx__2.7.4__01.dev new file mode 100644 index 0000000..e0a2ec4 --- /dev/null +++ b/UPSonic/UPSonic__IRT-3K-2U__nutdrv_qx__2.7.4__01.dev @@ -0,0 +1,59 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/441#issuecomment-1288238345 +# DEVICE:URL:REPORT: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019624 + +# DEVICE:COMMENT-BLOCK: +# My UPS, model "UPSONIC IRT-3K 2U" is about 10 years old. +# The equivalent current model appears to be +# https://www.upsonic.com.au/upsonic-esart-rack-or-tower-series-ups/ +# +# With NUT 2.7.4 it is subject to the protocol issue (replies not terminated +# by CR) which should be addressed with NUT 2.8.0 release. It also worked +# previously with NUT 2.4.3-1ubuntu3.2 and `megatec_usb` driver which was +# not as strict about the protocol nuances as NUT 2.7.4. +# +# Packages: +# ---- +# cyber@light:~$ dpkg-query -W 'nut*' +# nut-cgi +# nut-client 2.7.4-13 +# nut-ipmi +# nut-monitor +# nut-server 2.7.4-13 +# nut-snmp +# nut-xml +# ---- +# DEVICE:EOC + +battery.charge: 100 +battery.voltage: 2.29 +battery.voltage.high: 78.00 +battery.voltage.low: 62.40 +battery.voltage.nominal: 72.0 +device.mfr: UPSONIC +device.model: IRT-3K 2U +device.type: ups +driver.name: nutdrv_qx_cyber +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.synchronous: no +driver.version: 2.7.4 +driver.version.data: Upsonic 0.06 +driver.version.internal: 0.28 +input.current.nominal: 14.0 +input.frequency: 49.9 +input.frequency.nominal: 50 +input.voltage: 229.0 +input.voltage.fault: 120.0 +input.voltage.nominal: 240 +output.voltage: 240.0 +ups.beeper.status: enabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.firmware: MP001155 +ups.load: 49 +ups.productid: 0000 +ups.status: OL +ups.temperature: 20.0 +ups.type: online +ups.vendorid: ffff From 735513614ce0583687cecceebd4dc7ac34a6e65f Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Thu, 31 Aug 2023 11:14:20 +0200 Subject: [PATCH 08/12] Add Legrand Keor PDU 800 reports [networkupstools/nut#616] Signed-off-by: Jim Klimov --- ..._Keor_PDU_800__usbhid-ups__2.7.4.1__01.dev | 47 +++++++++++++++++ ..._Keor_PDU_800__usbhid-ups__2.8.0.1__01.dev | 50 +++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 Legrand/Legrand__Keor_PDU_800__usbhid-ups__2.7.4.1__01.dev create mode 100644 Legrand/Legrand__Keor_PDU_800__usbhid-ups__2.8.0.1__01.dev diff --git a/Legrand/Legrand__Keor_PDU_800__usbhid-ups__2.7.4.1__01.dev b/Legrand/Legrand__Keor_PDU_800__usbhid-ups__2.7.4.1__01.dev new file mode 100644 index 0000000..3bd8b4b --- /dev/null +++ b/Legrand/Legrand__Keor_PDU_800__usbhid-ups__2.7.4.1__01.dev @@ -0,0 +1,47 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/616#issuecomment-1166722226 + +# DEVICE:COMMENT-BLOCK: +# Device support relies on code that went into NUT v2.8.0 release; +# the report was done on a development snapshot so dubbed "2.7.4.1". +# +# It outputs the current of all devices, the PDU800 doesn't support +# metrics per output plug. +# DEVICE:EOC + +battery.charge: 100 +battery.charge.low: 10 +battery.charge.warning: 20 +battery.runtime: 2520 +battery.voltage: 1.4 +battery.voltage.nominal: 1.2 +device.mfr: Legrand +device.model: KEOR PDU 800 +device.serial: +device.type: ups +driver.name: usbhid-ups +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.productid: 0038 +driver.parameter.synchronous: no +driver.parameter.vendorid: 1cb0 +driver.version: 2.7.4-4539-gefb9ee45 +driver.version.data: Legrand HID 0.2 +driver.version.internal: 0.45 +driver.version.usb: libusb-1.0.24 (API: 0x1000108) +input.transfer.high: 270 +input.transfer.low: 180 +input.voltage: 236 +input.voltage.nominal: 230 +output.frequency: 50 +output.voltage: 6 +ups.delay.shutdown: 20 +ups.delay.start: 30 +ups.load: 20 +ups.mfr: Legrand +ups.model: KEOR PDU 800 +ups.productid: 0038 +ups.realpower.nominal: 480 +ups.serial: +ups.status: OL CHRG +ups.vendorid: 1cb0 diff --git a/Legrand/Legrand__Keor_PDU_800__usbhid-ups__2.8.0.1__01.dev b/Legrand/Legrand__Keor_PDU_800__usbhid-ups__2.8.0.1__01.dev new file mode 100644 index 0000000..4282a7c --- /dev/null +++ b/Legrand/Legrand__Keor_PDU_800__usbhid-ups__2.8.0.1__01.dev @@ -0,0 +1,50 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/616#issuecomment-1640371303 + +# DEVICE:COMMENT-BLOCK: +# Voltages seemed to be off by a factor of 10. So the report author +# experimented with neutering of `divide_by_10_conversion()` and +# `legrand_times10M_info()` in the mapping tables. +# +# NOTE: The report below is not from a stock NUT release (nor snapshot), +# but from that experiment. Voltages are bumped (or rather not-nerfed +# by default driver logic), `1.2` => `12` etc. +# DEVICE:EOC + +battery.charge: 100 +battery.charge.low: 10 +battery.charge.warning: 20 +battery.runtime: 1620 +battery.voltage: 14 +battery.voltage.nominal: 12 +device.mfr: Legrand +device.model: KEOR PDU 800 +device.serial: +device.type: ups +driver.name: usbhid-ups +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 15 +driver.parameter.port: auto +driver.parameter.productid: 0038 +driver.parameter.synchronous: auto +driver.parameter.vendorid: 1cb0 +driver.state: quiet +driver.version: 2.8.0-Windows-726-g73ee107fa +driver.version.data: Legrand HID 0.2 +driver.version.internal: 0.49 +driver.version.usb: libusb-0.1 (or compat) +input.transfer.high: 270 +input.transfer.low: 180 +input.voltage: 236 +input.voltage.nominal: 230 +output.frequency: 50 +output.voltage: 235.6 +ups.delay.shutdown: 20 +ups.delay.start: 30 +ups.load: 32 +ups.mfr: Legrand +ups.model: KEOR PDU 800 +ups.productid: 0038 +ups.realpower.nominal: 480 +ups.serial: +ups.status: OL CHRG +ups.vendorid: 1cb0 From 003ebc01a62f1068eba1477f62dcfcf62a0a3d4a Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Thu, 31 Aug 2023 16:41:43 +0200 Subject: [PATCH 09/12] Add UltraMax 1000SC reports [networkupstools/nut#1634] Signed-off-by: Jim Klimov --- ...traMax__1000SC__nutdrv_qx__2.8.0.1__01.dev | 77 +++++++++++++++++++ ...traMax__1000SC__nutdrv_qx__2.8.0.1__02.dev | 60 +++++++++++++++ ...traMax__1000SC__nutdrv_qx__2.8.0.1__03.dev | 67 ++++++++++++++++ ...traMax__1000SC__nutdrv_qx__2.8.0.1__04.dev | 73 ++++++++++++++++++ 4 files changed, 277 insertions(+) create mode 100644 UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__01.dev create mode 100644 UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__02.dev create mode 100644 UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__03.dev create mode 100644 UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__04.dev diff --git a/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__01.dev b/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__01.dev new file mode 100644 index 0000000..b69784d --- /dev/null +++ b/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__01.dev @@ -0,0 +1,77 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1634 +# DEVICE:URL:REPORT: https://pastebin.com/nLdnKPRS +# DEVICE:URL:VENDOR: https://ultramax.co.uk/catalog/product/view/id/1708/s/ultra-max-1000sc-usb-1000va-600w-line-interactive-battery-backup-ups-system/category/145/ + +# DEVICE:COMMENT-BLOCK: +# This device was tried with different `ups.conf` override settings +# and with the default behavior. See nearby for the other reports. +# +# Custom built from NUT master branch snapshot. +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:UPSCONF: +# #user = root +# maxretry = 3 +# [ultramax] +# driver = "nutdrv_qx" +# port = "auto" +# vendorid = "0665" +# productid = "5161" +# product = "USB to Serial" +# vendor = "WCHCH544" +# bus = "003" +# device = "005" +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:LOGS: Messages of NUT startup +# :; sudo upsdrvctl start +# Network UPS Tools - UPS driver controller 2.8.0-Windows-542-gccfb356 +# Network UPS Tools - Generic Q* USB/Serial driver 0.32 (2.8.0-Windows-542-gccfb356) +# USB communication driver (libusb 1.0) 0.45 +# Using protocol: Mustek 0.07 +# Can't autodetect number of battery packs [-1/27.20] +# Battery runtime will not be calculated (runtimecal not set) +# +# +# Jan 30 10:05:11 nas nutdrv_qx[8390]: Can't autodetect number of battery packs [-1/27.20] +# Jan 30 10:05:11 nas nutdrv_qx[8390]: Battery runtime will not be calculated (runtimecal not set) +# Jan 30 10:05:12 nas nutdrv_qx[8570]: Startup successful +# +# :; sudo /usr/sbin/upsmon +# Network UPS Tools upsmon 2.8.0-Windows-542-gccfb356 +# fopen /run/upsmon.pid: No such file or directory +# Could not find PID file to see if previous upsmon instance is already running! +# UPS: ultramax@localhost (primary) (power value 1) +# Using power down flag file /etc/killpower +# DEVICE:EOC + +battery.voltage: 27.20 +device.type: ups +driver.name: nutdrv_qx +driver.parameter.bus: 003 +driver.parameter.device: 005 +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.product: USB to Serial +driver.parameter.productid: 5161 +driver.parameter.synchronous: auto +driver.parameter.vendor: WCHCH544 +driver.parameter.vendorid: 0665 +driver.state: quiet +driver.version: 2.8.0-Windows-542-gccfb356 +driver.version.data: Mustek 0.07 +driver.version.internal: 0.32 +driver.version.usb: libusb-1.0.20 (API: 0x1000104) +input.frequency: 50.0 +input.voltage: 242.3 +input.voltage.fault: 242.3 +output.voltage: 242.3 +ups.beeper.status: enabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.load: 13 +ups.productid: 5161 +ups.status: OL +ups.type: offline / line interactive +ups.vendorid: 0665 diff --git a/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__02.dev b/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__02.dev new file mode 100644 index 0000000..561047d --- /dev/null +++ b/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__02.dev @@ -0,0 +1,60 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1634 +# DEVICE:URL:REPORT: https://pastebin.com/nLdnKPRS +# DEVICE:URL:VENDOR: https://ultramax.co.uk/catalog/product/view/id/1708/s/ultra-max-1000sc-usb-1000va-600w-line-interactive-battery-backup-ups-system/category/145/ + +# DEVICE:COMMENT-BLOCK: +# This device was tried with different `ups.conf` override settings +# and with the default behavior. See nearby for the other reports. +# +# Custom built from NUT master branch snapshot. +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:UPSCONF: +# #user = root +# maxretry = 3 +# [ultramax] +# driver = "nutdrv_qx" +# port = "auto" +# vendorid = "0665" +# productid = "5161" +# product = "USB to Serial" +# vendor = "WCHCH544" +# bus = "003" +# default.battery.voltage.high = 24 +# default.battery.voltage.low = 1 +# override.battery.packs = 2 +# DEVICE:EOC + +battery.charge: 100 +battery.packs: 2 +battery.voltage: 27.20 +battery.voltage.high: 24 +battery.voltage.low: 1 +device.type: ups +driver.name: nutdrv_qx +driver.parameter.bus: 003 +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.product: USB to Serial +driver.parameter.productid: 5161 +driver.parameter.synchronous: auto +driver.parameter.vendor: WCHCH544 +driver.parameter.vendorid: 0665 +driver.state: quiet +driver.version: 2.8.0-Windows-542-gccfb356 +driver.version.data: Mustek 0.07 +driver.version.internal: 0.32 +driver.version.usb: libusb-1.0.20 (API: 0x1000104) +input.frequency: 50.2 +input.voltage: 242.3 +input.voltage.fault: 242.3 +output.voltage: 242.3 +ups.beeper.status: enabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.load: 13 +ups.productid: 5161 +ups.status: OL +ups.type: offline / line interactive +ups.vendorid: 0665 diff --git a/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__03.dev b/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__03.dev new file mode 100644 index 0000000..bc4199e --- /dev/null +++ b/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__03.dev @@ -0,0 +1,67 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1634 +# DEVICE:URL:REPORT: https://pastebin.com/nLdnKPRS +# DEVICE:URL:VENDOR: https://ultramax.co.uk/catalog/product/view/id/1708/s/ultra-max-1000sc-usb-1000va-600w-line-interactive-battery-backup-ups-system/category/145/ + +# DEVICE:COMMENT-BLOCK: +# This device was tried with different `ups.conf` override settings +# and with the default behavior. See nearby for the other reports. +# +# Custom built from NUT master branch snapshot. +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:UPSCONF: +# #user = nut +# maxretry = 3 +# [ultramax] +# driver = "nutdrv_qx" +# port = "auto" +# vendorid = "0665" +# productid = "5161" +# product = "USB to Serial" +# vendor = "WCHCH544" +# bus = "003" +# default.battery.voltage.high = 24 +# default.battery.voltage.low = 1 +# override.battery.packs = 2 +# runtimecal = 300,100,900,50 +# chargetime = 21600 +# idleload = 10 +# DEVICE:EOC + +battery.charge: 100 +battery.packs: 2 +battery.runtime: 3000 +battery.voltage: 27.20 +battery.voltage.high: 24 +battery.voltage.low: 1 +device.type: ups +driver.name: nutdrv_qx +driver.parameter.bus: 003 +driver.parameter.chargetime: 21600 +driver.parameter.idleload: 10 +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.product: USB to Serial +driver.parameter.productid: 5161 +driver.parameter.runtimecal: 300,100,900,50 +driver.parameter.synchronous: auto +driver.parameter.vendor: WCHCH544 +driver.parameter.vendorid: 0665 +driver.state: quiet +driver.version: 2.8.0-Windows-542-gccfb356 +driver.version.data: Mustek 0.07 +driver.version.internal: 0.32 +driver.version.usb: libusb-1.0.20 (API: 0x1000104) +input.frequency: 50.2 +input.voltage: 242.3 +input.voltage.fault: 242.3 +output.voltage: 242.3 +ups.beeper.status: enabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.load: 13 +ups.productid: 5161 +ups.status: OL +ups.type: offline / line interactive +ups.vendorid: 0665 diff --git a/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__04.dev b/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__04.dev new file mode 100644 index 0000000..9dc44ff --- /dev/null +++ b/UltraMax/UltraMax__1000SC__nutdrv_qx__2.8.0.1__04.dev @@ -0,0 +1,73 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1634 +# DEVICE:URL:REPORT: https://pastebin.com/nLdnKPRS +# DEVICE:URL:VENDOR: https://ultramax.co.uk/catalog/product/view/id/1708/s/ultra-max-1000sc-usb-1000va-600w-line-interactive-battery-backup-ups-system/category/145/ + +# DEVICE:COMMENT-BLOCK: +# This device was tried with different `ups.conf` override settings +# and with the default behavior. See nearby for the other reports. +# +# Custom built from NUT master branch snapshot. +# +# According to vendor, "Battery Type : 2 x 12volt 7Amps (INCLUDED)" +# so this example tunes the tweaks for these values. +# DEVICE:EOC + +# DEVICE:COMMENT-BLOCK:UPSCONF: +# #user = nut +# maxretry = 3 +# [ultramax] +# driver = "nutdrv_qx" +# port = "auto" +# vendorid = "0665" +# productid = "5161" +# product = "USB to Serial" +# vendor = "WCHCH544" +# bus = "003" +# override.battery.voltage.high = 27.2 +# override.battery.voltage.nominal = 24.0 +# override.battery.voltage.low = 21.0 +# override.battery.packs = 2 +# runtimecal = 300,100,900,50 +# chargetime = 21600 +# idleload = 10 +# DEVICE:EOC + +# upsc ultramax@localhost +battery.charge: 100 +battery.packs: 2 +battery.runtime: 3000 +battery.voltage: 27.40 +battery.voltage.high: 27.2 +battery.voltage.low: 21.0 +battery.voltage.nominal: 24.0 +device.type: ups +driver.name: nutdrv_qx +driver.parameter.bus: 003 +driver.parameter.chargetime: 21600 +driver.parameter.idleload: 10 +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.product: USB to Serial +driver.parameter.productid: 5161 +driver.parameter.runtimecal: 300,100,900,50 +driver.parameter.synchronous: auto +driver.parameter.vendor: WCHCH544 +driver.parameter.vendorid: 0665 +driver.state: quiet +driver.version: 2.8.0-Windows-542-gccfb356 +driver.version.data: Mustek 0.07 +driver.version.internal: 0.32 +driver.version.usb: libusb-1.0.20 (API: 0x1000104) +input.frequency: 50.0 +input.voltage: 240.3 +input.voltage.fault: 240.3 +output.voltage: 240.3 +ups.beeper.status: enabled +ups.delay.shutdown: 30 +ups.delay.start: 180 +ups.load: 13 +ups.productid: 5161 +ups.status: OL +ups.type: offline / line interactive +ups.vendorid: 0665 From c50cbf052474c1c1448719287b0dfc5437a479f7 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Thu, 31 Aug 2023 16:52:16 +0200 Subject: [PATCH 10/12] Add APC SmartUPS 2200 (USB) and SmartUPS SUA1000 (SNMP) reports [networkupstools/nut#1740] Signed-off-by: Jim Klimov --- ...C__Smart-UPS_1000__snmp-ups__2.7.4__01.dev | 62 +++++++++++++++++++ ..._Smart-UPS_2200__usbhid-ups__2.7.4__01.dev | 58 +++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 APC/APC__Smart-UPS_1000__snmp-ups__2.7.4__01.dev create mode 100644 APC/APC__Smart-UPS_2200__usbhid-ups__2.7.4__01.dev diff --git a/APC/APC__Smart-UPS_1000__snmp-ups__2.7.4__01.dev b/APC/APC__Smart-UPS_1000__snmp-ups__2.7.4__01.dev new file mode 100644 index 0000000..76174c0 --- /dev/null +++ b/APC/APC__Smart-UPS_1000__snmp-ups__2.7.4__01.dev @@ -0,0 +1,62 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1740#issuecomment-1364539768 + +# DEVICE:COMMENT-BLOCK: +# An APC SUA1000 UPS (reports itself as Smart-UPS 1000) connected via SNMPv1 +# does not have the problem described in this ticket: Battery Runtime matches +# on UPS and NUT monitoring, and equals `70680.00` here. +# DEVICE:EOC + +ambient.1.humidity.alarm.high: 89.00 +ambient.1.humidity.alarm.low: 11.00 +ambient.1.temperature.alarm.high: 59.00 +ambient.1.temperature.alarm.low: 1.00 +battery.charge: 93.00 +battery.charge.restart: 0 +battery.current: 0.00 +battery.date: 12/01/22 +battery.packs: 4.00 +battery.packs.bad: -1.00 +battery.runtime: 70680.00 +battery.runtime.low: 120 +battery.voltage: 25.60 +battery.voltage.nominal: -1.00 +device.mfr: APC +device.model: Smart-UPS 1000 +device.serial: AS0802331853 +device.type: ups +driver.name: snmp-ups +driver.parameter.pollfreq: 20 +driver.parameter.pollinterval: 2 +driver.parameter.port: 192.168.1.51 +driver.parameter.snmp_retries: 10 +driver.parameter.snmp_timeout: 5 +driver.parameter.snmp_version: v1 +driver.parameter.synchronous: no +driver.version: 2.7.4 +driver.version.data: apcc MIB 1.2 +driver.version.internal: 0.97 +input.frequency: 50.00 +input.sensitivity: medium +input.transfer.high: 253 +input.transfer.low: 200 +input.transfer.reason: rateOfVoltageChange +input.voltage: 0.00 +input.voltage.maximum: 0.00 +input.voltage.minimum: 0.00 +output.current: 0.40 +output.frequency: 50.00 +output.voltage: 220.40 +output.voltage.nominal: 220 +ups.delay.shutdown: 0 +ups.delay.start: 0 +ups.firmware: 652.18.I +ups.id: kotel +ups.load: 16.90 +ups.mfr: APC +ups.mfr.date: 01/12/08 +ups.model: Smart-UPS 1000 +ups.serial: AS0802331853 +ups.status: OB +ups.temperature: 33.30 +ups.test.date: 12/11/2022 +ups.test.result: Ok diff --git a/APC/APC__Smart-UPS_2200__usbhid-ups__2.7.4__01.dev b/APC/APC__Smart-UPS_2200__usbhid-ups__2.7.4__01.dev new file mode 100644 index 0000000..bdd433c --- /dev/null +++ b/APC/APC__Smart-UPS_2200__usbhid-ups__2.7.4__01.dev @@ -0,0 +1,58 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1740#issue-1509493225 + +# DEVICE:COMMENT-BLOCK: +# The Battery Runtime data does not match the data from the APC UPS. +# This looks like some kind of variable limitation, since the `upsc` +# shows `65535`, which is equal to 18 hours 12 minutes and 15 seconds. +# But in fact, the APC UPS shows the remaining time as 34 hours 1 min. +# +# Packaged "nut is already the newest version (2.7.4-13)". +# DEVICE:EOC + +battery.charge: 93 +battery.charge.low: 10 +battery.charge.warning: 50 +battery.mfr.date: 2022/10/25 +battery.runtime: 65535 +battery.runtime.low: 1200 +battery.temperature: 16.6 +battery.type: PbAc +battery.voltage: 52.4 +battery.voltage.nominal: 48.0 +device.mfr: American Power Conversion +device.model: Smart-UPS 2200 +device.serial: AS1250244567 +device.type: ups +driver.name: usbhid-ups +driver.parameter.pollfreq: 10 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.synchronous: no +driver.version: 2.7.4 +driver.version.data: APC HID 0.96 +driver.version.internal: 0.41 +input.sensitivity: medium +input.transfer.high: 253 +input.transfer.low: 200 +input.voltage: 0.0 +output.current: 0.50 +output.frequency: 50.0 +output.voltage: 220.4 +output.voltage.nominal: 220.0 +ups.beeper.status: disabled +ups.delay.shutdown: 20 +ups.delay.start: 30 +ups.firmware: 654.19.I +ups.firmware.aux: 7.4 +ups.load: 5.2 +ups.mfr: American Power Conversion +ups.mfr.date: 2012/12/11 +ups.model: Smart-UPS 2200 +ups.productid: 0002 +ups.serial: AS1250244567 +ups.status: OB DISCHRG +ups.test.result: No test initiated +ups.timer.reboot: -1 +ups.timer.shutdown: -1 +ups.timer.start: -1 +ups.vendorid: 051d From 02fdd7d6907f8f77a8020b271dbb91331898ed68 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Thu, 31 Aug 2023 18:09:59 +0200 Subject: [PATCH 11/12] Add APC SmartUPS X 750 (USB) reports [networkupstools/nut#1261] Signed-off-by: Jim Klimov --- ...Smart-UPS_X_750__usbhid-ups__2.7.4__01.dev | 519 ++++++++++++++++++ ...Smart-UPS_X_750__usbhid-ups__2.7.4__02.dev | 44 ++ 2 files changed, 563 insertions(+) create mode 100644 APC/APC__Smart-UPS_X_750__usbhid-ups__2.7.4__01.dev create mode 100644 APC/APC__Smart-UPS_X_750__usbhid-ups__2.7.4__02.dev diff --git a/APC/APC__Smart-UPS_X_750__usbhid-ups__2.7.4__01.dev b/APC/APC__Smart-UPS_X_750__usbhid-ups__2.7.4__01.dev new file mode 100644 index 0000000..a880124 --- /dev/null +++ b/APC/APC__Smart-UPS_X_750__usbhid-ups__2.7.4__01.dev @@ -0,0 +1,519 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1261 + +# DEVICE:COMMENT-BLOCK: +# Device connected via USB. It is lacking some data like `ups.load`, +# `input/output voltages` and so on (visible on older Smart-UPS 1000 RM +# that I'm replacing). +# +# Vendor's PowerChute BE reports those values (screenshots in ticket). +# +# I found some topics suggesting that it may use modbus, not sure if that +# is the case here (at least manuals don't mention it, nor it is mentioned +# in menus). +# +# NOTE: There seem to be multiple hardware revisions of this model. +# There are some with firmware 1.x that are not upgradable, mine is +# upgradable to 3.8 (as listed here), some can go up to 7.x series. +# So even though they all identify as Smart UPS 750-X, they have +# different internal model number. I believe the same apply to 1000W +# and 1500W models, as they share the same chassis. +# DEVICE:EOC + +battery.charge: 66 +battery.charge.low: 10 +battery.charge.warning: 50 +battery.runtime: 65535 # BAD +battery.runtime.low: 150 +battery.type: PbAc +battery.voltage: 52.0 +battery.voltage.nominal: 48.0 +device.mfr: American Power Conversion +device.model: Smart-UPS X 750 +device.serial: +device.type: ups +driver.name: usbhid-ups +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.synchronous: no +driver.version: 2.7.4 +driver.version.data: APC HID 0.96 +driver.version.internal: 0.41 +ups.beeper.status: enabled +ups.delay.shutdown: 20 +ups.firmware: COM 03.8 / UPS 03.8 +ups.mfr: American Power Conversion +ups.mfr.date: 2011/11/28 +ups.model: Smart-UPS X 750 +ups.productid: 0003 +ups.serial: +ups.status: OL CHRG +ups.timer.reboot: -1 +ups.timer.shutdown: -1 +ups.vendorid: 051d + +# DEVICE:COMMENT-BLOCK:LSUSB: +# Bus 002 Device 006: ID 051d:0003 American Power Conversion UPS +# Device Descriptor: +# bLength 18 +# bDescriptorType 1 +# bcdUSB 2.00 +# bDeviceClass 0 +# bDeviceSubClass 0 +# bDeviceProtocol 0 +# bMaxPacketSize0 64 +# idVendor 0x051d American Power Conversion +# idProduct 0x0003 UPS +# bcdDevice 1.06 +# iManufacturer 1 American Power Conversion +# iProduct 2 Smart-UPS X 750 FW:COM 03.8 / UPS 03.8 +# iSerial 3 +# bNumConfigurations 1 +# Configuration Descriptor: +# bLength 9 +# bDescriptorType 2 +# wTotalLength 0x0029 +# bNumInterfaces 1 +# bConfigurationValue 1 +# iConfiguration 0 +# bmAttributes 0x60 +# (Missing must-be-set bit!) +# Self Powered +# Remote Wakeup +# MaxPower 2mA +# Interface Descriptor: +# bLength 9 +# bDescriptorType 4 +# bInterfaceNumber 0 +# bAlternateSetting 0 +# bNumEndpoints 2 +# bInterfaceClass 3 Human Interface Device +# bInterfaceSubClass 0 +# bInterfaceProtocol 0 +# iInterface 0 +# HID Device Descriptor: +# bLength 9 +# bDescriptorType 33 +# bcdHID 1.00 +# bCountryCode 33 US +# bNumDescriptors 1 +# bDescriptorType 34 Report +# wDescriptorLength 425 +# Report Descriptor: (length is 425) +# Item(Global): Usage Page, data= [ 0x84 ] 132 +# Power Device Page +# Item(Local ): Usage, data= [ 0x04 ] 4 +# UPS +# Item(Main ): Collection, data= [ 0x01 ] 1 +# Application +# Item(Local ): Usage, data= [ 0x24 ] 36 +# Power Summary +# Item(Main ): Collection, data= [ 0x02 ] 2 +# Logical +# Item(Global): Report ID, data= [ 0x01 ] 1 +# Item(Local ): Usage, data= [ 0xfe ] 254 +# iProduct +# Item(Local ): String Index, data= [ 0x02 ] 2 +# Item(Global): Report Size, data= [ 0x08 ] 8 +# Item(Global): Report Count, data= [ 0x01 ] 1 +# Item(Global): Logical Minimum, data= [ 0x00 ] 0 +# Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Report ID, data= [ 0x02 ] 2 +# Item(Local ): Usage, data= [ 0xff ] 255 +# iSerialNumber +# Item(Local ): String Index, data= [ 0x03 ] 3 +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Report ID, data= [ 0x03 ] 3 +# Item(Local ): Usage, data= [ 0xfd ] 253 +# iManufacturer +# Item(Local ): String Index, data= [ 0x01 ] 1 +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x85 ] 133 +# Battery System Page +# Item(Global): Report ID, data= [ 0x04 ] 4 +# Item(Local ): Usage, data= [ 0x8f ] 143 +# iOEMInformation +# Item(Local ): String Index, data= [ 0x01 ] 1 +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Report ID, data= [ 0x05 ] 5 +# Item(Local ): Usage, data= [ 0x89 ] 137 +# iDeviceChemistry +# Item(Local ): String Index, data= [ 0x04 ] 4 +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Report ID, data= [ 0x06 ] 6 +# Item(Local ): Usage, data= [ 0x8b ] 139 +# Rechargeable +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Local ): Usage, data= [ 0x2c ] 44 +# Capacity Mode +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Report ID, data= [ 0x0e ] 14 +# Item(Local ): Usage, data= [ 0x83 ] 131 +# Design Capacity +# Item(Global): Logical Maximum, data= [ 0x64 ] 100 +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Local ): Usage, data= [ 0x67 ] 103 +# Full Charge Capacity +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Report ID, data= [ 0x0c ] 12 +# Item(Local ): Usage, data= [ 0x66 ] 102 +# Remaining Capacity +# Item(Main ): Input, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Local ): Usage, data= [ 0x66 ] 102 +# Remaining Capacity +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Report ID, data= [ 0x10 ] 16 +# Item(Local ): Usage, data= [ 0x8d ] 141 +# Capacity Granularity 1 +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Local ): Usage, data= [ 0x8e ] 142 +# Capacity Granularity 2 +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Report ID, data= [ 0x0f ] 15 +# Item(Local ): Usage, data= [ 0x8c ] 140 +# Warning Capacity Limit +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Report ID, data= [ 0x11 ] 17 +# Item(Local ): Usage, data= [ 0x29 ] 41 +# Remaining Capacity Limit +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Report ID, data= [ 0x09 ] 9 +# Item(Local ): Usage, data= [ 0x85 ] 133 +# Manufacturer Date +# Item(Global): Report Size, data= [ 0x10 ] 16 +# Item(Global): Logical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535 +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Report ID, data= [ 0x0d ] 13 +# Item(Local ): Usage, data= [ 0x68 ] 104 +# Run Time To Empty +# Item(Global): Logical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535 +# Item(Global): Unit, data= [ 0x01 0x10 ] 4097 +# System: SI Linear, Unit: Seconds +# Item(Global): Unit Exponent, data= [ 0x00 ] 0 +# Unit Exponent: 0 +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x68 ] 104 +# Run Time To Empty +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x84 ] 132 +# Power Device Page +# Item(Global): Report ID, data= [ 0x12 ] 18 +# Item(Local ): Usage, data= [ 0x57 ] 87 +# Delay Before Shutdown +# Item(Global): Logical Minimum, data= [ 0xff 0xff ] 65535 +# Item(Global): Logical Maximum, data= [ 0xff 0x7f ] 32767 +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Report ID, data= [ 0x13 ] 19 +# Item(Local ): Usage, data= [ 0x55 ] 85 +# Delay Before Reboot +# Item(Global): Report Size, data= [ 0x18 ] 24 +# Item(Global): Logical Minimum, data= [ 0xff 0xff 0xff 0xff ] -1 +# Item(Global): Logical Maximum, data= [ 0x18 0xc5 0x13 0x00 ] 1295640 +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x85 ] 133 +# Battery System Page +# Item(Global): Report ID, data= [ 0x08 ] 8 +# Item(Local ): Usage, data= [ 0x2a ] 42 +# Remaining Time Limit +# Item(Global): Logical Maximum, data= [ 0x64 0x05 0x00 0x00 ] 1380 +# Item(Global): Logical Minimum, data= [ 0x78 0x00 ] 120 +# Item(Main ): Input, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Local ): Usage, data= [ 0x2a ] 42 +# Remaining Time Limit +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x84 ] 132 +# Power Device Page +# Item(Global): Report ID, data= [ 0x0a ] 10 +# Item(Local ): Usage, data= [ 0x40 ] 64 +# Config Voltage +# Item(Global): Report Size, data= [ 0x10 ] 16 +# Item(Global): Logical Minimum, data= [ 0x00 ] 0 +# Item(Global): Logical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535 +# Item(Global): Unit, data= [ 0x21 0xd1 0xf0 0x00 ] 15782177 +# System: SI Linear, Unit: Centimeter^2*Gram*Seconds^-3*Ampere^-1 +# Item(Global): Unit Exponent, data= [ 0x05 ] 5 +# Unit Exponent: 5 +# Item(Main ): Feature, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Report ID, data= [ 0x0b ] 11 +# Item(Local ): Usage, data= [ 0x30 ] 48 +# Voltage +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Report ID, data= [ 0x14 ] 20 +# Item(Local ): Usage, data= [ 0x5a ] 90 +# Audible Alarm Control +# Item(Global): Report Size, data= [ 0x08 ] 8 +# Item(Global): Logical Minimum, data= [ 0x01 ] 1 +# Item(Global): Logical Maximum, data= [ 0x03 ] 3 +# Item(Global): Unit, data= [ 0x00 ] 0 +# System: None, Unit: (None) +# Item(Global): Unit Exponent, data= [ 0x00 ] 0 +# Unit Exponent: 0 +# Item(Main ): Input, data= [ 0x22 ] 34 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Local ): Usage, data= [ 0x5a ] 90 +# Audible Alarm Control +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x02 ] 2 +# Present Status +# Item(Main ): Collection, data= [ 0x02 ] 2 +# Logical +# Item(Global): Report ID, data= [ 0x07 ] 7 +# Item(Global): Usage Page, data= [ 0x85 ] 133 +# Battery System Page +# Item(Local ): Usage, data= [ 0x44 ] 68 +# Charging +# Item(Global): Report Size, data= [ 0x01 ] 1 +# Item(Global): Logical Minimum, data= [ 0x00 ] 0 +# Item(Global): Logical Maximum, data= [ 0x01 ] 1 +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x44 ] 68 +# Charging +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x45 ] 69 +# Discharging +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x45 ] 69 +# Discharging +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0xd0 ] 208 +# AC Present +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0xd0 ] 208 +# AC Present +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0xd1 ] 209 +# Battery Present +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0xd1 ] 209 +# Battery Present +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x42 ] 66 +# Below Remaining Capacity Limit +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x42 ] 66 +# Below Remaining Capacity Limit +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x84 ] 132 +# Power Device Page +# Item(Local ): Usage, data= [ 0x68 ] 104 +# Shutdown Requested +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x68 ] 104 +# Shutdown Requested +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x69 ] 105 +# Shutdown Imminent +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x69 ] 105 +# Shutdown Imminent +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x85 ] 133 +# Battery System Page +# Item(Local ): Usage, data= [ 0x43 ] 67 +# Remaining Time Limit Expired +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x43 ] 67 +# Remaining Time Limit Expired +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x84 ] 132 +# Power Device Page +# Item(Local ): Usage, data= [ 0x73 ] 115 +# Communication Lost +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x73 ] 115 +# Communication Lost +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x85 ] 133 +# Battery System Page +# Item(Local ): Usage, data= [ 0x4b ] 75 +# Need Replacement +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x4b ] 75 +# Need Replacement +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x84 ] 132 +# Power Device Page +# Item(Local ): Usage, data= [ 0x65 ] 101 +# Overload +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x65 ] 101 +# Overload +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x85 ] 133 +# Battery System Page +# Item(Local ): Usage, data= [ 0xdb ] 219 +# Voltage Not Regulated +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0xdb ] 219 +# Voltage Not Regulated +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Usage Page, data= [ 0x86 0xff ] 65414 +# (null) +# Item(Local ): Usage, data= [ 0x80 ] 128 +# (null) +# Item(Main ): Input, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Local ): Usage, data= [ 0x80 ] 128 +# (null) +# Item(Main ): Feature, data= [ 0xa2 ] 162 +# Data Variable Absolute No_Wrap Linear +# No_Preferred_State No_Null_Position Volatile Bitfield +# Item(Global): Report Count, data= [ 0x03 ] 3 +# Item(Main ): Input, data= [ 0x01 ] 1 +# Constant Array Absolute No_Wrap Linear +# Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Main ): Feature, data= [ 0x01 ] 1 +# Constant Array Absolute No_Wrap Linear +# Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Main ): End Collection, data=none +# Item(Main ): End Collection, data=none +# Item(Global): Usage Page, data= [ 0x86 0xff ] 65414 +# (null) +# Item(Global): Report ID, data= [ 0x89 ] 137 +# Item(Local ): Usage, data= [ 0xfd ] 253 +# (null) +# Item(Global): Logical Minimum, data= [ 0x00 ] 0 +# Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 +# Item(Global): Report Size, data= [ 0x08 ] 8 +# Item(Global): Report Count, data= [ 0x3f ] 63 +# Item(Main ): Input, data= [ 0x02 ] 2 +# Data Variable Absolute No_Wrap Linear +# Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Global): Report ID, data= [ 0x90 ] 144 +# Item(Local ): Usage, data= [ 0xfc ] 252 +# (null) +# Item(Global): Logical Minimum, data= [ 0x00 ] 0 +# Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255 +# Item(Global): Report Size, data= [ 0x08 ] 8 +# Item(Global): Report Count, data= [ 0x3f ] 63 +# Item(Main ): Output, data= [ 0x02 ] 2 +# Data Variable Absolute No_Wrap Linear +# Preferred_State No_Null_Position Non_Volatile Bitfield +# Item(Main ): End Collection, data=none +# Endpoint Descriptor: +# bLength 7 +# bDescriptorType 5 +# bEndpointAddress 0x81 EP 1 IN +# bmAttributes 3 +# Transfer Type Interrupt +# Synch Type None +# Usage Type Data +# wMaxPacketSize 0x0040 1x 64 bytes +# bInterval 10 +# Endpoint Descriptor: +# bLength 7 +# bDescriptorType 5 +# bEndpointAddress 0x01 EP 1 OUT +# bmAttributes 3 +# Transfer Type Interrupt +# Synch Type None +# Usage Type Data +# wMaxPacketSize 0x0040 1x 64 bytes +# bInterval 10 +# can't get device qualifier: Resource temporarily unavailable +# can't get debug descriptor: Resource temporarily unavailable +# Device Status: 0x0002 +# (Bus Powered) +# Remote Wakeup Enabled +# DEVICE:EOC diff --git a/APC/APC__Smart-UPS_X_750__usbhid-ups__2.7.4__02.dev b/APC/APC__Smart-UPS_X_750__usbhid-ups__2.7.4__02.dev new file mode 100644 index 0000000..c897dbf --- /dev/null +++ b/APC/APC__Smart-UPS_X_750__usbhid-ups__2.7.4__02.dev @@ -0,0 +1,44 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1261#issuecomment-1057405092 + +# DEVICE:COMMENT-BLOCK: +# Similar to `APC__Smart-UPS_X_750__usbhid-ups__2.7.4__01.dev` - same device +# tested with a custom build of NUT, checking if it would help (did not then). +# +# I built HEAD (like previously), run `usbhid-ups -s ups -x port=auto`, +# then `upsd` and `upsc` output is as pasted below... Thus nothing new, +# except in driver fields. +# DEVICE:EOC + +battery.charge: 100 +battery.charge.low: 10 +battery.charge.warning: 50 +battery.runtime: 13574 +battery.runtime.low: 150 +battery.type: PbAc +battery.voltage: 54.5 +battery.voltage.nominal: 48.0 +device.mfr: American Power Conversion +device.model: Smart-UPS X 750 +device.serial: +device.type: ups +driver.name: usbhid-ups +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.synchronous: auto +driver.version: 2.7.4-4757-g9e5e34d3 +driver.version.data: APC HID 0.98 +driver.version.internal: 0.45 +driver.version.usb: libusb-0.1 (or compat) +ups.beeper.status: disabled +ups.delay.shutdown: 20 +ups.firmware: COM 03.8 / UPS 03.8 +ups.mfr: American Power Conversion +ups.mfr.date: 2011/11/28 +ups.model: Smart-UPS X 750 +ups.productid: 0003 +ups.serial: +ups.status: OL +ups.timer.reboot: -1 +ups.timer.shutdown: -1 +ups.vendorid: 051d From 98700eceb4a10c8023f483c209c7c1bba76ee293 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Fri, 1 Sep 2023 09:04:17 +0200 Subject: [PATCH 12/12] Add APC SmartUPS 750 (SMT750I) reports [networkupstools/nut#1261] Signed-off-by: Jim Klimov --- ...__Smart-UPS_750__usbhid-ups__2.8.0__01.dev | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 APC/APC__Smart-UPS_750__usbhid-ups__2.8.0__01.dev diff --git a/APC/APC__Smart-UPS_750__usbhid-ups__2.8.0__01.dev b/APC/APC__Smart-UPS_750__usbhid-ups__2.8.0__01.dev new file mode 100644 index 0000000..7db790e --- /dev/null +++ b/APC/APC__Smart-UPS_750__usbhid-ups__2.8.0__01.dev @@ -0,0 +1,46 @@ +# DEVICE:URL:REPORT: https://github.com/networkupstools/nut/issues/1261#issuecomment-1702211089 + +# DEVICE:COMMENT +# Following up from report about Smart-UPS X 750 earlier in the linked ticket +# (about missing data points). +# +# > ...In the meantime I also got a stand alone Smart-UPS 750 (SMT750I). +# > If I'm correct, SMT and SMX series are siblings (released about the +# > same time, share almost identical local LCD interface). SMT are "tower" +# > while SMX are rack mounted and support external battery packs. +# > It reports exactly the same set of data as SMX750I. +# DEVICE:EOC + +battery.charge: 100 +battery.charge.low: 10 +battery.charge.warning: 50 +battery.runtime: 4320 +battery.runtime.low: 120 +battery.type: PbAc +battery.voltage: 27.1 +battery.voltage.nominal: 24.0 +device.mfr: American Power Conversion +device.model: Smart-UPS 750 +device.serial: AS1316113420 +device.type: ups +driver.name: usbhid-ups +driver.parameter.pollfreq: 30 +driver.parameter.pollinterval: 2 +driver.parameter.port: auto +driver.parameter.synchronous: auto +driver.version: 2.8.0 +driver.version.data: APC HID 0.98 +driver.version.internal: 0.47 +driver.version.usb: libusb-1.0.26 (API: 0x1000109) +ups.beeper.status: enabled +ups.delay.shutdown: 20 +ups.firmware: UPS 09.8 / ID=18 +ups.mfr: American Power Conversion +ups.mfr.date: 2013/04/19 +ups.model: Smart-UPS 750 +ups.productid: 0003 +ups.serial: AS1316113420 +ups.status: OL +ups.timer.reboot: -1 +ups.timer.shutdown: -1 +ups.vendorid: 051d