From owner-freebsd-questions Tue Sep 3 14:41:34 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA27290 for questions-outgoing; Tue, 3 Sep 1996 14:41:34 -0700 (PDT) Received: from atropos.c2.org (atropos.c2.org [140.174.185.14]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA27279 for ; Tue, 3 Sep 1996 14:41:27 -0700 (PDT) Received: (from sameer@localhost) by atropos.c2.org (8.7.4/CSUA) id OAA07912; Tue, 3 Sep 1996 14:41:14 -0700 (PDT) Message-Id: <199609032141.OAA07912@atropos.c2.org> Subject: Re: Daemon for APC UPS To: bill@wagill.com (Bill) Date: Tue, 3 Sep 1996 14:41:14 -0700 (PDT) Cc: questions@freebsd.com In-Reply-To: from "Bill" at Sep 3, 96 02:05:43 pm From: sameer X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I read somewhere how to do it. Basically the idea was to connect the powerfail pin to DCD on a serial port and have a program waiting for cua-something to unlock when cdc goes live. then the system shuts down. Some details are missing from my explanation, but this should help you find the solution. > > Does anyone know of or have a daemon to communicate with an APC > Back-Up Pro or Smart UPS Pro unit in order to gracefully shutdown the > system when electrical power is interrupted? > > APC does offer software (at a cost), but it is not compiled for > FreeBSD (only for SCO and AIX). > > - Bill. > -- Sameer Parekh Voice: 510-986-8770 Community ConneXion, Inc. FAX: 510-986-8777 The Internet Privacy Provider http://www.c2.net/ sameer@c2.net