WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: suspend, hibernate, standby  (Read 8035 times)

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
suspend, hibernate, standby
« on: August 07, 2011, 02:55:56 PM »
Hello,

is there any way that tcl can have the "standby" or "hibernate" or "suspend" features
that you see in other OS's?

I wondered because these features can be real handy for computer managing and convenient.

After messing with my desktop PC last evening...i learned that "standby" on the current OS could only have worked if the "s3" bios setting was chosen when that
OS was installed.  (it hadn't been chosen....so)

Then there was a thread here about a tool called "Granola" which lowers your cpu power usage by 35 percent. It installed correct but said my system did not have DVSL enabled. My bios did not have a setting for it either.

Does anybody know about any good power management tools or extensions
for typical oS's?.

Currently i am told that "Hibernate" eats 2 gigs of drive space on typical OS's.....hmmm

thanks

V.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: suspend, hibernate, standby
« Reply #1 on: August 07, 2011, 03:11:27 PM »
Standby: echo mem > /sys/power/state
Hibernate: echo disk > /sys/power/state

Both as root, and hibernate requires a swap partition bigger than your ram (and specifying it as the partition to use).
The only barriers that can stop you are the ones you create yourself.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: suspend, hibernate, standby
« Reply #2 on: August 07, 2011, 03:32:28 PM »
Hello

great. Thanks

Standby may well work on this laptop.

My swap partition is already double the ram size. It should work also
for hibernate

V.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: suspend, hibernate, standby
« Reply #3 on: August 07, 2011, 04:20:00 PM »
C,

yes it is working perfectly.

This standby is real useful and people may, at first, not realize why.

It just means you don't have to boot up the tcl OS again. That is real handy isn't it.

There are, for people like me, other reasons why standby is handy. I often flick
from PC to PC trying to remember things and carry over details. This can get
messy without quik access to particular states and data.

thanks a lot

V.


Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend, hibernate, standby
« Reply #4 on: August 07, 2011, 05:13:05 PM »
Glad to hear about your working suspend.

What is it that s2ram/s2disk from suspend.tcz do different?
What's the justification for their existence?

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: suspend, hibernate, standby
« Reply #5 on: August 07, 2011, 07:00:02 PM »
hello,

having seen that "suspend.tcz" it said it was un-tested. It has some terminal
commands that would perhaps achieve "standby" and "hibernate"

Perhaps the difference is that the extension uses some kind of power
config file native to tcl

where-as the other commands may be talking to some acpi feature of
the bios or bios power methods.

It would have been good for me to get "Granola" tool working but my cpu
is too old.  1999 yr. Although it also did not work on the Desktop PC
and that motherboard is only about 2005 and the cpu is Pentium4 3.2 ghz hyperthread
which is about 2004. It says it will work with anythin newer than 5 years.

Saving 35 percent power on your cpu must be worth having i guesse.

V.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: suspend, hibernate, standby
« Reply #6 on: August 07, 2011, 07:30:12 PM »
Hi cast-fish
If your motherboard does not support frequency and voltage scaling then Grenola will not run
on your machine.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: suspend, hibernate, standby
« Reply #7 on: August 07, 2011, 08:25:11 PM »
Hello,

so although my motherboard has many settings for changing cpu voltage
and frequency.....that doesn't mean it has the specific feature called "voltage and
frequency scaling' DVLS?

Vince.

This "standby" of tcl is something that perhaps many people would appreciate
knowing about. It is a nice way of working with tcl without re-booting and spinning
up CD discs. What i mean to say is, i never knew about "stanby" even after months
around tcl. I wonder why it was not put into the shutdown gui of Tcl?

V.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend, hibernate, standby
« Reply #8 on: August 07, 2011, 10:05:39 PM »
standby on linux seldom works, consider yourself lucky :)

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: suspend, hibernate, standby
« Reply #9 on: August 08, 2011, 12:33:56 AM »
Hello

Oh right.

It is a high quality laptop by Fujitsu  (lifebook) from 1999

V.


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: suspend, hibernate, standby
« Reply #10 on: August 08, 2011, 03:56:50 AM »
Glad to hear about your working suspend.

What is it that s2ram/s2disk from suspend.tcz do different?
What's the justification for their existence?

Quirks. They have lists of bad bioses/mobos/graphics cards, and do special tricks for those.
They also do combined modes (apple-like) where you save the state to both disk and mem - it's a normal standby, but if the battery runs out, your work is saved on the hd.
The only barriers that can stop you are the ones you create yourself.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend, hibernate, standby
« Reply #11 on: August 08, 2011, 06:00:51 AM »
Thanks, does this mean I have to use s2ram because of the used S3_BIOS and S3_MODE fixes?

from: s2ram -n:
Fixes: 0x3  S3_BIOS S3_MODE

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: suspend, hibernate, standby
« Reply #12 on: August 08, 2011, 06:12:00 AM »
I couldn't say. Try both.
The only barriers that can stop you are the ones you create yourself.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend, hibernate, standby
« Reply #13 on: August 08, 2011, 06:32:53 AM »
It works just the same here. But I guess I'll have to measure power waste...

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: suspend, hibernate, standby
« Reply #14 on: August 08, 2011, 02:33:36 PM »
Hello

 

do you know of any other power saving apps apart from using the bootcode "laptop"
(it's a laptop here)

Are there any other bootcodes that can cause a machine to lower it's power consumption
without affecting performance?

i loaded the tcz file called "Powertop" and it told me that altering certain kernel options
could reduce my power usage.

V.