Jul
6
The APC ES 550

I wanted some backup in case the power went down at home, not that it happens every day or even month but it happens. there was always a problem after such an event, not all the discs were found on my opensolaris (usb disk with a very low spin up time) or it was stuck on the boot archive. So I bought me two of these UPS’es, each for about €80 and they have a usb cable to monitor them! I hooked one to my soekris downstairs wich runs openbsd and one to my backup/media server running opensolaris. here is what I did to configure them from the source on http://www.apcupsd.org/
Installation on OpenSolaris:
First of all, when you plug it in you’ll see this on opensolaris:
Jul 2 20:56:34 OpenSolaris usba: [ID 349649 kern.info] APC Back-UPS ES 550 FW:828.D3 .I USB FW:D3 3B0???X?????
Now you need to install SUNWgmake and download the usb.h header file
# pkg install SUNWgmake
# cd /usr/sfw/include
# wget http://src.opensolaris.org/source/raw/sfw/usr/src/lib/libusb/inc/usb.h
-> unpack the apcupsd tarball and cd into it.
# ./configure –enable-usb
# gmake
# gmake install
-> cd to the config files in /etc/opt/apcupsd
Installation on OpenBSD:
You’ll get this when you plug it in
ugen0 at uhub0 port 1 “APC Back-UPS ES 550 FW:828.D3 .I USB FW:D3″ rev 1.10/1.06 addr 2
-> unpack the apcupsd tarball and cd into it.
# ./configure –enable-usb
# gmake
# gmake install
-> cd to the config files in /etc/apcupsd
On both operating systems you need to at least have these settings:
UPSCABLE usb
UPSTYPE usb
DEVICE
On OpenSolaris you need to reconfigure before starting apcupsd so do:
# touch /reconfigure && init 6
-> apcupsd will start automatic now, check the status with:
# /etc/opt/apcupsd/sbin/apcaccess status
On OpenBSD you need to edit /etc/rc.local so apcupsd will start automaticly then check the status with:
# /sbin/apcaccess status
Don’t forget to read the manual! a point of intrest:
*BSD: http://www.apcupsd.org/manual/manual.html#known-bsd-usb-issues








