I attach upsesp2.c. Could you please run it on your upses (first stop nut to free the port) and send me the output. It will be helpful in providing a new driver version.<br>Some new commands were discovered that give input & output phases. (They depend on bit-range measurements, i.e. value comes from bitx through bity for ups response).<br>
I also attach a compiled version.<br><br>compile with: gcc upsesp2.c -o upsesp2<br>run with : ./upsesp2 /dev/ttyS0<br>thanks.<br><br>