Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Oct 2006 22:49:16 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: Recommendations for a serial port card you can actually BUY?
Message-ID:  <7.0.1.0.0.20061005224814.1491fc80@sentex.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.1.0.0.20061005224814.1491fc80>