Simulating Sleep

18 views
Skip to first unread message

PH

unread,
Feb 19, 2013, 10:40:23 AM2/19/13
to hq...@googlegroups.com

Sleep may be simulated by using a facility known as "Suspend to RAM", or STR.

This is supported by the power button as follows:

1) depressing the power button momentarily will force the machine into an STR state, thereby simulating sleep,

2) once in an STR state, depressing the power button momentarily again will force the machine to return from STR.

This facility REQUIRES that the Energy Saver control panel has been set to "Sleep Never".


What happens if, say, you left the Energy Saver with a value other than Never?

When the value is reached, the machine will force itself to sleep, from which it cannot return. The only way to get the machine back is by a RESET or a power-on (depressing the power button for a few seconds, until the BIOS recognizes the request for a power-on).


What happens if, say, you did set the value to Never?

After a reasonable period of inactivity, the machine will, by itself, go into an STR mode, from which it can be returned by momentarily depressing the power button.


Now, how do we achieve this STR/Return From STR functionality?

Simply make the following change in the DSDT:

Search for Device (PWRB) and change Name (_HID, EisaId ("PNP0C0C")) to Name (_CID, EisaId ("PNP0C0C")).


pete...@cruzio.com

unread,
Feb 19, 2013, 1:28:07 PM2/19/13
to hq...@googlegroups.com

> What happens if, say, you did set the value to Never?
>
> After a reasonable period of inactivity, the machine will, by itself, go
> into an STR mode, from which it can be returned by momentarily
> depressing the power button.

Now here is an interesting twist.

Should you catch the screen going black, and immediately move the mouse,
the machine will immediately come back to life as it is really in the
process of going into STR, but it hasn't completely done so.

But, once the machine has actually transitioned into STR, then the way to
get the machine back is indeed momentarily depressing the power button.



pete...@cruzio.com

unread,
Feb 19, 2013, 3:12:13 PM2/19/13
to hq...@googlegroups.com

> What happens if, say, you left the Energy Saver with a value other than
> Never?
>
> When the value is reached, the machine will force itself to sleep, from
> which it cannot return. The only way to get the machine back is by a RESET
> or a power-on (depressing the power button for a few seconds, until the
> BIOS recognizes the request for a power-on).

For, should you assume an STR state is present, and then depress the power
button, the machine will only beep multiple times at you, telling you that
STR was not used, and consequently a return from STR is ignored.

The multiple beeps is an indication that a RESET or a power-on is the only
available option.

I have found STR to be VERY convenient.

Almost painless, too.



Reply all
Reply to author
Forward
0 new messages