[Nut-upsdev] Problems with blazer_usb. Driver will not shut down my UPS

Eirik Skorstad
Sat, 04 Jan 2014 10:45:24 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



>> Apart from what the logs say, has the command some effects on the
>> UPS? Can you please launch the driver with debug level = 3 and
>> send the logs of when you execute the command shutdown.return via
>> upscmd?

>> I saw your new UPS is shipped with ViewPower (developed by
>> Voltronic Power, mainly for their UPSes), so, if it's
>> manufactured by Voltronic Power maybe it's using their new
>> protocol 'QGS' (mapped as 'voltronic' in the new driver
nutdrv_qx
>> - available in 2.7.1) or one of their other ones. Maybe the
>> command itself is accepted by the UPS, but since it may use
>> '(ACK'/'(NAK' replies instead of the
'ACK'/'echoing back' of Q1
>> units the driver sees the '(ACK' as a failure. This problem has
>> been addressed in blazer in 2.7.1:
>
>>
https://github.com/networkupstools/nut/commit/031f43d17a129872bd8d5372d580bb497cafbe26



>>
>>
I'm not using ubuntu.. however, here's some
.deb:
>
>> https://launchpad.net/ubuntu/trusty/+source/nut/2.7.1-1ubuntu1


Well, I started with an upgrade to 2.7.1 and that seems to fix the
problem by it self :) Here is the files i had to download and install
in same order:

dh-systemd_1.13_all.deb
init-system-helpers_1.13_all.deb
libupsclient-dev_2.7.1-1ubuntu1_amd64.deb
libupsclient3_2.7.1-1ubuntu1_amd64.deb
nut-client_2.7.1-1ubuntu1_amd64.deb
nut-server_2.7.1-1ubuntu1_amd64.deb


Ran upscmd shutdown.return followed by a shutdown.stop and the UPS
responded as it should. Did a upsmon -c fsd and the server and UPS
responded according to my settings. Still have to do a long batteri
test though, however I am pretty sure this solved the problem.

Maybe it's time for Ubuntu to update their sources..

Many thanks for your help :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSx+ZEAAoJEM18BAAVtKX3kxQH/iaMKNKP5i6qyfQdAXnwHuVl
wy4Q1Ya67sxxZizBaqrMY+dKa0LHWmEEPtx6SXm43V6R9bgjj9zJp4f94Z9DwN8q
1f8q+8gcd//zrTwIDEtYvLk5mRDcNCxtnlrJFxXAEJaSFTGd0rIizBiZ8RsJHoFN
e/0vsg8rj3xV7tfY84PbxaAGp7f3+EkVGIlk0GSGtom2X4mzHTZCiZWOysO/7Wy+
NQ6hUTGwMAhiM5EcG+Y6dkdsRrb6PO6I1tr9N4q8YQVX9IijzHdKnMy+4SWQf8+N
0L0JrL1wFTBiKwyXtj7gLpseFcpZaf7Jz/byKoU+sXqAUcM4snhcAbJgtXfaZ8c=yLv1
-----END PGP SIGNATURE-----