Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In terms of the ACPI the g3 state is a mechanical off, but the mac mini has the ability to boot when it senses the power returned. I am trying to put the system in this state after every power down so that when every the mac mini senses a power return it boots, but I am not sure where to look. This is different then g2 state, so please don't bother mentioning anything to do with the system preferences.

share|improve this question
Although I did not find the solution to this " setting the dirty bit" it would be pointless to do so as outlined here:… – ghostsource Jul 1 '10 at 2:36

Short answer to accomplish what I believe you want to do(?):

Plug the Mac into a power bar with a switch and turn it off (the power bar) when you want the computer to think "the power is out". When you turn the power bar back on the computer will think the building's power has returned.

Warning: Just turning the power bar off without properly shutting the computer down first is a bad idea.

And now a more general answer (as I'm not a cutting-edge computer designer) to the actual question posed, in an attempt to cover all my bases:

The piece of "hardware" that detects power would be the PROM chip that the system firmware is located on. This PROM is almost always located on your motherboard.

The system firmware would be what decides if the system should boot (or not) after PROM power on.

This firmware usually referred to as the system BIOS (Basic Input Output System; aka Open Firmware, aka EFI).

So aside from adjusting the available settings, knobs and buttons in your existing firmware, you'll probably have to look at creating a custom firmware to change it's behaviors.

Warning: Custom Firmware = Not Easy


After reading your other post, the only way you're going to accomplish what you're looking to do is through out-of-band management (The ILO mentioned in the other thread, or something like Intel's vPro/AMT).

There's a reason they have all new technologies to accomplish what you're trying to do (turn a healthy machine that's off to on without triggering an actual power 'failure'), and unfortunately I doubt you'll be able to duplicate it by fiddling with a 'dirty bit'.

I think you're going to either need hardware that supports one of these technologies, or possibly create some kind of third party device to cut power, and return it on command (possibly from remote) so that you can use the Mac's currrent functionality as-is.

share|improve this answer
Sorry this isn't helpful. I am looking for the memory location in the nvram or on the rtc or whatever that is set when a mac suffers a power cut so that I can change it to look like the mac suffered a power cut every time it shuts down. – ghostsource Jul 1 '10 at 1:19
Updated my answer for ya. Not really what you're hoping to hear I'm afraid. – Ƭᴇcʜιᴇ007 Jul 2 '10 at 16:39
I appreciate the edit. I started exploring the APCI, libkern and other stuff like NVRAM commands and found that I can immediately set the next power on time stored in NVRAM so that it can be read by the RTC from a g2 state. THen update the next power on time every 5 minutes to be 10 minutes ahead. The whole point is to make sure that mac mini is always on, which is very tough to do. – ghostsource Jul 5 '10 at 14:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .