Ask Slashdot: Reliable Powering of ATX Systems? 173
David Muir Sharnoff
writes in with this question:
"ATX power supplies don't supply power unless the motherboard says to
turn on. Many motherboards do not have a setting of: 'supply
power all the time.' This means that ATX systems
cannot safely be used a servers. Anyone know of
an ATX power supply that ignores signal? "
More appropriately: does anyone know of an ATX
motherboard/power supply/case combination where powering
is similar to AT systems?
Re:My motherboard is ATX/Server, no problems here. (Score:1)
this point of view.
BUT, they have a stupid BIOS that will not
boot without requiring you have a keyboard
in place!!! PLEASE - all BIOS manufacturers -
HAVE AN OPTION IN THE BIOS FOR CHECKING
KEYBOARDS!
Grrr
OK, how about off? (Score:1)
Re:Use a UPS !!!! (Score:1)
crashed server by cycling its power. Like in
colocation situations.
ATX: change the bios (Score:2)
home would not bootup after a powershutdown.
After some investigation I found that most
ATX mobo's have a setting in their bios to
powerup after a powercycle.
-aj-
Silly question, but, what does ATX mean? (Score:2)
Re:Silly question, but, what does ATX mean? (Score:2)
It includes:
Physical card dimensions(HxWxD, PCI/ISA connector position, CPU position).
Power supply connection and function (pins, volts, amps, power on).
Cooling (P/S blows into case).
have just done this (Score:2)
Related: Soft Power& Reset Switches?? (Score:2)
Is it possible to have the ATX power switch act
like an SGI power switch(I press the button, I
runs shutdown then turns off).
Likewise with reset. If I press reset, can I have it run 'reboot'? Can I even control what happens with the reset button?(I just unplugged the thing, since it does nothing good(safe))
WTX will appear *very* shortly. (Score:4)
WTX will replace ATX for server boxes. It appears to be a good spec to me.
WTX.ORG [wtx.org]
ATX specification URL (Score:5)
http://www.teleport.com/~atx/spec/index
(Boy I hope this message get moderated up.
That would be keen.)
_Many motherboards_ - not all. (Score:2)
Not where I come from - where I come from it just means that those motherboards can't be safely used as servers.
If you get a decent motherboard which has the required power setting, why would you need to play silly buggers with the power supply unit?
kernel options (Score:1)
Re:Related: Soft Power& Reset Switches?? (Score:1)
an interesting benifit (Score:1)
a nice feature for servers (Score:1)
What good is ATX anyway? (Score:1)
Re:What good is ATX anyway? (Score:1)
Re:What good is ATX anyway? (Score:1)
And as far as PC2000 is concerned, M$ can blow me. They can have my ISA slots the day I find a PCI (or AGP!
ASUS P2BF & Intel Nightshade (Score:4)
Re:OK, how about off? (Score:1)
most of the time, you can fix this by editing the init scripts, but I can't give you the speciffics without knowing your distro. On my system which is roughly based on 5MB of Slackware 3.5, I had to edit the init scripts to enable power off for the new kernels.
Mod to keep power on all of the time (Score:4)
From the power supply wires coming from the power supply in the case to the MOBO, short the green wire to ground. This will give you power all of the time.
ATX board / power management / date under linux (Score:1)
I have an epox kp6bs board in a supermicro 750 case. Under Windows, the date / time is reflected fine, even when the machine puts itself to sleep. Under linux, however, it appears that date / time stops when the machine goes to sleep. Therefore, while the machie has been running continuously under linux since May 20th, it thinks that the (current) date is May 21st ('cause it only runs the clock when I'm actually using it).
I don't recall, but I believe that I have power management set to something like 1 hour but suspend completely disabled. If I reboot the machine it picks up the correct date just fine. Anybody got a clue what's doing this to me and how to fix it?
Who am I?
Why am here?
Where is the chocolate?
Re:Silly question, but, what does ATX mean? (Score:1)
ATX corrected several porblems of AT motherboards, but added the stupid soft power switch.
With the old AT cases it was possibal to mix up the power connectoers (they were 100% identical visually, other then label and wire color, if the manufature bothered to get those factors right) Mix up the connector and at least you need a new motherboard. There were also problmes of screw spacing never quit standardised.
ATX cases have a different power supply connector.
Re:ATX specification URL (Score:1)
Short the Jumper! (Score:1)
Soft-power on. (Score:1)
Wade
Lack of reset button depends on case. (Score:1)
Oh yeah: sometimes the power-off-after-five-seconds happens when you release the button. With my home PC (ASUS P2B-L), the 4-second power off happens as documented. But with my Compaq, it powers down only after I release the button.
Wade.
Use apmd + NTP (Score:1)
apmd, on the other hand, is wired into the APM system and restores the time from the RTC immediately upon resume. apmd+NTP could work very well together.
Re:ATX specification URL (Score:1)
Use the force, luke... er... Lucas Digital? (Score:3)
If I had a rack of Linux servers with ATX supplies (which, coincidentally, I do), and wanted to make sure they came back on when power was lost (doh, didn't think of that, what are you running a server without a UPS for anyway???), then I might use a spare 386 or 486 I've got kicking around to do it.
Its a piece of cake to wire a relay to a parallel port, there's schematics all over the place on the net to do it. Trim the power supply's "on" pins, wire them to the relay, and you could easy control the power of 8 systems from the parallel port with maybe $40 worth of hardware. Its not exactly what the question was asking, but it might be useful. Maybe Slashdot needs something like this for when the machine misbehaves.
Also useful in case of an errant init 0 instead of init 6...
Alternately, I think those Matrix Orbital displays with the keypad interface also have eight digital outputs on them, you could wire one of those to a serial port, and trigger the relays with those outputs. Running some monitoring software to put the status of the machines on the LCD, you've got a nifty monitoring/control system.
Re:OK, how about off? (Score:3)
Sometimes they don't make that clear in the manual though. Its a problem if you have Linux on them and don't know that, and don't compile the kernel to shut the system off on halt.
Re:How can the MB control the power supply? (Score:3)
40 watts * 0.08 cents/1000watthour *24hours * 30 days
=$2.30
If you get the industrial rate at $0.02 per kilowatt hour, that will be about $0.58 per box.
UPS supplies seem to draw much more. They seem to have a type of saturation transformer where the iron core is intentionally saturated with excessive current to give a well regulated and safe voltage to your computer including isolating it from the mains.
"Award Modular BIOS v4.51PG" (Score:1)
Here is how for an Abit BH-6 with Award BIOS. (Score:2)
Re:How can the MB control the power supply? (Score:1)
Two key things:
1. Your BIOS. Assuming post 1994 (probably before, just a guess) , you should have power management options in there.
2. APM and APMD. Might require a kernel recompile to enable APM in Linux, but that's extensively documented. See first post about link to Battery-Power-HOWTO (similar techniques, section 3.x)
Re:How can the MB control the power supply? (Score:2)
Particularly Sections 3.1-3.4 (which describes APM)
Also HDPARM, which can be used to reduce the spin rate on the Hard Drive to reduce the power used.
But the question is why? Aside from the good for the environment angle, there isn't a pressing need for it. A computer only draws about as much power as an light bulb (last spec I heard about PC power consumption). If you REALLY want to save power, shut off the system. Sleep mode draws ~2-4 watts afaik.
Hope this helps,
Re:ATX board / power management / date under linux (Score:1)
I setup control-alt-delete to run shutdown -h, instead of shutdown -r, so I can turn it off just by hitting control-alt-delete.
How can the MB control the power supply? (Score:1)
In an "Ask Slashdot" that wasn't posted I asked about making my computers power efficient. Is ATX relevant here? Since I'm out of the house for 12 or more hours at a time it would be great to have my computer turn its power supply down to idle when I'm gone.
Is that what ATX does? I've never come across any comparison of AT vs ATX so I've just stuck with AT upgrading piecewise from my first AT case. If ATX allows variable control of the power supply its worth the switch.
Re:How can the MB control the power supply? (Score:1)
The reason I want to save power is because there's way more idle time than active time. Two computers with 200 Watt power supplies running 24/7 is wasteful when you consider that they're idle 10-12 hour straight when I'm at work and 6-8 hours straight when I'm asleep.
Sleep mode of 2-4 watts each would be great. Is that achievable with an AT motherboard/power supply?
Wierd (Score:1)
win shut? (Score:1)
not to shut the power on shutdown?
Can you set this in other Unices(!Linux)?
Re:Silly question, but, what does ATX mean? (Score:2)
Re:Use a UPS !!!! (Score:1)
HIT.net maybe?
Re:Use a UPS !!!! (Score:1)
Re:Moderation in Moderation, PLEASE! (Score:1)
Re:Silly question, but, what does ATX mean? (Score:2)
--
Time stands still (Score:1)
Off-topic again (Score:1)
Those LED displays
A better use for those LED displays would be to use it as a readout of the temperature inside the case. Anyone got a (cheap, low parts count) circuit handy?
Switching versus linear (Score:2)
Linear power supplies take the current from the wall socket and run it through the primary winding of a transformer. The secondary winding (in vacuum tube days a voltage step up, current step down--for solid-state circuits a voltage step down, current step up) passes the same wattage (voltage times current, sort of--it's a little more complicated with alternating current than with direct current)--minus what gets lost, due to less than 100% efficiency, and turns into heat--to rectifiers which "re-route" the alternating cycles so that the current flows in the same direction instead of reversing 60 times per second. This makes it direct current, but now the voltage goes from zero up to whatever the peak is and then back down to zero 120 times per second, so various passive (and sometimes active) components are used to filter and regulate the voltage. If the incoming frequency is higher than 60 Hz then smaller, lighter (less expensive) transformers and passive filtering components can be used. This is the reason for 400 Hz generators on aircraft, to save weight and space, although, in the case of aircraft, not money. The higher frequency = smaller, lighter, cheaper components relationship is also taken advantage of in switching supplies where the alternating current from the wall socket goes straight to the rectifiers, is changed into pulsating direct current, filtered to "average out" the pulsations, and sent to transistors which turn on and off somewhere in the neighborhood of 20,000 to 40,000 times per second. This results in a "pulsed" direct current which can be stepped up or down in voltage with a transformer just as with alternating current, but at the much higher frequency a smaller, lighter, cheaper transformer can be used. In both cases (linear and switching)the transformer electrically isolates the power supply's output from the wall socket supplied input.
Do it in hardware (Score:5)
So, you should be able to hack it together to have that pin permanently grounded, so that the PS is always on. I haven't tried this; I think it should work fine, but don't blame me if your motherboard burns!
There's also more info on ATX at http://www.teleport.com/~atx/ [teleport.com]
Re:a related question... (Score:1)
Re:Servers... UPS, silly! (Score:1)
All I'm saying is this information is useful, and I'll be acting on it!
Re:Problems with ATX (Score:2)
One major problem that I have experienced wth ATX power supplies is that since the fan is mounted on a horizontal plane it seems to be more prone to wear and "chuffing."
ATX motherboards are great since they reduce ribbon cable clutter. However, if you must use ATX you should ALWAYS get a motherboard that has AT power supply connectors (most aftermarket boards do). You'll save at least $30 and be able to get higher-rated power supplies for less money. You also won't have the annoying power button problems.
Kris
Kriston J. Rehberg
http://kriston.net/ [kriston.net]
Re:Short the Jumper! (Score:1)
Re:Servers... UPS, silly! (Score:1)
Re:Silly question, but, what does ATX mean? (Score:1)
Re:How can the MB control the power supply? (Score:1)
As far as the power supply idling, what you really mean is the mobo/CPU idling. I think the PS will use less power if it is asked to supply less power and most ATX mobo's have APM built in. IIRC. If you want to use that feature, install APM on your OS and enable in your mobo BIOS. I did this with my IWILL DP6NS server at home til I started crunching RC5-64.
Re:Do it in hardware (Score:1)
------------------------------
Re:Do it in hardware (Score:2)
------------------------------
Re:Related: Soft Power& Reset Switches?? (Score:1)
It is actually a rather nice idea, as it tries to sidestep some of the hackish nature of APM.
Keep in mind even the shipping version of Win98SE has horribly buggy ACPI support, even though it tries to be very conservative about when to enable this. My guess is W2K will also have some form of ACPI support.
You can find some more information somewhere on telebit (I think).
Not true. (Score:1)
Re:ATX board / power management / date under linux (Score:1)
This is in fact a good idea because it keeps cron from getting confused when the time changes.
Re:Answer me this (Score:1)
!! me too !! (Score:1)
Haven't been able to figure it out, but I put it on one of those control base things that let you CUT the power to your box - and that obviously fixed it.
Re:Use a UPS !!!! (Score:1)
Re:How can the MB control the power supply? (Score:2)
However, there will always be a small amount of electricity flowing through the components from the power supply when it is off. With that in mind, the power supply is never fully, completely off. This is why it is best to unplug the power cord from a system before any tinkering inside of it is done.
Maybe this isn't about power outages... (Score:1)
This is exacly what mine does (Score:1)
The NEC Versa LX notebook I just got performs a Windows shutdown when the power switch is cycled. If the power switch is held down for three seconds it does a normal power off without the shutdown. Kind neat.
Re:ASUS P2BF & Intel Nightshade (Score:1)
The Intel AL440LX has an auto-power on option in the same place as the restore option. So I wouldn't be surpised if the N440BX has the same option.
Of course with the restore option (and the P2B-F's in that matter) it only works if you never use the ATX front-panel power switch... but if you never wire that it's not an issue :)
As to the original question... I'd just advise using Intel/Abit/Asus etc... mobos or something like that which DO have the always power on feature.
Re:AT --> ATX converter? (Score:2)
Finally, the old power supplies were/are very inefficient; they work by using transformers to step down the voltage. The newer power supplies, including the ATX supply, are switching power supplies. This means that more of the power actually gets to the motherboard and less is wasted in the conversion.
Re:Silly question, but, what does ATX mean? (Score:2)
Re:Gigabyte motherboards (Score:1)
Re:Silly question, but, what does ATX mean? (Score:2)
ATX-compliant motherboards can do this (Score:1)
Re:_Many motherboards_ - not all. (Score:1)
- Whenever power is detected, turn the system on, regardless of how it was shut down.
- If power is detected and the system was not shut down by software, turn the system on. If it was shut down properly, then leave it off
- Whenever power is detected, go to sleep until someone presses the power button. (this is the default setting for most ATX machines)
What I did for my servers was to set them with the first option, and disconnected the frontal power button... The rear (real) power switch is harder to press by accident - and... Well, servers are meant to stay up, am I wrong?
Re:How can the MB control the power supply? (Score:1)
Re:OK, how about off? (Score:1)
Each time more people are using ATX motherboards, and I think that most of us, when typing shutdown -h now mean I want to turn off the bloody system - why is it not enabled by default?
Re:Short the Jumper! (Score:1)
Re:What good is ATX anyway? (Score:2)
- The CPU is at the top, not in front of the cards. Many (most? [all?]) current processors will discourage you from using full-size cards on an AT motherboard because they are just in the middle.
- RAM is in a much more convenient place than just under the power supply, it is actually possible to fill your motherboard with RAM without unmounting the power supply
- Printer, serial, keyboard, mouse, USB, video (optional) and audio (optional) ports are soldered on the motherboard, so you won't have 5 extra cables on your case, which makes up a cleaner design, easier access and maintenance.
- IDE, SCSI and floppy ports are located actually near the disks, so your cables won't run all across the place - once again, cleaner.
- The boxes are a bit wider. I don't know what is that for.
- The fan on the power supply doesn't suck the hot air from the case, it blows fresh air in instead. What's the effect? I don't know.
- ATX motherboards can implement wake up on ring, LAN activity, keyboard activity or port activity, they are continously powered - I don't know if this can damage your computer in the long run. To keep safe, if you plan not to turn on the PC, turn off the UPS or regulator.
I tend to prefer AT because it has been the standard for many years and still works very good, and I don't think most people will need this features. However, I just bought an ATX systems (they were out of AT motherboards and I needed the machine immediately), and assembling it was much easier. Also, it's easier to spot a misconnected cable. I think I will start recomending ATX now.
Do it with hardware (Score:5)
alton 747 has AT/ATX jumpers (Score:1)
Re:How about one that STAYS off? (slightly off-top (Score:1)
Re:Short the Jumper! (Score:1)
Re:How can the MB control the power supply? (Score:1)
Re:Not true. (Score:2)
Re:Do it in hardware (Score:2)
Re:ASUS P2BF & Intel Nightshade (Score:1)
Problems with ATX (Score:3)
Additionally, is it just me or are the ATX power supplies more fragile than AT's? I've had to replace two of them myself in the period of one year, and my brother had to replace his a few months after he got his. I don't know about him, but I have a UPS (APC) so I know my power is clean. And I've been buying good quality power supplies. Argghh, I like the ATX case design thing-ma-bobs, but I REALLY don't like the power supplies. Is it just me? Am I cursed? Or have other's experienced my travails?
BTW, this is very recent so it's not because I'm using pre 2.01 compliant power supplies.
A couple options (Score:5)
Some ABIT motherboards can be strapped with a
jumper between the reset and power switch connectors to make them act in an 'always on'
fashion like AT motherboards do.
If you feel like experimenting a bit, you can
look in electronics parts catalogs for POST
transistors... these basically act like delayed
momentary-on relays. One lead goes to +5V,
the others go to the power-switch jumper.
--Z
Re:ATX: change the bios (Score:2)
**offtopic alert**
It's a phenomenon I have encountered in embedded designs in the past- a device has to be on in order to know if it should turn itself on. It certainly sells more MOV and Gas-tube surge protectors to have everything powered up and ready for a soft-powerup, or a lightening jolt. In the old days when you turned something off, it stayed off and was physically disconnected from the power grid. (shaking head and muttering about how glad I am my Stereo uses a Harmon-Kardon tube-type integrated amplifier)
**end of offtopic alert**
Awhile back I needed the additional 3.2 volts that an ATX supply provides, to power a DEC Alpha motherboard (Cabriolet). The motherboard used the traditional AT-type power supply connector but had additional connectors for the 3.2 volts it needed. I ended up chopping off the connector on an ATX supply and splicing on a traditional AT connector, then hooking up the 3.2 volt connectors to the 3.2 volt lines. Then I had to ground the control line that the MB uses to control the power supply. It worked out okay, after a bit of reverse engineering the ATX power supply spec.
Melbert
Re:AT --> ATX converter? (Score:2)
Re:Related: Soft Power& Reset Switches?? (Score:2)
I suspect that a power-switch event could be linked to trigger a shutdown somehow, maybe in the inittable (?) like control-alt-delete is. It seems like pretty low-level hardware stuff, though. Does anybody know if power-switch handling is part of the ATX specification (which I believe is available at Intel somewhere) to make it worth the effort of something like this? (it would be a nightmare to have it be architecture dependent with tons of variations)
Paging (Score:2)
Try [maclawran.ca]
Big Brother... it works wonderfully for this.. (assuming your UPSd logs things like that
Re:Mod to keep power on all of the time (Score:4)
We ran into this same issue with some boxes that we wanted to boot right up when power was applied, soldering gun and a handfull of Radio Shack Resistors later we were golden...
A
Re:Do it in hardware (Score:5)
Just take a bit of the isolation off the wire of Pin 14 (usually, bit NOT ALWAYS green). There's a GROUND signal on either side of this; take the isolation off that as well. Then solder together and wrap with insulating tape. Works like a charm. The only thing you shouldn't do is tell the mobo to power off; it gets a bit confused then.
This is where pin 14 is:
Looking down onto the contacts: (wires on rear)
v--(plastic tab)
===
+ + 0 # 0 + + + + +
+ + + + + + + + + +
# is pin 14. 0 is ground signal, should be a black wire.
Re:How can the MB control the power supply? (Score:2)
--bdj
There are MOBO'S and there are MOBO's (Score:2)
Myself I don't like buying anything I haven't researched to death; I also really want to hear what other people's experience has been with the stuff. (note: people I trust... not some script kiddie; though on
Checking Tom's Site [tomshardware.com] and Ars Techina [arstechnica.com] to see what they think doesn't hurt either.
As far the Power-Always-On feature you want well, 3 things:
1) I would not recommend any soldering at all as your warranty will most likely go out the window. This can be a very bad thing in a corporate environment.
2) Most high quality Motherboards come with either a CMOS or Jumper setting (or combo) which tells the PS what to do when power is applied.
3) A good case goes a long way... both in ensuring you have a quality PS, and that you won't slice your fingers when you need to work on it. (Can we have a poll on how many times we've done that?
As far as personal choices, I'm a big fan of both Supermicro [supermicro.com] Motherboards and Cases - my personal fav is the SC-701a style case - it's a beauty! but unfortunately its soon to be discontinued...
Anyway, just my $0.02 (which is worth even less as its Canadian...)
My motherboard is ATX/Server, no problems here... (Score:4)
As soon as I through the switch on the back of the powersupply its on, and if that switch is left in the on position then it comes on when the power returns after a black out, etc.
Note the case is a supermicro ATX750 or something(which is really an Antec Case and Powersupply) and it seems to be designed just for this...
Example ATX power utilization (Score:2)
A while back, I did some current measurements on my ATX PC. Here are the results:
The eye-opener is the fact that, even with everything "off", the system is still eating 12 or so watts. I was expecting maybe 8W, but not 12W. ATX systems can eat significant power, even when off.
Note that the "full on" current was measured just after Win98 had finished booting. A CPU-intensive program like Quake or Unreal wasn't running. It would be interesting to see how much of a difference, if any, there would be.
It's also interesting to note that, if I disconnect all cables from the power strip and then measure the current, the power strip is drawing 0.01A (1.2W). This is probably leakage current from the surge suppression in the power strip (or measurement error in the ammeter).
These numbers are probably on the high side, as my system has a Voodoo 2 and two hard disks. Detailed specs:
Side note: from measuring my girlfriend's PC, which is virtually identical to mine except she has only one IBM hard disk and no Voodoo2 card, the Voodoo2 card and extra hard disk use up 0.27A or 32.4W. Most of this is probably from the Voodoo2 card.
Re:Example ATX power utilization (Score:3)
Your conclusions are accurate, but your actual data is wrong. The power is way too high to be wasting on every PC on the planet, but is in fact significantly lower than you measured. The power into a PC power supply cannot be estimated by measuring the AC current and multiplying times the known AC voltage. This would work with in-phase sine waves or DC, but not with the highly distorted current waveform present at the input of the power supply. Most of the measured current is in odd harmonics (3rd, 5th etc.) of the 60 Hz line. Multiplying a 180 hz current times a 60 Hz voltage will give alternating positive and negative power over time, with zero net power. (i.e. the 180 Hz power alternately flows from mains to computer, then from computer to mains). Your current meter measures this as part of the total current, though it doesn't reflect power. (Your local Utiliy's Wattmeter is not fooled - it reflects true power).
A Wattmeter is required, and the error can be 3x. (Actual power dissipated is lower is lower than you calculate.) This has been a real pain for a non obvious reason. Typically, we design equipment for use on a 10A service (assumed minimum size of fuse/circuit breaker; the ratings on wiring, wall sockets, etc.), which would imply that we could go up to 1200 W without problem even in a consumer environment. In fact, we will exceed 10A RMS on significantly lower power units. High power systems (750W and above) will almost always need an additional power stage, a Power Factor Correction (PFC) front end, which pulls power from the mains in a clean sinusoidal waveform to allow us to extract the maximum power at a given RMS current level.
Two upcoming related issues will increase the cost of power supplies: In Europe, there is already a new requirement on the books that will require that the level of harmonics in the current draw be reduces (same as saying that we will be required to make the input current look more sinusoidal). This will be a new requirement on low power (consumer sort of power level) equipment. Second, the "low power" energy savings modes will be made significantly more stringent, which will have significant impact not only on computers, but on all that consemer gear that stays alive waiting for your IR remote to tell it to power up. Even little wall-warts will be affected. the power drawn by old fashioned steel transformer based warts is on the order of a Watt or two - multiply that number times the number of cell phone chargers hanging off people's wall sockets 24 hours a day and you'll see staggering costs to society.