On Sun, Nov 30, 2008 at 3:23 PM, James Knott <james.knott@rogers.com> wrote:
Carlos E. R. wrote:
On Sunday, 2008-11-30 at 22:23 +0200, Tero Pesonen wrote:
But if I had a UPS for my home box, and the power went out, and the UPS went to work for a short period of time, how would my system know to "init 0" or something like that during the time the UPS would be able to feed it?
First, you need one that has some time of communication port with the computer.
The old type just had some contacts, that were plugged into some of the auxiliary control lines of a serial port, and this way, the status of "online, on batt, or batt nearly depleted" can be communicated to the computer. Then, there are better types with an ethernet, usb port, or real serial port, and contain some kind of microprocessor.
And some of them can be controlled by linux, using the package "nut", or sometimes, a proprietary package of the maker. Bad news is that they can cost almost double the price of a plain UPS.
I have a couple, made by APC that work well. They're connected by US[B] and managed by apcupsd, which is included with OpenSUSE. They are inexpensive and available in many computer and office supply stores.
I contacted APC a while back to get my Back-UPS XS 1500 working with PowerChute-like soft shutdowns. But I gave up on it since I never used it that much. My computer is usually off. The techs at APC were pretty helpful. But they did not tell me anything I did not already know. apcupsd is really the place to get started. Come to think of it, I'm not even sure I could communicate with my UPS. I remember there being some disagreement whether my USB-to-RJ-45 cable would work or not. Maybe the apcupsd project could shed more light on compatibility. Sorry I can't be of more help. Supported UPSes and Cables http://www.apcupsd.org/manual/Supported_UPSes_Cables.html Mike -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org