Gents,

Am Dienstag, 3. März 2009 11:13:00 schrieb Arnaud Quette:
> Hey KP,
[...]
> > > > > we'll then see if we can easily add it...
> > > >
> > > > would be cool
> > > > (...)
> > >
> > > congrats, it is!
> > > either checkout the latest trunk or apply the attached patch.
> > > thanks to confirm that the reported data looks coherent (particularly
> > > the battery.voltage) and that the standard tests runs (ie OB and OB LB
> > > + potential commands like tests...)
> > > an upsc + upsrw + upscmd output is welcome.
> > > also note that you will need an entry in the udev file.
> > >
> > > btw, it's a tripplite rebranded unit.

I finally managed to install it with the patch above (typo fixed) and enhanced 
udev rules as Arnaud adviced.
The data looks reasonable, though I'm no engineer or physician and have to 
believe more or lee what I see. 
But I've successfully tested that power is reported and that at ca. 25% of 
battery charge a shutdown is initiated. So my goals are achieved.

I'll attach the patches and output of the requested commands.

Thx very much again for the fast and valuable help.
kp


--- scripts/udev/52-nut-usbups.rules.orig	2009-03-03 23:57:54.000000000 +0100
+++ scripts/udev/52-nut-usbups.rules	2009-03-03 23:58:34.000000000 +0100
@@ -13,6 +13,9 @@
 #  HP R/T 2200 INTL (like SMART2200RMXL2U)  - usbhid-ups
 SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1f0a", MODE="664", GROUP="nut"
 
+#  HP T750 INTL   - usbhid-ups
+SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1f06", MODE="664", GROUP="nut"
+
 #  MGE Office Protection Systems, prev. MGE UPS Systems 
 #  various models  - usbhid-ups
 SYSFS{idVendor}=="0463", SYSFS{idProduct}=="0001", MODE="664", GROUP="nut"
--- drivers/tripplite-hid.c.orig	2009-03-03 23:42:29.000000000 +0100
+++ drivers/tripplite-hid.c	2009-03-02 17:24:49.000000000 +0100
@@ -85,6 +85,9 @@
 	/* HP R/T 2200 INTL (like SMART2200RMXL2U) */
 	{ USB_DEVICE(HP_VENDORID, 0x1f0a), battery_scale_1dot0 },
 
+	/* HP T750 INTL */
+	{ USB_DEVICE(HP_VENDORID, 0x1f06), battery_scale_1dot0 },
+	
 	/* Terminating entry */
 	{ -1, -1, NULL }
 };
Instant commands supported on UPS [ups]:

beeper.disable - Disable the UPS beeper
beeper.enable - Enable the UPS beeper
beeper.mute - Temporarily mute the UPS beeper
beeper.off - Obsolete (use beeper.disable or beeper.mute)
beeper.on - Obsolete (use beeper.enable)
load.off - Turn off the load immediately
load.off.delay - Turn off the load with a delay (seconds)
load.on - Turn on the load immediately
load.on.delay - Turn on the load with a delay (seconds)
shutdown.reboot - Shut down the load briefly while rebooting the UPS
shutdown.return - Turn off the load and return when power is back
shutdown.stayoff - Turn off the load and remain off
shutdown.stop - Stop a shutdown in progress
test.battery.start.deep - Start a deep battery test
test.battery.start.quick - Start a quick battery test
test.battery.stop - Stop the battery test
battery.charge: 91
battery.charge.low: 10
battery.charge.warning: 30
battery.temperature: 37.9
battery.type: PbAc
battery.voltage: 25.1
battery.voltage.nominal: 24.0
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.4.1
driver.version.data: TrippLite HID 0.4
driver.version.internal: 0.34
input.frequency: 49.9
input.transfer.high: 277.0
input.transfer.low: 158.0
input.voltage: 224.4
input.voltage.nominal: 230
output.frequency: 49.9
output.frequency.nominal: 50
output.voltage: 223.3
output.voltage.nominal: 230
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 59
ups.mfr: Hewlett-Packard
ups.model: T750 INTL           
ups.power.nominal: 750
ups.productid: 1f06
ups.serial: 2CJ5380638
ups.status: OL CHRG
ups.timer.reboot: -1
ups.timer.shutdown: -1
ups.timer.start: -1
ups.vendorid: 03f0
[battery.charge.low]
Remaining battery level when UPS switches to LB (percent)
Type: STRING
Value: 10

[input.transfer.high]
High voltage transfer point (V)
Type: STRING
Value: 277.0

[input.transfer.low]
Low voltage transfer point (V)
Type: STRING
Value: 158.0

[ups.delay.shutdown]
Interval to wait after shutdown with delay command (seconds)
Type: STRING
Value: 20

[ups.delay.start]
Interval to wait before (re)starting the load (seconds)
Type: STRING
Value: 30

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to