Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: cast-fish 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.
-
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).
-
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.
-
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.
-
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?
-
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.
-
Hi cast-fish
If your motherboard does not support frequency and voltage scaling then Grenola will not run
on your machine.
-
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.
-
standby on linux seldom works, consider yourself lucky :)
-
Hello
Oh right.
It is a high quality laptop by Fujitsu (lifebook) from 1999
V.
-
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.
-
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
-
I couldn't say. Try both.
-
It works just the same here. But I guess I'll have to measure power waste...
-
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.
-
hello
when wanting to send tcl into Hibernate i was advised to use this command below:
echo disk > /sys/power/state (from the root prompt in a terminal window) (a)
but the advice was that that command above also needed the name of the swap partition
to be specified in it (a)
what is the format for specifying that swap paritition within the hibernate command? (the entire command needed for hibernation..)
thanks
V.
-
See the resume bootcode at http://www.kernel.org/doc/Documentation/kernel-parameters.txt
I'd assume you need resume=/dev/hdaX on both boots, before and after hibernate.
-
Hello
uh
ahh...this laptop won't do bootcodes. Only 4 keys work on the keyboard. (enter,f1,esc and tab)
hmm
V.
-
boot codes can go into syslinux, extlinux or grub config files, too.
-
hello
oh i was just trying to learn about that...
so are any of those folders saved in your personal mydata.gz file?
so they are called up as the tcl boots off CD......or does it mean remastering the CD is needed?
i don't have a hard drive tcl install right now
V.
-
It is the config used for booting, so it has to be there before that.
If you can't install to hard drive or flash drive you have to remaster the CD.
-
The development of s2ram is not going to be continued after this release and whitelist entries are no longer accepted. New KMS drivers are able to save and restore the state of the graphic card without the need of user space graphics quirks. s2ram will directly suspend the machine if a KMS driver is in use.
So if you use Xorg-7.5 with KMS you don't need s2ram any more. Everyone who still uses nomodeset=1 or something compareable (e.g. to make intel chips work on Xorg-7.4) might still want to use s2ram.