[Nut-upsuser] trying to use powerware 3110 USB with NUT

Wolfgang Ocker weo at weo1.de
Thu Oct 6 06:54:16 UTC 2005


On Wed, 2005-10-05 at 19:25 -0500, John H. wrote:
> debug level is '2'
> Can't open POWERWARE USB device, retrying ...

Okay, I found the reason: The vendor id of the device has to be added in
nut_usb.c:

--- drivers/nut_usb.c.orig	2005-10-06 08:51:08.000000000 +0200
+++ drivers/nut_usb.c	2005-10-06 08:51:50.000000000 +0200
@@ -57,7 +57,8 @@
 		{
 			/* XXX Check for POWERWARE 3105 ... other models??? */
 			if (dev->descriptor.bDeviceClass == USB_CLASS_PER_INTERFACE &&
-			    dev->descriptor.idVendor == 0x0592 &&
+			    (dev->descriptor.idVendor == 0x0592 ||
+			     dev->descriptor.idVendor == 0x06da) &&
 			    dev->descriptor.idProduct == 0x0002 &&
 			    dev->descriptor.iManufacturer == 1 &&
 			    dev->descriptor.iProduct == 2)

Wolfgang
-- 
| Wolfgang Ocker  |  http://weo1.de/
| 49.8441.805512  |  mailto:weo at weo1.de
| Programmieren Sie noch oder patentieren Sie schon?
| -> http://www.nosoftwarepatents.com/




More information about the Nut-upsuser mailing list