[Nut-upsuser] APC Smart UPS 900i
Arjen de Korte
nut+users at de-korte.org
Tue May 26 19:14:26 UTC 2009
Citeren Rene Bartsch <ML op Bartschnet.de>:
> I used the SVN trunk version from about 20 hours ago.
Good. At least we know it is something recent...
> The upper output is from upsc, other commands:
>
>
> The command "upscmd -l su900i op localhost" just returns
> "Instant commands supported on UPS [su900i]:"
>
>
> The command "upcmd -u admin -p <password> su900i op localhost
> test.panel.start" does not do or return
> anything.
>
>
> The command "upsrw -u admin -p <password> su900i op localhost" does not
> return anything.
>
>
> The command "upsrw -s test.panel.start -u admin -p <password>
> su900i op localhost" returns
> "Enter new value for test.panel.start:
> Unexpected response from upsd: ERR VAR-NOT-SUPPORTED"
All of the above is a waste of effort. Commands and variables that are
not reported as supported by the driver, won't make it past the
server. Please have a look at the man pages for upscmd and upsrw on
how to make them report the list of supported variables.
> When I send an 'A' to the UPS with a quick-hacked-PHP-Script on the
> serial port (Prolific 2303 USB
> adapter), the UPS correctly starts beeping.
>
> How can I do the driver debug trace?
Fire up the driver directly (*not* through upsdrvctl) and add -DDDDD
to the startup command line, something along the lines of
/path/to/apcsmart -a su900i -DDDDD
This will run until you kill it with Ctrl-C. Please post the first 15
seconds worth of output here.
Best regards, Arjen
--
Please keep list traffic on the list
More information about the Nut-upsuser
mailing list