WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: suspend, hibernate, standby
« Reply #15 on: August 13, 2011, 10:06:54 PM »
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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11047
Re: suspend, hibernate, standby
« Reply #16 on: August 14, 2011, 03:00:21 AM »
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.
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 #17 on: August 14, 2011, 03:18:45 AM »
Hello

uh

ahh...this laptop won't do bootcodes. Only 4 keys work on the keyboard. (enter,f1,esc and tab)

hmm

V.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend, hibernate, standby
« Reply #18 on: August 14, 2011, 05:07:12 AM »
boot codes can go into syslinux, extlinux or grub config files, too.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: suspend, hibernate, standby
« Reply #19 on: August 14, 2011, 05:15:27 AM »
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.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend, hibernate, standby
« Reply #20 on: August 14, 2011, 06:06:48 AM »
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.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: suspend, hibernate, standby
« Reply #21 on: September 14, 2011, 05:19:30 AM »
Quote
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.