<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-html" lang="x-western"> Arjen de Korte schreef:
<blockquote cite="mid45BCD5E0.7000501@de-korte.org" type="cite">
<pre wrap="">Herman wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Are you absolutely sure that the UPS is connected to /dev/ttyS0? The
fact that the driver is reporting "OB LB" may also mean nothing is
connected to the port.
</pre>
</blockquote>
<pre wrap="">Thank you for your fast reply,
Yes i am quite sure my Sweex UPS 1000VA is connected to the correct
port. This port is also owned by the NUT user.
I have tested this by connecting a modem and sending an AT commando to
it. It happily replayed with OK.
</pre>
</blockquote>
<pre wrap=""><!---->
That should be enough. OK, the port is right. What about the cable, you
did use the one provided with the UPS I guess, since you also used it
with the Windows software (with the same cable?)
</pre>
<blockquote type="cite">
<pre wrap="">Also i have connected the UPS to a windows machine. The bundled software
worked on that machine UPSmart 2.14. The linux software on the CD wasn't
useful since i don't run X. The manual i got with the UPS was a
complete waste of time. It was written for a different version software
i guess you would call it the "safenet" protocol.
This suggests that sweex doesn't know what UPS'es they are actually
shipping. Or to stupid to include the right manual..
</pre>
</blockquote>
<pre wrap=""><!---->
Spot on. I have told them this more than two years ago, but apparently
they just don't care about it. They are notorious for not caring at all
about this... :-(
Could you try to snoop the serial communication between Windows driver
and the UPS? The following link will point you to some software that may
aid in this:
<a class="moz-txt-link-freetext"
href="http://www.microsoft.com/technet/sysinternals/Utilities/Portmon.mspx">http://www.microsoft.com/technet/sysinternals/Utilities/Portmon.mspx</a>
If you post the first 10 seconds of output, someone might be able to
figure out what protocol is used and if we have a driver for it.
Best regards, Arjen
</pre>
</blockquote>
I am sorry i have to give up this early but its already working with
the mustec/megatec driver. If your still interested in the serial
logging output i will be glad to offer it to you.<br>
<br>
greetings and many many thanks,<br>
<br>
Herman.<br>
<br>
<br>
</div>
</body>
</html>