[gobolinux-users] suspend to ram
Jonas Karlsson
jonka750 at student.liu.se
Wed Jan 2 12:42:14 NZDT 2008
2008/1/1, Isaac Dupree <isaacdupree at charter.net>:
> Jonas Karlsson wrote:
> > 2007/12/31, Isaac Dupree <isaacdupree at charter.net>:
> >> 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
> >>
> >> After suspend/resume (whether it happened in X or console), the non-X
> >> console doesn't display anything anymore until I reboot
> > Have you tried userland software suspend (http://suspend.sourceforge.net)?
> > There is a recipe for it (which is called uswsusp). It has a lot of
> > workaround and fixes for different computer and bios issues.
> >
>
> no I haven't tried that, because I don't care about suspend-to-disk, and
> such a tool shouldn't have workarounds needed for suspend-to-ram (in
> Linus' opinion at least)
>
Suspend-to-disk is only one part of that suspend package. It also
supports suspend-to-ram (which I guess you knew).
As for Linus' opinions, I don't care that much. In my opinion he has
some interesting views but he is too much of a know-it-all. I think
that when no proper solutions exists, workarounds are perfectly
acceptable. I know what I would choose between using a workaround and
writing a kernel patch that fixes resume on macbook.
> btw. at the moment I'm running Ubuntu Gutsy (x86 edition) which broke
> suspend-to-ram completely on Macbook in their latest kernel ;-)
>
The more the reason to use a userspace solution.
--
/Jonas
More information about the gobolinux-users
mailing list