[Nut-upsdev] Battery Volts shown as 20+ on Cyber Power UPS CP1000AVRLCD
David C. Rankin
drankinatty at suddenlinkmail.com
Fri Nov 28 05:28:36 UTC 2008
Arjen de Korte wrote:
> Citeren "David C. Rankin" <drankinatty at suddenlinkmail.com>:
>
> Well, what I need is to correlate the actual battery voltage (as
> measured through a measurement instrument) to what the UPS itself
> reports. A minimum of two measurements is needed, with as much
> difference in battery voltage that is practical between them. Usually, a
> measurement with fully charged and (almost) fully discharged batteries
> will give me what I want. The dirty part here, is that you'll need to
> open the case of your UPS in order to get to the battery terminals.
> You'll also need something to measure voltage with. For the latter, a
> digital voltmeter would be required (a hand held multimeter is probably
> the most practical). Please do note that charged lead acid batteries are
> hazardous. Accidentally shorting out the terminals will cause severe
> personal injury, so if you don't know what you're doing, don't make any
> attempts here.
>
<snip>
> First you need to kill any existing instances of the 'usbhid-ups'
> driver. Then fire it up as follows:
>
> <path/to>/usbhid-ups -DD -a nirvana_ups
>
> This will run in the foreground until you stop it with ctrl-c or after
> sending it a SIGKILL signal. We're interested in the first 30 seconds
> worth of output only, after that it will only repeat.
>
> Best regards, Arjen
Arjen,
I don't know if this is useful to you, but here are the syslog entries for the
testing done this evening:
[23:22 nirvana/srv/www/download/ups/CyberPower] # tail -n500 /var/log/messages
| grep ups
Nov 27 22:16:07 nirvana upsmon[4833]: Signal 15: exiting
Nov 27 22:16:07 nirvana upsmon[4832]: upsmon parent: read
Nov 27 22:16:07 nirvana upsd[4825]: Client upsmaster at 127.0.0.1 logged out
Nov 27 22:16:07 nirvana upsd[4825]: Signal 15: exiting
Nov 27 22:16:07 nirvana usbhid-ups[4815]: Signal 15: exiting
Nov 27 22:27:26 nirvana usbhid-ups[9419]: Startup successful
Nov 27 22:27:26 nirvana upsd[9422]: listening on 0.0.0.0 port 3493
Nov 27 22:27:26 nirvana upsd[9422]: Connected to UPS [nirvana_ups]:
usbhid-ups-nirvana_ups
Nov 27 22:27:26 nirvana upsd[9423]: Startup successful
Nov 27 22:27:26 nirvana upsmon[9426]: Startup successful
Nov 27 22:27:26 nirvana upsd[9423]: Connection from 127.0.0.1
Nov 27 22:27:26 nirvana upsd[9423]: Client upsmaster at 127.0.0.1 logged into UPS
[nirvana_ups]
Nov 27 22:28:32 nirvana upsmon[9427]: Signal 15: exiting
Nov 27 22:28:32 nirvana upsd[9423]: Client upsmaster at 127.0.0.1 logged out
Nov 27 22:28:32 nirvana upsmon[9426]: upsmon parent: read
Nov 27 22:28:32 nirvana upsd[9423]: Signal 15: exiting
Nov 27 22:28:32 nirvana usbhid-ups[9419]: Signal 15: exiting
Nov 27 22:30:38 nirvana sudo: root : TTY=pts/2 ;
PWD=/srv/www/download/ups/CyberPower ; USER=upsd ;
COMMAND=/usr/lib/ups/driver/usbhid-ups -DD -a nirvana_ups
Nov 27 22:31:08 nirvana usbhid-ups[12432]: Startup successful
Nov 27 22:31:08 nirvana upsd[12435]: listening on 0.0.0.0 port 3493
Nov 27 22:31:08 nirvana upsd[12435]: Connected to UPS [nirvana_ups]:
usbhid-ups-nirvana_ups
Nov 27 22:31:08 nirvana upsd[12436]: Startup successful
Nov 27 22:31:08 nirvana upsmon[12439]: Startup successful
Nov 27 22:31:08 nirvana upsd[12436]: Connection from 127.0.0.1
Nov 27 22:31:08 nirvana upsd[12436]: Client upsmaster at 127.0.0.1 logged into UPS
[nirvana_ups]
Nov 27 22:31:42 nirvana usbhid-ups[12432]: Signal 15: exiting
Nov 27 22:31:42 nirvana upsd[12436]: UPS [nirvana_ups] disconnected - check driver
Nov 27 22:31:42 nirvana upsd[12436]: Can't connect to UPS [nirvana_ups]
(usbhid-ups-nirvana_ups): No such file or directory
Nov 27 22:31:42 nirvana upsd[12436]: Data for UPS [nirvana_ups] is stale -
check driver
Nov 27 22:31:43 nirvana upsmon[12440]: Poll UPS [nirvana_ups at localhost] failed
- Driver not connected
Nov 27 22:31:43 nirvana upsmon[12440]: Communications with UPS
nirvana_ups at localhost lost
Nov 27 22:31:48 nirvana upsmon[12440]: Poll UPS [nirvana_ups at localhost] failed
- Driver not connected
Nov 27 22:31:49 nirvana sudo: root : TTY=pts/2 ;
PWD=/srv/www/download/ups/CyberPower ; USER=upsd ;
COMMAND=/usr/lib/ups/driver/usbhid-ups -DD -a nirvana_ups
Nov 27 22:31:50 nirvana upsd[12436]: Connected to UPS [nirvana_ups]:
usbhid-ups-nirvana_ups
Nov 27 22:31:53 nirvana upsmon[12440]: Communications with UPS
nirvana_ups at localhost established
Nov 27 22:32:20 nirvana upsd[12436]: UPS [nirvana_ups] disconnected - check driver
Nov 27 22:32:20 nirvana upsd[12436]: Data for UPS [nirvana_ups] is stale -
check driver
Nov 27 22:32:23 nirvana upsmon[12440]: Poll UPS [nirvana_ups at localhost] failed
- Driver not connected
Nov 27 22:32:23 nirvana upsmon[12440]: Communications with UPS
nirvana_ups at localhost lost
Nov 27 22:32:28 nirvana upsmon[12440]: Poll UPS [nirvana_ups at localhost] failed
- Driver not connected
Nov 27 22:32:28 nirvana upsmon[12440]: Poll UPS [nirvana_ups at localhost] failed
- Driver not connected
Nov 27 22:32:36 nirvana upsmon[12440]: Signal 15: exiting
Nov 27 22:32:36 nirvana upsd[12436]: Client upsmaster at 127.0.0.1 logged out
Nov 27 22:32:36 nirvana upsmon[12439]: upsmon parent: read
Nov 27 22:32:36 nirvana upsd[12436]: Signal 15: exiting
Nov 27 22:32:36 nirvana usbhid-ups[13653]: Startup successful
Nov 27 22:32:36 nirvana upsd[13656]: listening on 0.0.0.0 port 3493
Nov 27 22:32:36 nirvana upsd[13656]: Connected to UPS [nirvana_ups]:
usbhid-ups-nirvana_ups
Nov 27 22:32:36 nirvana upsd[13657]: Startup successful
Nov 27 22:32:36 nirvana upsmon[13660]: Startup successful
Nov 27 22:32:36 nirvana upsd[13657]: Connection from 127.0.0.1
Nov 27 22:32:36 nirvana upsd[13657]: Client upsmaster at 127.0.0.1 logged into UPS
[nirvana_ups]
Nov 27 22:52:40 nirvana upsmon[13661]: Signal 15: exiting
Nov 27 22:52:40 nirvana upsmon[13660]: upsmon parent: read
Nov 27 22:52:40 nirvana upsd[13657]: Client upsmaster at 127.0.0.1 logged out
Nov 27 22:52:40 nirvana upsd[13657]: Signal 15: exiting
Nov 27 22:52:40 nirvana usbhid-ups[13653]: Signal 15: exiting
Nov 27 23:01:44 nirvana sudo: root : TTY=pts/2 ;
PWD=/srv/www/download/ups/CyberPower ; USER=upsd ;
COMMAND=/usr/lib/ups/driver/usbhid-ups -DD -a nirvana_ups
Nov 27 23:18:06 nirvana usbhid-ups[17040]: Startup successful
Nov 27 23:18:06 nirvana upsd[17043]: listening on 0.0.0.0 port 3493
Nov 27 23:18:06 nirvana upsd[17043]: Connected to UPS [nirvana_ups]:
usbhid-ups-nirvana_ups
Nov 27 23:18:06 nirvana upsd[17044]: Startup successful
Nov 27 23:18:06 nirvana upsmon[17047]: Startup successful
Nov 27 23:18:06 nirvana upsd[17044]: Connection from 127.0.0.1
Nov 27 23:18:06 nirvana upsd[17044]: Client upsmaster at 127.0.0.1 logged into UPS
[nirvana_ups]
--
David C. Rankin, J.D.,P.E. | openSoftware und SystemEntwicklung
Rankin Law Firm, PLLC | Countdown for openSuSE 11.1
www.rankinlawfirm.com | http://counter.opensuse.org/11.1/small
More information about the Nut-upsdev
mailing list