From owner-freebsd-questions Tue Aug 18 01:32:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA18074 for freebsd-questions-outgoing; Tue, 18 Aug 1998 01:32:42 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alpha.delta.edu (alpha.delta.edu [161.133.129.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA18063 for ; Tue, 18 Aug 1998 01:32:40 -0700 (PDT) (envelope-from dakott@alpha.delta.edu) Received: from pm439-11.dialip.mich.net by alpha.delta.edu; (5.65v3.0/1.1.8.2/06Jan97-0932AM) id AB08529; Tue, 18 Aug 1998 04:36:14 -0400 Received: from kott.my.domain (dakott@kott.my.domain [192.168.0.1]) by kott.my.domain (8.8.8/8.8.5) with SMTP id XAA00480 for ; Mon, 17 Aug 1998 23:18:14 -0400 (EDT) Date: Mon, 17 Aug 1998 23:18:14 -0400 (EDT) From: David Kott To: freebsd-questions@FreeBSD.ORG Subject: UPSd and APC Back-UPS Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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