From owner-freebsd-hackers Sun Jan 14 14:53:24 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA28697 for hackers-outgoing; Sun, 14 Jan 1996 14:53:24 -0800 (PST) Received: from beer.pilsnet.sunet.se (beer.pilsnet.sunet.se [192.36.125.73]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA28631 for ; Sun, 14 Jan 1996 14:50:45 -0800 (PST) Received: from aviion.ts.kiev.ua by beer.pilsnet.sunet.se (8.6.8/2.03) id XAA20254; Sun, 14 Jan 1996 23:50:33 +0100 Received: from wind.UUCP by aviion.ts.kiev.ua with UUCP id WAA09203; (8.6.11/zah/1.4b) Sun, 14 Jan 1996 22:33:18 GMT Received: from dawn.ww.net (dawn.ww.net [193.124.73.50]) by unicorn.ww.net (8.6.12/alexis 2.5) with ESMTP id AAA01654; Mon, 15 Jan 1996 00:58:42 +0300 Received: (from alexis@localhost) by dawn.ww.net (8.6.12/alexis 2.5) id AAA01692; Mon, 15 Jan 1996 00:58:24 +0300 Message-Id: <199601142158.AAA01692@dawn.ww.net> Subject: Re: (fwd) APC UPS Command set To: dk+@ua.net Date: Mon, 15 Jan 1996 00:58:24 +0300 (MSK) From: "Alexis Yushin" Cc: freebsd-hackers@freebsd.org In-Reply-To: <199601141116.NAA06436@dog.farm.org> from "Dmitry Kohmanyuk" at Jan 14, 96 01:16:37 pm Reply-To: alexis@ww.net (Alexis Yushin) X-Office-Phone: +380 65 2 26.1410 X-Home-Phone: +380 65 2 27.0747 X-NIC-Handle: AY23 X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk I have got this message forwarded to me and felt I should respond. >I see there has been some discussion about writing stronger tools >to manage APC UPS systems under FreeBSD. Great! I have systems with >1400s and 600s if you need some beta sites for code. > >I had originally wanted to do the same thing but have been far too busy. >Someone sent me this and I don't know where they got it, so the true author >is unknown, and perhaps someone has filled-in more of the blanks since then. Well, I am already sick of writing the programm still I do this. I've got already done: - apc specific part with comands - almost everything of configuration (YACC driven) - asynchronous serial line handling - software events handling conception (still to be implemented) The ups daemon is not APC oriented. The conception that there are registers and triggers. Registers are commands, status registers, options etc... Triggers are the string which could come any time from the device (they are handled asyncronously). For example ``Y'' is an initialize register with R_COMMAND flag set and ``*'' is a trigger string which means the UPS is being shut down. Please. If anybody has anything on the UPS daemons or APC send the materials to me directly. I hope to finish all the things in a month. alexis -- The more experienced you are the less people you can get advice from.