From owner-freebsd-stable Mon Oct 28 19:48:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD2CB37B401 for ; Mon, 28 Oct 2002 19:48:46 -0800 (PST) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id C34BC43E3B for ; Mon, 28 Oct 2002 19:48:44 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.4/8.12.3) with ESMTP id g9T3mebT002725; Tue, 29 Oct 2002 14:18:40 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: USB UPS (was Re: power must400) From: "Daniel O'Connor" To: Craig Boston Cc: stable@FreeBSD.ORG In-Reply-To: <1035861627.47534.17.camel@darth-laptop> References: <1035801882021004@caramail.com> <1035850145.77698.35.camel@chowder.localdomain> <1035861627.47534.17.camel@darth-laptop> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 29 Oct 2002 03:48:40 +0000 Message-Id: <1035863321.77698.90.camel@chowder.localdomain> Mime-Version: 1.0 X-Spam-Score: -2.3 () IN_REP_TO,DOUBLE_CAPSWORD X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2002-10-29 at 03:20, Craig Boston wrote: > Speaking of UPSes, has anyone looked at the new APC's with the USB > interface? Under Win2k they show up just like a laptop battery and give > you not only AC status but cool stuff like battery charge level, etc. > > Looks like some sort of HID device, but usbhidctl didn't give me > anything I could decipher. Maybe I'll see if there's any known specs or > try to do some backward engineering. Not sure what to interface it to > though (APM? ACPI? Something else?) The Linux port of NUT does have an experimental driver for APC USB UPSen.. See http://www.exploits.org/nut/ I haven't tried it - I only have serial ones, but if you ship one to me (inc shipping 8-) I'll write support :) :) NUT is quite nice because it has split front and backends so you have have a program logging to a text file, one to shut your PC down (and any other PC's on the same UPS) and a CGI client to see the UPS status. All rather neat. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message