[Nut-upsdev] Battery Volts shown as 20+ on Cyber Power UPS CP1000AVRLCD

David C. Rankin drankinatty at suddenlinkmail.com
Sun Nov 30 08:21:34 UTC 2008


David C. Rankin wrote:
> Arjen de Korte wrote:
>> Citeren "David C. Rankin" <drankinatty at suddenlinkmail.com>:
>>
>>> Thinking through it (not wise when you aren't sure exactly what you are
>>> thinking through), I decided it to start nut as normal, kill the running
>>> instance of usbhid-ups and then start the new -DD instance with sudo
>>> -u upsd
>>> usbhid-ups -DD -a nirvana_ups, and it looks like I still get the same
>>> output.
>> Well, I told you to "kill any existing instances of the 'usbhid-ups'
>> driver." This can usually be done by stopping NUT, but you really want
>> to be sure that none is running (otherwise the drivers will battle for
>> control over the UPS, which isn't a pretty sight in debug mode). So you
>> may want to run something like
>>
>>     ps aux|grep usbhid-ups
>>
>> to find any remaining drivers left running in the background.
>>
>> I completely missed the fact that you're still running an older version
>> of NUT. Upgrading to nut-2.2.2 would be really helpful (since we
>> rearranged some debug levels since nut-2.2.0). If that's not an option,
>> we'll have to crank up the debug level to -DDDDD (yup, that's five D's)
>> in order not to miss anything. You may also want to append '2>&1' to the
>> command line, so that we don't miss the output from the stderr (it looks
>> like some is missing now).
>>
>> Best regards, Arjen
> 
> Arjen,
> 
> 	I went ahead and installed the 2.2.2 rpm even though it doesn't have the
> /etc/init.d/upsd file so I could get the information you needed. The
> information. A file with the results without all the linebreaks in this email
> can be downloaded at:
> 
> http://www.3111skyline.com/download/ups/CyberPower/nut_2.2.2-usbhid-ups_DD.output
> 

	Also, just a note, the web interface with the rpm 2.2.2 install doesn't work
so the http://www.3111skyline.com/nutindex.html output for nut is down for now.

-- 
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