![](https://seccdn.libravatar.org/avatar/4e3905d9f74ffab9bd1804f52053a563.jpg?s=120&d=mm&r=g)
Thanks for your answer, Anders. OOPS. may be I was not very precise with my question. It is an older UPS and needs a special cable. In the UPS is a switch that closes when the mains power goes off. The power to that switch is provided by RTS. When the switch closes due to power fail, then CTS goes high, that is interpreted by powerd as a powerfail. This part of the mechanism works well. The part that doesn't work, is when there is no mains power, the UPS 'listens' for a 1 sec rise of DTR. If DTR goes high for 1 second and there is no mains power, then the UPS turns itself off. The old powerd let me define DTR to be low under normal opreating conditions and rise it after all machines shut down. This was the last thing the computer did when powerd invoked the shutdown. Because DTR is now ALWAYS HIGH BY DEFAULT when powerd under SuSE 7.3 is started, when the power fails, DTR is high and the UPS shuts down within one second as required. I need the mechanism with rising DTR at the end of the shutdown to tell the UPS that all computers are down, UPS shut down now! And no, there is nothing wrong with the UPS as it works perfectly under the old powerd. Regards Peter Anders Johansson wrote:
I'm not sure what you're saying here, but you seem to be saying that powerd tells the UPS when the power is out. I think you'll find it's the other way around.
Use the powerd.conf entry "POWERFAIL CTS HIGH" to initiate a power failure action when CTS is raised.
If indeed your UPS loses power after 1 second I suggest you hand it in for maintenance.