I had another thread under the hardware section that generically discussed building an APC SmartUPS driver. I thought it would be more appropriate to move the discuss here as I'm now convinced my problem lies with Premise.
My progress so far: The attached PDF found here: http://www.apcupsd.com/manual/manual.pdf describes how to test UPS communications on page 71:
"The first thing to do is to look at your log file, usually /var/log/messages because apcupsd writes more detailed information to the log file whenever there is an error. If you have a UPS that uses apcsmart protocol, you can manually test the serial communications with the UPS by starting a serial port communications program (such as minicom, tip, or cu) with the settings 2400 8N1 (2400 baud, 8 data bits, no parity, 1 stop bit). Be extremely careful what you send to your UPS as certain characters may cause it to power down or may even cause damage to the UPS. Try sending an upper case Y to the UPS (without a return at the end). It should respond with SM. If this is not the case, review the possible problems listed above. If you fat finger the Y and enter y instead, no cause for alarm, you will simply get the APC copyright notice. Once you are sure that serial port communications is working, proceed to the next test."
I am able to test communications just fine use PuTTY with the default terminal settings. The commands on page 98 of the PDF all work after first sending a "Y" to the UPS to initiate communications.
However, when I try to use the same commands in Premise, after sending "Y" nothing is received? (SM plus 0D 0A should be sent back from the UPS). Any ideas? If serial communications work under PuTTY, shouldn't Premise work too? A test driver is attached that should result in SM being received.
My progress so far: The attached PDF found here: http://www.apcupsd.com/manual/manual.pdf describes how to test UPS communications on page 71:
"The first thing to do is to look at your log file, usually /var/log/messages because apcupsd writes more detailed information to the log file whenever there is an error. If you have a UPS that uses apcsmart protocol, you can manually test the serial communications with the UPS by starting a serial port communications program (such as minicom, tip, or cu) with the settings 2400 8N1 (2400 baud, 8 data bits, no parity, 1 stop bit). Be extremely careful what you send to your UPS as certain characters may cause it to power down or may even cause damage to the UPS. Try sending an upper case Y to the UPS (without a return at the end). It should respond with SM. If this is not the case, review the possible problems listed above. If you fat finger the Y and enter y instead, no cause for alarm, you will simply get the APC copyright notice. Once you are sure that serial port communications is working, proceed to the next test."
I am able to test communications just fine use PuTTY with the default terminal settings. The commands on page 98 of the PDF all work after first sending a "Y" to the UPS to initiate communications.
However, when I try to use the same commands in Premise, after sending "Y" nothing is received? (SM plus 0D 0A should be sent back from the UPS). Any ideas? If serial communications work under PuTTY, shouldn't Premise work too? A test driver is attached that should result in SM being received.