Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Sep 2010 07:37:40 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Ben Schumacher <benschumacher@gmail.com>, apcupsd-users@lists.sourceforge.net, freebsd-stable@freebsd.org
Subject:   Re: apcupsd, USB and FreeBSD 8.1 aren't getting along
Message-ID:  <201009041137.o84BbeYR030751@lava.sentex.ca>
In-Reply-To: <AANLkTi=WQFY85ckjhTwA%2BTGrqVozesdMGnEVWezT5Tks@mail.gmail.c om>
References:  <AANLkTi=WQFY85ckjhTwA%2BTGrqVozesdMGnEVWezT5Tks@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 04:44 PM 9/3/2010, Ben Schumacher wrote:
>All-
>
>It seems that something about the combination of FreeBSD 8.1 and
>apcupsd connecting to an APC Back-UPS RS 1500.
>
>Here's what I've got:
>1. FreeBSD 8.1 (source compiled up to RELENG_8_1 for security fixes)
>2. apcupsd 3.14.8 compiled from FreeBSD Ports
>3. APC Back-UPS RS 1500

Hi,
         I am running RELENG_8 with such a ups.

8.1-STABLE FreeBSD 8.1-STABLE #1: Wed Sep  1 11:42:00 EDT 2010


% apcaccess
APC      : 001,038,0989
DATE     : 2010-09-04 07:32:09 -0400
HOSTNAME : backup3.sentex.ca
VERSION  : 3.14.8 (16 January 2010) freebsd
UPSNAME  : RAPIDS
CABLE    : USB Cable
MODEL    : Back-UPS RS 1500
UPSMODE  : Stand Alone
STARTTIME: 2010-09-01 12:05:12 -0400
STATUS   : ONLINE
LINEV    : 117.0 Volts
LOADPCT  :  38.0 Percent Load Capacity
BCHARGE  : 100.0 Percent
TIMELEFT :  83.5 Minutes
MBATTCHG : 10 Percent
MINTIMEL : -1 Minutes
MAXTIME  : 0 Seconds
SENSE    : Medium
LOTRANS  : 097.0 Volts
HITRANS  : 132.0 Volts
ALARMDEL : 30 seconds
BATTV    : 26.9 Volts
LASTXFER : Low line voltage
NUMXFERS : 1
XONBATT  : 2010-09-01 16:27:30 -0400
TONBATT  : 0 seconds
CUMONBATT: 26 seconds
XOFFBATT : 2010-09-01 16:27:56 -0400
SELFTEST : NO
STATFLAG : 0x07000008 Status Flag
MANDATE  : 2007-09-07
SERIALNO : 8B0736R21784
BATTDATE : 2007-09-07
NOMINV   : 120 Volts
NOMBATTV :  24.0 Volts
NOMPOWER : 865 Watts
FIRMWARE : 8.g9a.D USB FW:g9a
APCMODEL : Back-UPS RS 1500
END APC  : 2010-09-04 07:32:37 -0400

I just leave the DEVICE line blank

UPSNAME STATN
UPSCABLE usb
UPSTYPE usb
DEVICE
LOCKFILE /var/spool/lock
ONBATTERYDELAY 7
BATTERYLEVEL 10
MINUTES -1
TIMEOUT 0

ANNOY 10
ANNOYDELAY 10
NOLOGON disable
KILLDELAY 2
NETSERVER on
NISIP 127.0.0.1
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 100
UPSCLASS standalone
UPSMODE disable
STATTIME 600
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 600
FACILITY local2
UPSNAME RAPIDS
SENSITIVITY H
WAKEUP 010
SLEEP 000
RETURNCHARGE 00
BEEPSTATE T
SELFTEST 336

You dont need to do any symlinks in /dev

# usbconfig -d 5.2 dump_device_desc
ugen5.2: <Back-UPS RS 1500 FW:8.g9a.D USB FW:g9a American Power 
Conversion> at usbus5, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0110
   bDeviceClass = 0x0000
   bDeviceSubClass = 0x0000
   bDeviceProtocol = 0x0000
   bMaxPacketSize0 = 0x0008
   idVendor = 0x051d
   idProduct = 0x0002
   bcdDevice = 0x0106
   iManufacturer = 0x0003  <American Power Conversion>
   iProduct = 0x0001  <Back-UPS RS 1500 FW:8.g9a.D USB FW:g9a>
   iSerialNumber = 0x0002  <8B0736R21784  >
   bNumConfigurations = 0x0001


         ---Mike


--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike




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