[gobolinux-users] suspend to ram

Carlo Calica carlo at calica.com
Wed Jan 2 17:09:51 NZDT 2008


On 12/31/07, Isaac Dupree <isaacdupree at charter.net> wrote:
> on my macbook I successfully suspend-to-ram via `echo mem >
> /sys/power/state` as root.
>
> Xorg 7.3, Linux 2.6.23.8
> (without wireless/airport, which I haven't installed any way to use on
> linux)
> (using kernel mouse-button emulation with F12 for middle-mouse-button
> and eject for right-mouse-button)
>
> with two caveats I've noticed so far:
> When it wakes up, it pastes, as if the middle mouse button were pressed.
>   This is in the terminal in which I ran my script `ram` [1] in, so I
> don't know what happens elsewhere
>

Yeah something gets stuck there.  I solved it by doing nesting
subshells in the background.  ie "((((sleep 2; foo)&)&)&)&"  probably
excessive forking but shouldn't hurt anything.

> After suspend/resume (whether it happened in X or console), the non-X
> console doesn't display anything anymore until I reboot
>
Does X 7.3 have the new mode setting code?  If not, move to it.  I had
my macbook resuming no problem with it.


-- 
Carlo J. Calica


More information about the gobolinux-users mailing list