Hi Raphael,
btw, are you 2 bugs today a simple coincidence with my linkedIn
invitation yesterday? ;-)
2008/10/4 Raphael Geissert <[EMAIL PROTECTED]>:
> Package: nut
> Version: 2.2.2-8
> Severity: wishlist
> Tags: patch
>
> Attached is a patch adding "support" for tripplite's avr750u UPS.
> Issues:
> * productid still needs to be specified in ups.conf
you missed to add an entry in drivers/tripplite-hid.c
->tripplite_claim() for that ;-)
and an entry in the hotplug script for the sake of completion.
thanks for the patch. I'll look into commiting it into the trunk, and
possibly in sid, depending on the next release date.
> * the battery charge information, at least as displayed by knutclient 0.9.4,
> is either 0% or 100%, the latter only being displayed when the UPS is fully
> charged.
> * the runtime info is only updated after a test.battery.start.<quick/deep>,
> there's no calibrate.<start/stop> for it.
I don't know much about TL devices, and I've not dug the ml, but
Charles might have an answer to that.
> Bit OT, but wanted to ask: is there anyone trying to add support for Koblenz'
> UPS?
never heard about it.
do you have any info on it, like the name of the windows software
provided, or the protocol used, ... ?
cheers,
Arnaud
--
Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/
diff -urpN nut-2.2.2.orig/data/driver.list nut-2.2.2/data/driver.list
--- nut-2.2.2.orig/data/driver.list 2008-05-04 06:45:57.000000000 -0500
+++ nut-2.2.2/data/driver.list 2008-10-03 17:59:27.000000000 -0500
@@ -527,6 +527,7 @@
"Tripp-Lite" "OMNI650LCD" "USB" "usbhid-ups"
"Tripp-Lite" "1500 LCD" "USB" "usbhid-ups"
"Tripp-Lite" "AVR550U" "USB" "usbhid-ups"
+"Tripp-Lite" "AVR750U" "USB" "usbhid-ups"
"Tripp-Lite" "SmartOnline SU1500RTXL2ua" "USB" "usbhid-ups"
"Tripp-Lite" "smart2200RMXL2U" "USB, newer models" "usbhid-ups"
diff -urpN nut-2.2.2.orig/scripts/udev/nut-usbups.rules.in nut-2.2.2/scripts/udev/nut-usbups.rules.in
--- nut-2.2.2.orig/scripts/udev/nut-usbups.rules.in 2008-04-05 08:31:21.000000000 -0600
+++ nut-2.2.2/scripts/udev/nut-usbups.rules.in 2008-10-03 16:57:32.000000000 -0500
@@ -57,6 +57,7 @@ SYSFS{idVendor}=="09ae", SYSFS{idProduct
SYSFS{idVendor}=="09ae", SYSFS{idProduct}=="3012", MODE="664", GROUP="@RUN_AS_GROUP@"
SYSFS{idVendor}=="09ae", SYSFS{idProduct}=="4002", MODE="664", GROUP="@RUN_AS_GROUP@"
SYSFS{idVendor}=="09ae", SYSFS{idProduct}=="4003", MODE="664", GROUP="@RUN_AS_GROUP@"
+SYSFS{idVendor}=="09ae", SYSFS{idProduct}=="1007", MODE="664", GROUP="@RUN_AS_GROUP@"
# Belkin - usbhid-ups
SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0980", MODE="664", GROUP="@RUN_AS_GROUP@"