Hibernation/Sleep.

Hi, I have seen others on this forum mention Hibernation or sleep . I have an Acer Aspire 1804 which is a desktop replacement so is always powered never use the battery, ( installed but not used ). I have searched through my settings etc and also through the forum but cannot find any way of getting hibernation or sleep to work. Would appreciate any help. Am using 12.1 32 bit.

On 2011-12-08 15:16, dened wrote:
>
> Hi, I have seen others on this forum mention Hibernation or sleep . I
> have an Acer Aspire 1804 which is a desktop replacement so is always
> powered never use the battery, ( installed but not used ). I have
> searched through my settings etc and also through the forum but cannot
> find any way of getting hibernation or sleep to work. Would appreciate
> any help. Am using 12.1 32 bit.

You can try, on a root terminal, pm-hibernate.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

OK, thankyou for the reply. I searched the cmd pm-hibernate and it would appear it is fraught with danger. I was hoping that Suse would have something like the Windows hibernate, i.e suspend after so many minutes and then boots up when the mouse/keybrd is moved.

On 2011-12-08 17:06, dened wrote:
>
> OK, thankyou for the reply. I searched the cmd pm-hibernate and it would
> appear it is fraught with danger.

Like what? I use it several times a day.

You have to try it to learn if your machine is capable.

> I was hoping that Suse would have
> something like the Windows hibernate, i.e suspend after so many minutes
> and then boots up when the mouse/keybrd is moved.

Yes, it has. But you said you can not see it. Some machines do not because
the system thinks it is not possible. So you have to learn if your machine
is one of those or not. Just make sure you are editing a file or something
at the time.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Just make sure you are editing a file or something
at the time.
?
What does that mean?

I typed the cmd and got a black screen. Some type appeared and a percentage counter ran up 100 % followed by the black screen. The comp was still running. I pressed the kbrd etc but had to reboot.

On 2011-12-09 17:36, dened wrote:
>
> Just make sure you are editing a file or something
> at the time.
> ?
> What does that mean?

That you do not try to hibernate while you have a program with unsaved
data, because if it crashes you lose it. Obviously.

> I typed the cmd and got a black screen. Some type appeared and a
> percentage counter ran up 100 % followed by the black screen.

So far, normal.

> The comp
> was still running.

It should have powered off at this point. You have a problem.

> I pressed the kbrd etc but had to reboot.

Well, you can have a look at “/etc/suspend.conf” and change settings. First
one is “splash = n”. Next is change “shutdown method”.

Then, if that doesn’t help, go have a look at our wiki, there is a page on
this with much more than I can write here from memory.

Finally, if it turns out that your machine is not capable, report in bugzilla.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

use splash picture? (default y)

#splash = y

shutdown method:

platform - go through ACPI BIOS to power off the machine (default on

machines that support it)

shutdown - just power off like after a shutdown

reboot - reboot instead of powering off. For debugging only.

#shutdown method = platform

resume offset: for use with swapfiles, use “swap-offset” to find out.

#resume offset = 12345

pause after resume for n seconds, so that the timing information can

actually be read (default 0 => don’t pause)

#resume pause = 2

use threads for suspend? (default n)

this hugely speeds up encryption and also compression on mulitcore machines

#threads = y

From my limited knowledge this looks OK, so I guess I need to file a report in Bugzilla?

On 2011-12-10 10:16, dened wrote:
>
> ## use splash picture? (default y)
> #splash = y

I said “no”.

> #
> ## shutdown method:
> ## platform - go through ACPI BIOS to power off the machine (default on
> ## machines that support it)
> ## shutdown - just power off like after a shutdown
> ## reboot - reboot instead of powering off. For debugging only.
> #shutdown method = platform

Change it. All settings till it works, or it doesn’t. Platform and shutdown.

> From my limited knowledge this looks OK, so I guess I need to file a
> report in Bugzilla?

Not yet, you haven’t played with it. And you have to read the wiki.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

I’m gonna try this as well, this sounds like the exact problem I have, a screen appears and it just hangs, where in normal cases under Ubuntu for example, it works properly. I will change some settings :smiley:

For ME I was only able to get one or the other working at one time, so I settled for suspend, but at least now I have a choice. Thanks!

Just bumping this for bumps sakes. I need to check that wiki again and read up some more as I do have suspend working, but it only works maybe 30% of the time, and thats probably a long shot even. Most times it either doesn’t suspend all the way, or it won’t resume from suspend. I even ran into one case lately where I had to physically remove the battery to get my machine to come back out of the suspend state.

On 2011-12-11 03:16, l300lvl wrote:
>
> I’m gonna try this as well, this sounds like the exact problem I have, a
> screen appears and it just hangs, where in normal cases under Ubuntu for
> example, it works properly. I will change some settings :smiley:

Then report in Bugzilla…


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)