Subject: Re: a question about apcupsd
To: Thierry Lacoste <lacoste@univ-paris12.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 11/08/2006 23:28:42
On Wed, Nov 08, 2006 at 10:53:29PM +0100, Thierry Lacoste wrote:
> Yes I also tried that but I have no option for changing settings.
> 
> sheliak# apctest -c
> 
> 
> 2006-11-08 22:47:05 apctest 3.8.6 (5 February 2003) netbsd
> Checking configuration ...
> sharenet.type = DISABLE
> cable.type = CUSTOM_SMART
> 
> You are using a SMART cable type, so I'm entering SMART test mode
> mode.type = SMART
> Setting up serial port ...
> Creating serial port lock file ...
> Hello, this is the apcupsd Cable Test program.
> This part of apctest is for testing Smart UPSes.
> Please select the function you want to perform.
> 
> 1) Query the UPS for all known values
> 2) Perform a Battery Runtime Calibration
> 3) Abort Battery Calibration
> 4) Monitor Battery Calibration progress
> 5) Quit

Hum, I misremmebered. I though we had an updated version of apcupsd but
it's still in my local tree it seems.
For this version, I think you can put
SLEEP 180
in your config file.
and then run
apcupsd -c

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--