— /usr/local/etc/apcupsd/apcupsd.conf.sample Thu Jun 29 20:42:09 2006 +++ /usr/local/etc/apcupsd/apcupsd.conf Tue Jul 4 21:58:32 2006 @@ -26,7 +26,8 @@
-UPSCABLE smart +#UPSCABLE smart +UPSCABLE usb
@@ -63,8 +64,9 @@
-UPSTYPE apcsmart -DEVICE /dev/usv +#UPSTYPE apcsmart +UPSTYPE usb +#DEVICE /dev/usv
You are using a USB cable type, so I’m entering USB test mode mode.type = USB_UPS Setting up the port … Hello, this is the apcupsd Cable Test program. This part of apctest is for testing USB UPSes.
Getting UPS capabilities…SUCCESS
Please select the function you want to perform.
Select function number: 2
This test instructs the UPS to perform a self-test operation and reports the result when the test completes.
Clearing previous self test result…CLEARED Initiating self test…INITIATED Waiting for test to complete…TEST DID NOT COMPLETE
Select function number: 3
Result of last self test: PASSED […]
I recently installed and configured an APC Back-UPS RS 800VA, which is an UPS aimed to be a high performance battery backup and protection for business computers. As i run some machines at home (servers and workstations), this kind of protection became more than necessary.
The main point is to properly install and configure
apcupsd. Using the
FreeBSD's ports collection and a recent FreeBSD RELENG_6 system, all
will works out of box.
So, after plug in the USB cable for the very first time, you can see
this in your
ugen0: American Power Conversion Back-UPS BR 800 FW:9.o2 .I USB FW:o2, rev 1.10/1.06, addr 2
Good. Just configure
apcupsd to learn it about
# diff -u /usr/local/etc/apcupsd/apcupsd.conf.sample /usr/local/etc/apcupsd/apcupsd.conf