The 2.0.2+ tripplitesu drivers do not recognize SmartOnLine SU2200XL and
possibly other SmartOnLine UPSes.
Here is a one-line fix.
Lee
--- ../nut-2.0.2/drivers/tripplitesu.c	Thu Jan 27 08:33:21 2005
+++ drivers/tripplitesu.c	Sat Oct  1 13:38:51 2005
@@ -227,7 +227,7 @@
 	buffer[4] = '\0';
 
 	if (!strcmp(buffer, "~00D")) {
-		if (ser_get_buf_len(upsfd, buffer, 4, 3, 0) <= 0)
+		if (ser_get_buf_len(upsfd, buffer, 3, 3, 0) <= 0)
 			return -1;
 		buffer[3] = '\0';
 		count = atoi(buffer);
2005/10/3, upsd@leekillough.com <upsd@leekillough.com>:> > The 2.0.2+ tripplitesu drivers do not recognize SmartOnLine SU2200XL and > possibly other SmartOnLine UPSes. > > Here is a one-line fix. > > Lee > >Hi Lee, your patch has been queued for approval: https://alioth.debian.org/tracker/index.php?func=detail&aid=302841&group_id=30602&atid=411544 thanks for your contrib, Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20060103/ce8e2f89/attachment.html