From owner-freebsd-stable@FreeBSD.ORG Fri Oct 6 02:47:12 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 ECFB316A407 for ; Fri, 6 Oct 2006 02:47:11 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 863F943D45 for ; Fri, 6 Oct 2006 02:47:11 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id k962lAbD032342 for ; Thu, 5 Oct 2006 22:47:11 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.6/8.13.3) with ESMTP id k962lAwN099262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 5 Oct 2006 22:47:10 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <7.0.1.0.0.20061005224814.1491fc80@sentex.net> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Thu, 05 Oct 2006 22:49:16 -0400 To: freebsd-stable@freebsd.org From: Mike Tancsa In-Reply-To: <20061006014910.GA8017@FS.denninger.net> References: <20061005151925.GA1156@FS.denninger.net> <20061005190822.GA15547@icarus.home.lan> <20061005202144.GA11105@FS.denninger.net> <20061005210447.GA82687@lor.one-eyed-alien.net> <20061006000956.GC2473@FS.denninger.net> <7.0.1.0.0.20061005203019.121ff740@sentex.net> <20061006014910.GA8017@FS.denninger.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Recommendations for a serial port card you can actually BUY? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 02:47:12 -0000 At 09:49 PM 10/5/2006, Karl Denninger wrote: >What's your config like? I hooked the USB back up and it identified, but >when I told it to use USB and specified the device, it panics (the software, >not the machine) with a complaint about not being able to talk to the UPS. > >Works perfectly on a serial port... From the documentation at http://www.apcupsd.org/manual/Configuration_Examples.html#SECTION000131000000000000000 If you have a USB UPS, and you have apcupsd version 3.10.7 (3.10.17a for *BSD) or higher, the essential elements of your apcupsd.conf file should look like the following: ## apcupsd.conf v1.1 ## UPSCABLE usb UPSTYPE usb DEVICE LOCKFILE /var/lock UPSCLASS standalone UPSMODE disable Notice that we have not specified a device. In doing so, apcupsd will try all the well known USB ports. We strongly recommend you use this (empty device address) form unless you have a good reason to do otherwise. >-- >-- >Karl Denninger (karl@denninger.net) Internet Consultant & Kids Rights Activist >http://www.denninger.net My home on the net - links to everything I do! >http://scubaforum.org Your UNCENSORED place to talk about DIVING! >http://genesis3.blogspot.com Musings Of A Sentient Mind > >On Thu, Oct 05, 2006 at 08:35:32PM -0400, Mike Tancsa wrote: > > At 08:09 PM 10/5/2006, Karl Denninger wrote: > > >> > > >> ugen0: American Power Conversion Smart-UPS 750 FW:651.12.D USB > > >FW:4.2, rev 1.10/0.06, addr 2 > > > > > >Does apcupsd connect to it? I tried this back on 5.x and it failed > > >miserably. It identified the unit, but wouldn't talk to it. > > > > I literally have 150+ remote FreeBSD boxes with them and they succeed > > fantastically... They are configured to shut down the box and power > > to the UPS outlets on power failure with 25% battery left. All the > > notification hooks work as expected. They have been working for me > > since the 5.x days. I have a few in the field running on 5.4 boxes > > (May 2005) without issue. (ugen0: APC Back-UPS ES 725 FW:802.n2.D USB > > FW:n2, rev 1.10/1.06, addr 2) > > > > [ps0006]# apcaccess > > APC : 001,034,0908 > > DATE : Thu Oct 05 20:28:56 EDT 2006 > > HOSTNAME : ps0006.sentex.ca > > RELEASE : 3.10.18 > > VERSION : 3.10.18 (21 July 2005) freebsd > > UPSNAME : RAPIDS > > CABLE : USB Cable > > MODEL : Back-UPS ES 500 > > UPSMODE : Stand Alone > > STARTTIME: Wed Jun 14 11:00:07 EDT 2006 > > STATUS : ONLINE > > LINEV : 120.0 Volts > > LOADPCT : 12.0 Percent Load Capacity > > BCHARGE : 100.0 Percent > > TIMELEFT : 29.9 Minutes > > MBATTCHG : 25 Percent > > MINTIMEL : -1 Minutes > > MAXTIME : 0 Seconds > > LOTRANS : 088.0 Volts > > HITRANS : 139.0 Volts > > ALARMDEL : 30 seconds > > BATTV : 13.6 Volts > > NUMXFERS : 19 > > XONBATT : Mon Sep 25 10:53:00 EDT 2006 > > TONBATT : 0 seconds > > CUMONBATT: 173 seconds > > XOFFBATT : Mon Sep 25 10:53:02 EDT 2006 > > STATFLAG : 0x02000008 Status Flag > > MANDATE : 2005-10-13 > > SERIALNO : JB0542018502 > > BATTDATE : 2000-00-00 > > NOMBATTV : 12.0 > > FIRMWARE : 24.B1.D USB FW:B1 > > APCMODEL : Back-UPS ES 500 > > END APC : Thu Oct 05 20:28:57 EDT 2006 > > [ps0006]# usbdevs > > addr 1: UHCI root hub, VIA > > addr 2: Back-UPS ES 500 FW:824.B1.D USB FW:B1, APC > > addr 1: UHCI root hub, VIA > > addr 1: UHCI root hub, VIA > > addr 1: UHCI root hub, VIA > > addr 1: EHCI root hub, VIA > > [ps0006]# > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > > > > %SPAMBLOCK-SYS: Matched [@freebsd.org+], message ok