Comment 38 for bug 134238

Revision history for this message
Alan Jenkins (aj504) wrote : Re: [Bug 134238] Re: Please re-enable build of s2ram binary

Jaba wrote:
> I have working suspend with default ubuntu installation. Although hibernate is not working.
> It seems that it saves the state to disk and shutdowns the computer, but by boot there's
> no mention of resume or anything else that has something to do with suspend.
>
> With uswsusp I can have working hibernate but not suspend.
>
> I have MSI Wind u100 and Ubuntu Intrepid as operating system.
>
> It would be nice to have both suspend and hibernate to work at the same
> time.
>
> Has oneone solution to this.
>
> Thanks
>

What is your swap partition (or do you use a swap file instead)?

What does your GRUB line look like?

uswsusp uses a configuration file to find the swap partition, which is
then copied to the initramfs. Without uswsusp, there is supposed to be
a "resume=dev" boot option, and resume_offset=N for swap files). I
don't think the standard Ubuntu hibernation supports swap files, so it
doesn't generate a resume_offset=N option.

If that's your problem, please open a new bug (or find an existing one)
for swap file support.

I guess the problem with suspend to ram not working with uswsusp is this
bug, that you don't have an s2ram binary. But uswsusp isn't exactly a
Ubuntu supported package; it's not looking like this will be fixed any
time soon :).