Citeren Rene Bartsch <[email protected]>:
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 su9...@localhost" just returns
"Instant commands supported on UPS [su900i]:"
The command "upcmd -u admin -p <password> su9...@localhost
test.panel.start" does not do or return
anything.
The command "upsrw -u admin -p <password> su9...@localhost" does not
return anything.
The command "upsrw -s test.panel.start -u admin -p <password>
su9...@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
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser