I am trying to configure NUT to communicate with a Mecer ME600BK UPS connected via a serial cable to a standalone machine on what I assume is ttyS1. To be sure I have also tried on ttyS0 (locked by another process) and ttyS2 with a similar output as given below. I have followed the how-to:
http://blog.shadypixel.com/monitorin...-ubuntu-linux/.
I can find nothing on the subject in these forums.
After configuration, when I enter the command:
sudo upsdrvctl start
I get this:
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)
tcgetattr(/dev/ttyS1): Input/output error
Driver failed to start (exit status=1)
When I set the configuration to use ttyS0 I am told this port is locked by another application.
When I enter the command
sudo upsdrvctl stop
I get this response:
Network UPS Tools - UPS driver controller 2.4.1
Can't open /var/run/nut/megatec-ttyS1.pid: No such file or directory
Any suggestions?
http://blog.shadypixel.com/monitorin...-ubuntu-linux/.
I can find nothing on the subject in these forums.
After configuration, when I enter the command:
sudo upsdrvctl start
I get this:
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)
tcgetattr(/dev/ttyS1): Input/output error
Driver failed to start (exit status=1)
When I set the configuration to use ttyS0 I am told this port is locked by another application.
When I enter the command
sudo upsdrvctl stop
I get this response:
Network UPS Tools - UPS driver controller 2.4.1
Can't open /var/run/nut/megatec-ttyS1.pid: No such file or directory
Any suggestions?