From owner-freebsd-hackers Wed Oct 4 20:04:51 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA15204 for hackers-outgoing; Wed, 4 Oct 1995 20:04:51 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA15195 for ; Wed, 4 Oct 1995 20:04:40 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id NAA17744 for hackers@freebsd.org; Thu, 5 Oct 1995 13:00:17 +0930 From: Michael Smith Message-Id: <199510050330.NAA17744@genesis.atrad.adelaide.edu.au> Subject: Fiskars UPS support... To: hackers@freebsd.org Date: Thu, 5 Oct 1995 13:00:16 +0930 (CST) Content-Type: text Content-Length: 1831 Sender: owner-hackers@freebsd.org Precedence: bulk Hiho people, time to talk of UPS' We have a customer who'll be running a FreeBSD system (and associated hardware) off a Fiskars UPS of some description. In order to help us out, they've supplied me with a complete description of the protocol that the UPS uses for status reporting. Now, I'm not averse to writing a monitoring daemon, but there are a few issues that I (obviously) need to address with it, and it may well be that there's someone out there who either has a skeleton for a UPS monitoring daemon, or who just has the odd suggestion. The crucial issue in this case is, once the UPS has sounded its death knell, ie. power's out, and battery holdout is down to a few minutes, what should one do? If you decide to shutdown, and then power comes back, you're stuck shutdown, waiting for the power failure to reboot you. If you go single-user, can you arrange to have the daemon survive the shutdown and send an appropriate signal to the root shell when the power comes back? Or would it be better to reboot and then as part of the boot process wait for the UPS to give the all-clear? Anyone with any experience is invited to comment 8) (And yes, the resultant code will be available, and if anyone's particularly interested in the raw protocol details, and can't get them from their local Fiskars supplier, I'll produce a summary for you.) No, I have nothing to do with Fiskars. These customers are Swedes, don't blame me 8) -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" -Terry Lambert UNIX: live FreeBSD or die! [[