-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2021-04-14 at 19:23 -0500, J Leslie Turriff wrote:
On 2021-04-14 17:40:37 Carlos E. R. wrote:
| Start the service: | - "/etc/init.d/upsd start" | | | |No autodetection script in year 2021? Sigh. :-(
In the NUT User Manual (https://networkupstools.org/docs/user-manual.chunked/ar01s06.html) it tells us to use | /usr/local/ups/sbin/upsdrvctl start (In OpenSuSE it's /usr/sbin/upsdrvctl).
Isengard:/etc/ups # upsdrvctl start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Megatec/Q1 protocol USB driver 0.12 (2.7.4) No supported UPS detected Driver failed to start (exit status=1) Isengard:/etc/ups # Ah, UPS was off. Starting it. Isengard:/etc/ups # upsdrvctl start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Megatec/Q1 protocol USB driver 0.12 (2.7.4) Supported UPS detected with megatec protocol Vendor information unavailable No values provided for battery high/low voltages in ups.conf Using 'guestimation' (low: 10.400000, high: 13.000000)! Battery runtime will not be calculated (runtimecal not set) Isengard:/etc/ups # There is something in the log: <3.6> 2021-04-15T11:35:12.285428+02:00 Isengard blazer_usb 28384 - - Startup successful <3.4> 2021-04-15T11:35:53.321331+02:00 Isengard blazer_usb 28384 - - Communications with UPS lost: status read failed! <3.5> 2021-04-15T11:35:54.555506+02:00 Isengard blazer_usb 28384 - - Communications with UPS re-established <3.6> 2021-04-15T11:36:51.108696+02:00 Isengard blazer_usb 28384 - - Signal 15: exiting <3.6> 2021-04-15T11:37:11.771634+02:00 Isengard blazer_usb 28433 - - Startup successful That's all? I get no message when I unplug it from the mains. It doesn't "work". It doesn't even read the voltage values. - -- Cheers, Carlos E. R. (from openSUSE 15.2 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCYHgMOhwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVFYsAoJi2IFFWzN982J/nYO7U U4ZqQlL7AJ9ShsbC6s4+XtMbBsf6CGtgTGZzow== =29iM -----END PGP SIGNATURE-----