Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 1998 23:18:14 -0400 (EDT)
From:      David Kott <dakott@alpha.delta.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   UPSd and APC Back-UPS
Message-ID:  <Pine.BSF.3.96.980817223133.250F-100000@kott.my.domain>

next in thread | raw e-mail | index | archive | help


Has anyone actually gotten UPSd 2.0.1.6 to work with a homebrew cable?  I
recently purchased an APC Back-UPS 500 and tracked down a hack'd cable
callout that allegdly duplicates the APC part.
I checked for loopback on the serial port I was planning to use, changed
the upsd.conf to said serial port, attached my homemade cable adapter,
and started up upsd.  However, it reports "Cannot put the UPS into smart
mode!".  I suspect this means that I don't have valid communications
between the ups and the serial port/daemon.  Evidently, the man page
and README have not been written yet (an entry in the TODO list!)  So, I
might have something configured incorrectly.

I noticed that when I actually connect up my kludged cable to the UPS, the
green "ON" light goes off.  *something* is happening.  *shrug*  

Anyone out there in FreeBSDLand know where I might find a page on APC
smartport hacks so I can start picking through the upsd code?

Here is the cable callout I used:  (Thanks to Don Wilde for this)

<...>

Having also evaluated Linux, I pull this from their UPS How-To:

male DB9 (UPS)          fem DB9 (UNIX)
1 CD                    7 RTS
2 RD                    1 CD
9 RING                  5 SGND

This is apparently how the APC cable is wired, although the same author
says it would be better (due to the power-up initialization of the UART)
to use TX (computer pin 3) rather than RTS (pin 7). Haven't had a chance
to DO it, but it's on the list. I spend too much time reading mail!

</...>



						-d


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980817223133.250F-100000>