2012/3/5 Zach La Celle <[email protected]>:
> Still getting the usbhid-ups Report 89 / Report 90 issues...output below.

hem, there was a bug in the developer, mixing hexa and decimal :-/
the reportIDs are really hexa!

a better patch is attached, same data needed than before please.

cheers,
Arno
-- 
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
Index: drivers/libhid.c
===================================================================
--- drivers/libhid.c	(révision 3486)
+++ drivers/libhid.c	(copie de travail)
@@ -291,6 +291,12 @@
 				continue;
 			}
 		}
+		/* Skip on APC for the same reason? */
+		if (vendorID == 0x051d) {
+			if ((pData->ReportID == 0x89) || (pData->ReportID == 0x90)) {
+				continue;
+			}
+		}
 #endif
 
 		/* Get data value */
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to