[Nut-upsdev] anybody familiar with these init(?) sequences?

AE sysadmin ae.tech.i at gmail.com
Mon Mar 3 23:03:39 UTC 2008


Thank you for the previous help. Here is the rather useless feedback.

#  upsdrvctl -h
Network UPS Tools - UPS driver controller 2.2.0-
<..>

# cat /etc/ups/ups.conf
[test]
driver = megatec
port = /dev/ttyS0
desc = "UPS"

# megatec -a test -DDDDD

[root at localhost ~]# megatec -a test -DDDDD
Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec]
Carlos Rodrigues (c) 2003-2007

debug level is '5'
Starting UPS detection process...
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
0 out of 5 detection attempts failed (minimum failures: 2).
Asking for UPS information ("I" command)...
UPS doesn't return any information about itself.
Megatec protocol UPS detected.
Asking for UPS power ratings ("F" command)...
UPS doesn't return any information about its power ratings.
Cannot calculate charge percentage for this UPS.
Done setting up the UPS.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
dstate_init: sock /var/run/nut/megatec-test open on fd 5
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
<..>


Vova



More information about the Nut-upsdev mailing list