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
* 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.

Bit OT, but wanted to ask: is there anyone trying to add support for Koblenz' 
UPS?

Cheers,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
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@"

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to