Hi, thanks for your helpful reply. I've added the productid in the ups.conf and it seems to work (better) now.> After starting the driver and upsd, what does "upsc ups" return? If you can also include "upsrw ups" and "upscmd -l ups" output, we can update the DDL.#upsc ups Init SSL without certificate database battery.charge: 100 battery.charge.low: 20 battery.charge.warning: 0 battery.type: PbAc battery.voltage: 1.0 battery.voltage.nominal: 0.0 device.mfr: Emerson Network Power device.model: Liebert GXT4 device.serial: 1607000058AFC23 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.productid: 0000 driver.version: 2.7.2 driver.version.data: Belkin HID 0.16 driver.version.internal: 0.38 ups.mfr: Emerson Network Power ups.model: Liebert GXT4 ups.productid: 0000 ups.serial: 1607000058AFC23 ups.status: OL CHRG ups.vendorid: 10af #upsrw ups no output #upscmd -l ups Instant commands supported on UPS [ups]: Regards
On Jun 4, 2017, at 8:32 PM, zefanjas <nut at zefanjas.de> wrote:> > Hi, > > thanks for your helpful reply. I've added the productid in the ups.conf > and it seems to work (better) now. > > >> After starting the driver and upsd, what does "upsc ups" return? If you can also include "upsrw ups" and "upscmd -l ups" output, we can update the DDL. > > #upsc ups > > Init SSL without certificate database > battery.charge: 100 > battery.charge.low: 20 > battery.charge.warning: 0 > battery.type: PbAc > battery.voltage: 1.0 > battery.voltage.nominal: 0.0Similar to Mike's report on the CPS UPS, the HID descriptor for this device is buggy: Logical Maximum(1) Logical Minimum(0) ... Report ID(5) Usage Page(Power Device) Usage(Voltage) Usage(ConfigVoltage) I think the Logical Min/Max are responsible for the battery voltages, since there are larger values in the log: 0.240091 Report[buf]: (5 bytes) => 05 51 00 48 00 0.240097 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x05, Offset: 0, Size: 16, Value: 1 0.240127 Report[buf]: (5 bytes) => 05 51 00 48 00 0.240138 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x05, Offset: 16, Size: 16, Value: 0 Does a battery voltage of 72 Volts (0x48) sound right?
Hi,>> #upsc ups >> >> Init SSL without certificate database >> battery.charge: 100 >> battery.charge.low: 20 >> battery.charge.warning: 0 >> battery.type: PbAc >> battery.voltage: 1.0 >> battery.voltage.nominal: 0.0 > > Similar to Mike's report on the CPS UPS, the HID descriptor for this device is buggy: > > Logical Maximum(1) > Logical Minimum(0) > ... > Report ID(5) > Usage Page(Power Device) > Usage(Voltage) > Usage(ConfigVoltage) > > I think the Logical Min/Max are responsible for the battery voltages, since there are larger values in the log: > > 0.240091 Report[buf]: (5 bytes) => 05 51 00 48 00 > 0.240097 Path: UPS.PowerSummary.Voltage, Type: Feature, ReportID: 0x05, Offset: 0, Size: 16, Value: 1 > 0.240127 Report[buf]: (5 bytes) => 05 51 00 48 00 > 0.240138 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, ReportID: 0x05, Offset: 16, Size: 16, Value: 0 > > Does a battery voltage of 72 Volts (0x48) sound right?Almost. I've justed checked the UPS. When it's 100% charged the battery voltage is 82 Volts. Regards