[Nut-upsdev] [PATCH] few additions to the nut-usbups.rules
Stanislav Brabec
sbrabec at suse.cz
Tue Nov 1 19:25:41 UTC 2011
Hallo.
I just compared black list of ModemManager-0.5 and nut-2.6.2 udev rules
and created a patch that contains apparent UPS devices listed in
ModemManager-0.5 and not listed in nut-2.6.2 as UPSes.
Belkin F6C1200-UNV: It is apparently UPS, I have no idea about driver.
CyberPower CP1200AVR/BC1200D: Just a comment change. Ids are included.
Krauler UP-M500VA: According to https://bugzilla.novell.com/show_bug.cgi?id=719292 it was already supported by older versions of nut.
Ablerex 625L USB: It is apparently UPS, I have no idea about driver.
Index: nut-2.6.2/scripts/udev/nut-usbups.rules.in
===================================================================
--- nut-2.6.2.orig/scripts/udev/nut-usbups.rules.in
+++ nut-2.6.2/scripts/udev/nut-usbups.rules.in
@@ -54,6 +54,8 @@ ATTR{idVendor}=="050d", ATTR{idProduct}=
ATTR{idVendor}=="050d", ATTR{idProduct}=="0980", MODE="664", GROUP="@RUN_AS_GROUP@"
# F6C1100-UNV, F6C1200-UNV - usbhid-ups
ATTR{idVendor}=="050d", ATTR{idProduct}=="1100", MODE="664", GROUP="@RUN_AS_GROUP@"
+# Belkin F6C1200-UNV
+ATTR{idVendor}=="0665", ATTR{idProduct}=="5161", MODE="664", GROUP="@RUN_AS_GROUP@"
# APC
# various models - usbhid-ups
@@ -84,9 +86,9 @@ ATTR{idVendor}=="06da", ATTR{idProduct}=
ATTR{idVendor}=="075d", ATTR{idProduct}=="0300", MODE="664", GROUP="@RUN_AS_GROUP@"
# Cyber Power Systems
-# 900AVR/BC900D, CP1200AVR/BC1200D - usbhid-ups
+# 900AVR/BC900D - usbhid-ups
ATTR{idVendor}=="0764", ATTR{idProduct}=="0005", MODE="664", GROUP="@RUN_AS_GROUP@"
-# Dynex DX-800U? - usbhid-ups
+# CP1200AVR/BC1200D, Dynex DX-800U? - usbhid-ups
ATTR{idVendor}=="0764", ATTR{idProduct}=="0501", MODE="664", GROUP="@RUN_AS_GROUP@"
# OR2200LCDRM2U - usbhid-ups
ATTR{idVendor}=="0764", ATTR{idProduct}=="0601", MODE="664", GROUP="@RUN_AS_GROUP@"
@@ -177,4 +179,10 @@ ATTR{idVendor}=="10af", ATTR{idProduct}=
# GE EP series - blazer_usb
ATTR{idVendor}=="14f0", ATTR{idProduct}=="00c9", MODE="664", GROUP="@RUN_AS_GROUP@"
+# Krauler UP-M500VA - blazer_usb
+ATTR{idVendor}=="0001", ATTR{idProduct}=="0000", MODE="664", GROUP="@RUN_AS_GROUP@"
+
+# Ablerex 625L USB
+ATTR{idVendor}=="ffff", ATTR{idProduct}=="0000", MODE="664", GROUP="@RUN_AS_GROUP@"
+
LABEL="nut-usbups_rules_end"
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec at suse.cz
Lihovarská 1060/12 tel: +49 911 7405384547
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
More information about the Nut-upsdev
mailing list