Hi,
I tried the patch recently added to support 5G ups by APC. Connecting to the
ups failed because of wrong permissions of the usb device node.
I had to add the new usb id to the udev rules to make it work. I attached my
patch to this mail. Please consider applying.
Thanks.
Kind regards,
Gerd
--
Address (better: trap) for people I really don't want to get mail from:
[email protected]
diff -r -u nut-2.4.3.orig/scripts/udev/nut-usbups.rules.in nut-2.4.3/scripts/udev/nut-usbups.rules.in
--- nut-2.4.3.orig/scripts/udev/nut-usbups.rules.in 2010-02-23 11:12:20.000000000 +0100
+++ nut-2.4.3/scripts/udev/nut-usbups.rules.in 2010-08-11 16:05:17.000000000 +0200
@@ -52,6 +52,8 @@
# APC
# various models - usbhid-ups
ATTR{idVendor}=="051d", ATTR{idProduct}=="0002", MODE="664", GROUP="@RUN_AS_GROUP@"
+# various 5G models - usbhid-ups
+ATTR{idVendor}=="051d", ATTR{idProduct}=="0003", MODE="664", GROUP="@RUN_AS_GROUP@"
# Powerware
# various models - bcmxcp_usb
Only in nut-2.4.3/scripts/udev: nut-usbups.rules.in~
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev