forked from Lainports/opnsense-ports
25 lines
863 B
Text
25 lines
863 B
Text
**********************************************************************
|
|
Read the manual:
|
|
http://www.apcupsd.org/manual/manual.html
|
|
http://www.apcupsd.org/manual/manual.pdf
|
|
|
|
Sample files and scripts are installed in %%ETCDIR%%.
|
|
You need to modify %%ETCDIR%%/apcupsd.conf as follows:
|
|
|
|
For serial cable: DEVICE /dev/cuadX (or /dev/cuaaX for [45.]x)
|
|
For USB cable: DEVICE (yes, leave it blank after DEVICE)
|
|
|
|
NOTE that for USB cable you need uhid support.
|
|
|
|
To compile this driver into the kernel, place the following line in your
|
|
kernel configuration file:
|
|
device uhid
|
|
|
|
Alternatively, to load the driver as a module at boot time, place the
|
|
following line in loader.conf(5):
|
|
uhid_load="YES"
|
|
|
|
Add apcupsd_enable=YES to your /etc/rc.conf[.local] to have apcupsd
|
|
starting up at boot time.
|
|
|
|
**********************************************************************
|