You are not logged in.

#1 2010-07-02 23:58:57

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

[solved] Suspend to RAM... a simple poll

Hello Archers... After start writing about my questions, I'd say something:
Yes, I read the wiki, search the forum and google.

My question is most a poll: which method do you prefer to suspend your laptops?
tuxonice
uswsusp
kernel

In my case, I suspend my thinkpad T500 with pm-utils and kernel module (actually I assume that pm-utils use that module, because I haven't explicitly defined one).

As I understand, uswsusp isn't updated for some time.

For you, what is the best method to suspend to RAM?

Last edited by takedown (2010-07-07 17:39:43)

Offline

#2 2010-07-03 06:15:24

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [solved] Suspend to RAM... a simple poll

Whatever is standard in kde4. I would guess pm-utils. Haven't looked into it, since it works tongue

Offline

#3 2010-07-03 06:57:04

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 226
Website

Re: [solved] Suspend to RAM... a simple poll

I use pm-utils with the default kernel suspend routines. Works perfectly with my Dell Vostro 1310 Notebook. No special config for me too, pm-utils does all that is needed automagically


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

#4 2010-07-03 07:06:36

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [solved] Suspend to RAM... a simple poll

Pm-utils, works nicely.

Offline

#5 2010-07-03 07:31:41

bharani
Member
From: Karaikudi, India
Registered: 2009-07-12
Posts: 202

Re: [solved] Suspend to RAM... a simple poll

pm-utils.


Tamil is my mother tongue.

Offline

#6 2010-07-03 11:44:09

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [solved] Suspend to RAM... a simple poll

tuxonice doesn't even handle suspend-to-RAM.....


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2010-07-03 11:54:06

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [solved] Suspend to RAM... a simple poll

pm-utils for suspending to RAM. Using it rarely, though...

Offline

#8 2010-07-03 11:57:44

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [solved] Suspend to RAM... a simple poll

Never got my head around this. What is a "method", and what is a "framework", aka different tools wrapping around these methods? From what I think to have understand, there is only a vanilla kernel implementation, and the tuxonice method. And uswsusp, pm-utils and hibernate-script are wrappers that either work with both implementations or only one of them. 

I currently have installed pm-utils and uswsusp, but have no idea what gnome is doing; suspend to ram works while suspend to disk doesn't. I will reinstall from scratch soon anyway, so no interest diving into this for now.

Offline

#9 2010-07-03 11:59:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,383
Website

Re: [solved] Suspend to RAM... a simple poll

I just shut the lid and it worked...  I guess pm-utils is involved.

Offline

#10 2010-07-03 12:11:12

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [solved] Suspend to RAM... a simple poll

Pm-utils does the job here too, but since my laptop suffers from a cold boot bug I guess that interferes sometimes. Not a software problem though.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#11 2010-07-03 13:27:29

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: [solved] Suspend to RAM... a simple poll

Thank you for all your answers, I can now begin to relax knowing that I'm taking the right path.

I began to investigate this matter since my ThinkPad T500 is bringing me enough headaches to suspend to RAM. Sometimes she wake up properly, other times she does wrong.

I will test it for a few days
It would be like a dream for me to find a configuration that works correctly hmm

Offline

#12 2010-07-03 14:08:54

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: [solved] Suspend to RAM... a simple poll

takedown wrote:

As I understand, uswsusp isn't updated for some time.
For you, what is the best method to suspend to RAM?

No, the development is still active. You got the basics right, pm-utils is a power management framework that supports kernel, uswsusp and tuxonice, kernel being default (you did not set anything explicitly).

If that method works fine for you, you really don't have to try uswsusp. But what it offers are some extras; encryption and/or compression of the hibernation image, various hardware quirks, ability to use a swap file...  When you need some of that functionality you turn to uswsusp or tuxonice, the first is completely user-space while the second requires modifying your kernel. Pm-utils will continue to function as usual, helping the procedure with its useful hooks, but using the new method in the background.


You need to install an RTFM interface.

Offline

#13 2010-07-03 14:26:15

benob
Member
Registered: 2008-11-11
Posts: 187

Re: [solved] Suspend to RAM... a simple poll

The kernel way works fine on a T400 w/ intel graphics. I use it every day.

Offline

#14 2010-07-03 15:03:41

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: [solved] Suspend to RAM... a simple poll

@anrxc: thankyou for your answer. I think uswsusp isn't update because I seach in the wrong place. Thanks for the info.
I start searching because I really don't know why some time resume ok, sometimes fail. When the resume fail, i got a black screen (backlight on) and blinking cursor, but the system is useless, sometimes i got my screen off.

@benob: wich config do you use? can you post your lspci?

Offline

#15 2010-07-03 16:32:10

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [solved] Suspend to RAM... a simple poll

takedown wrote:

@anrxc: thankyou for your answer. I think uswsusp isn't update because I seach in the wrong place. Thanks for the info.
I start searching because I really don't know why some time resume ok, sometimes fail. When the resume fail, i got a black screen (backlight on) and blinking cursor, but the system is useless, sometimes i got my screen off.

you can try one of the quirk settings, 'man pm-suspend'

edit: the different wiki sections on suspending are a little ambiguous and overlapping (pm-utils, hibernate-script, uswsusp etc.), i think it's generally confusing. i don't know much about suspend methods myself, but it would be good if some (or several) people would try to unify this information and make it a bit simpler.

Last edited by litemotiv (2010-07-03 21:35:39)


ᶘ ᵒᴥᵒᶅ

Offline

#16 2010-07-03 16:46:39

nixpunk
Member
Registered: 2009-11-23
Posts: 271

Re: [solved] Suspend to RAM... a simple poll

Pm-utils on a Thinkpad T410.  Suspend and hibernate work flawlessly.

Offline

#17 2010-07-03 21:33:49

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [solved] Suspend to RAM... a simple poll

@nixpunk: Hibernation deletes all cache from ram, or keeps it? Mine erased it, so I switched to TuxOnIce, since hibernation without keeping caches is not really a hibernation...

Offline

#18 2010-07-04 08:24:22

nixpunk
Member
Registered: 2009-11-23
Posts: 271

Re: [solved] Suspend to RAM... a simple poll

archman-cro wrote:

@nixpunk: Hibernation deletes all cache from ram, or keeps it? Mine erased it, so I switched to TuxOnIce, since hibernation without keeping caches is not really a hibernation...

I'm pretty sure that hibernation is generally understood as a state where a computer is shut off and the contents of ram are stored on a non-volatile storage medium.  This allows complete power savings, and yes, contents of ram are lost until reinstated at resume.   

On the other hand, I believe there are hybrid methods of sleep/suspend that cache contents of ram to disk as well as keeping contents of ram stored in ram with minimal power usage.  This allows that in the case of a power failure, a resume from a hibernate-like state can still occur.  I don't believe this is possible with Pm-utils at this time.

Either way, I most often prefer hibernate when I am not using my laptop for more than a few hours, since it does not require electricity or drain the battery.

Offline

#19 2010-07-07 17:39:20

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: [solved] Suspend to RAM... a simple poll

Ok... Thank you very much for all your answers, finally, thanks to them I got some data.
First off all, the way of all of you using pm-utils... I'm in the right way.
Second... I discover that using s2ram -f -a 3 work ok, suspending one, two, three , etc times without any issue.
Three... the community, each of you make ArchLinux great

Offline

#20 2010-07-09 20:30:26

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: [solved] Suspend to RAM... a simple poll

bad news...
again found the same symptom ... sometimes the system resume with a black screen ... irit me this problem...
and not know where to go, I would love to suspend my laptop without being afraid to resume

when resume, no VT switching via Ctrl+Alt+Fx, no CapsLk, appear the CPU is off... the fan is running, the HDD too... stranger

Last edited by takedown (2010-07-09 23:19:45)

Offline

Board footer

Powered by FluxBB