Peter Sutter wrote:
Thanks for your answer, Anders.
OOPS. may be I was not very precise with my question.
Did you by any chance just copy over your powerd.conf from your old setup? The new (7.3) powerd.conf has no default config, but does say "read manual page detectups and powerd itself. I suspect you fix it by configuring powerd with the correct values.
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!
Another thought is to use the smartups package, configured with a generic UPS. I switched to it from powerd several months (years?) ago and it has been great. -- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: www.mydestiny.net/~joe_morris Registered Linux user 231871