Hello, I just wanted to confirm that the experimental liebert-hid subdriver is working correctly for me. I also tested it by uncommenting some lines, and I thought someone might be interested so here's what I got with the upsc command:
-------- battery.charge: 100 battery.runtime: 600 battery.type: PbAc battery.voltage: 13 battery.voltage.nominal: 12 driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.version: 2.2.1- unmapped.ups.powersummary.capacitygranularity1: 10 unmapped.ups.powersummary.capacitymode: 2 unmapped.ups.powersummary.designcapacity: 100 unmapped.ups.powersummary.flowid: 1 unmapped.ups.powersummary.imanufacturer: 3 unmapped.ups.powersummary.iproduct: 1 unmapped.ups.powersummary.powersummaryid: 1 unmapped.ups.powersummary.rechargeable: 1 ups.load: 25 ups.mfr: LIEBERT ups.model: PowerSure Personal XT ups.productid: ffff ups.status: OL ups.vendorid: 06da -------- Some comments: a) The battery.type attribute is indeed a string, as Charles Lepple guessed in the commented-out code (PbAc = lead acid). b) The voltage (both nominal and real) is wrong, but not by a factor of 10 as Charles mentioned on the driver: I have 220 volts nominal here, and so probably did Alain Williams, who first reported this last year, since he's from the UK according to his email address. I measured the real voltage with a voltmeter and I got 213 volts here both for the UPS input and for the UPS output. c) I can confirm that the ups.load value goes up a little when running on battery (it went from 25 to 35). No big deal. On the other hand, the battery.voltage attribute went down from 13 to 12 when on battery. d) I don't know what to make of the unmapped attributes, but I don't see a way to get the UPS to turn the load off during shutdown. I find the unmapped.ups.powersummary.capacitymode attribute intriguing, though. e) I don't know if this is of any importance to NUT, but in case anyone cares let me point out that this UPS does not have a voltage stabilizer built-in. f) The battery.runtime value is reasonably accurate (estimated in seconds). g) I have replaced the SHUTDOWNCMD with the following custom script in order to hibernate the system instead of shutting it down. It seems to work for me on CentOS 5.1: -------- #!/bin/bash echo disk > /sys/power/state sleep 10 service ups start -------- Regards, Ariel _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

