Xref: utzoo comp.unix.questions:26004 comp.unix.sysv386:1008 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!shelby!rutgers!mcdchg!ddsw1!!ctk1!oct1!mason From: mason@oct1.UUCP (David Mason) Newsgroups: comp.unix.questions,comp.unix.sysv386 Subject: Re: Cheap or free auto-shutdown setup Message-ID: <1990Oct3.082634.609@oct1.UUCP> Date: 3 Oct 90 08:26:34 GMT Reply-To: mason@oct1.UUCP (David Mason) Organization: Open Computer Technology Lines: 17 In article <1030@bilver.UUCP> bill@bilver.UUCP (Bill Vermillion) writes: >Why couldn't you just use a cheap relay connected to the mains power >source. Then connect pins 2 & 3 of the rs232 to a pair of contacts that >are closed when power is on. Then just send something out and see if it >echos. If it doens't come back to you, the power is off! Or even easier. Get a mains/25 volt ransformer (12 volt would probably do, and can be bought off the shelf very easily) and wire the live 25 volts into DCD of a serial port. Open the port with modem control. When the power drops, the port closes, and some program takes ap- propriate action. Haven't tried it, but it seems easy enough. -------------------- David | mason@oct1.UUCP (David Mason) | olsa99!oct1!mason@ddsw1.mcs.com ~~~~~~~ Has your C2 locked you out today? ~~~~~~~