Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
has anyone got suspend or hibernate working on amd64?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Sheepdogj15
Guru
Guru


Joined: 07 Jan 2005
Posts: 430
Location: Backyard

PostPosted: Tue May 17, 2005 8:04 am    Post subject: has anyone got suspend or hibernate working on amd64? Reply with quote

i've been monkeying around a bit with these. so far, the only thing that i can get to work is S1 sleep.

i'm not too worried about it since this is a desktop (thus no battery). i could just leave my computer on, but i'd like to conserve electricity without having to go through the startup process every time.

so, has anyone gotten ACPI S3 or S4 working? or how about swsusp? should i just not bother and wait until swsusp2 rolls out on amd64?

also, is there a way to put a SATA disk on spin down (in case i'm limited to S1... or does S1 do that)? hdparm doesn't work too well with SATA i hear.
_________________
Sheepdog
Why Risk It? | Samba Howto
Back to top
View user's profile Send private message
pgolik
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2004
Posts: 125
Location: Warsaw, Poland

PostPosted: Tue May 17, 2005 8:15 am    Post subject: Reply with quote

I tried to make my desktop (Gigabyte NForce3 mobo) sleep. Tried S3, also with the hibernate script in portage. No luck, either it blanks the screen for a second and comes up again, or it goes down and cannot be woken up. Probably xorg and Nvidia are the problem, but if I have to logout and kill X each time I hibernate, then I might as well power down and reboot. Haven't tried swsusp or S4 yet. This is one area Linux is very seriously lacking compared to other desktop OS's.
Pawel
Back to top
View user's profile Send private message
Lemma
Guru
Guru


Joined: 19 Apr 2002
Posts: 416
Location: Uppsala, Sweden

PostPosted: Tue May 17, 2005 10:45 am    Post subject: Reply with quote

I have a Dell Inspiron 4150 (P4@1.7GHz, rather old one) and when I close the lid and try to open it again afterwords, it is a lottery if it will come up or not. Linux is no picknick when it comes to laptops but neither is XP.
_________________
Always make it as simple as possible, but no simpler
/Einstein
Back to top
View user's profile Send private message
Sheepdogj15
Guru
Guru


Joined: 07 Jan 2005
Posts: 430
Location: Backyard

PostPosted: Tue May 17, 2005 10:00 pm    Post subject: Reply with quote

Lemma wrote:
I have a Dell Inspiron 4150 (P4@1.7GHz, rather old one) and when I close the lid and try to open it again afterwords, it is a lottery if it will come up or not. Linux is no picknick when it comes to laptops but neither is XP.


dang, and P4 isn't off the x86 beaten path. i feal for ya.

are you using swsusp2? if you don't mind using vanilla sources, that ought to work well on P4. (i'm not saying this from experience, but i've read quite a bit about it).
_________________
Sheepdog
Why Risk It? | Samba Howto
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Tue May 17, 2005 10:47 pm    Post subject: Reply with quote

pgolik wrote:
This is one area Linux is very seriously lacking compared to other desktop OS's.
Funny, I never got suspend working worth a damn under windows either.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
qwijibow
n00b
n00b


Joined: 27 Dec 2004
Posts: 58

PostPosted: Wed May 18, 2005 12:07 am    Post subject: Reply with quote

Quote:
This is one area Linux is very seriously lacking compared to other desktop OS's.


good luck getting windowsXP to suspend to swap :)


My amd64 on my ChainTech VNF3-250 sleeps and suspends just fine with the stock vanilla / gentoo kernel. none of this swuso2 stuff.
with suspend states enabled iin the kernel, and the hibernate script (from portage) my system sleeps fine.

I have even added a few nifty settings that let me use my nvidia driver, and sleep..

( i set the hibernate script to shutdown X, and unload nvidia before sleeping, and start the up again after waking up)

Okay, so you have to wait for KDE to start up, bu its muh faster than a full re-boot... plus you get some cool reported uptimes. :)
Back to top
View user's profile Send private message
pgolik
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2004
Posts: 125
Location: Warsaw, Poland

PostPosted: Wed May 18, 2005 9:54 am    Post subject: Reply with quote

I'd actually prefer suspending to RAM on my desktop (S3) - this would give me instant-on. Suspend to disk might be easier to get working, but isn't that much of an improvement over rebooting. In WinXP suspend to RAM worked for me. Mac OS X suspends to RAM perfectly on their desktops and laptops. You press the button and the machine is on after a second. I'd really like to have that capability in Linux.
Back to top
View user's profile Send private message
Sheepdogj15
Guru
Guru


Joined: 07 Jan 2005
Posts: 430
Location: Backyard

PostPosted: Wed May 18, 2005 10:45 pm    Post subject: Reply with quote

qwijibow wrote:

( i set the hibernate script to shutdown X, and unload nvidia before sleeping, and start the up again after waking up)

Okay, so you have to wait for KDE to start up, bu its muh faster than a full re-boot... plus you get some cool reported uptimes. :)


maybe that's where i went wrong.

are you using KDM/XDM?
_________________
Sheepdog
Why Risk It? | Samba Howto
Back to top
View user's profile Send private message
qwijibow
n00b
n00b


Joined: 27 Dec 2004
Posts: 58

PostPosted: Thu May 19, 2005 1:34 pm    Post subject: Reply with quote

KDM.
The closed source Nvidia Driver is not compatable with sleep states, and must be unloaded before you attempt to sleep to ram or disk.

Some other drivers are iffy too.
the usb drivers ohci-hdc uhci-hcd and ehci-hcd ( is it hcd, or hdc ?? lol) will sucessfully go to sleep, but on waking, they dont work, and need to be re-loaded before USB devices will work again.
Back to top
View user's profile Send private message
Sheepdogj15
Guru
Guru


Joined: 07 Jan 2005
Posts: 430
Location: Backyard

PostPosted: Thu May 19, 2005 10:42 pm    Post subject: Reply with quote

yeah, i'm aware of the problems with the USB drivers. my network driver (forcedeth) suffers the same problem, which is why i made a quick and dirty script to unload it before S1 sleep and then reload it.

but cool. you gave me an idea of where i went wrong, so maybe this weekend i'll monkey with suspending again. thank you.
_________________
Sheepdog
Why Risk It? | Samba Howto
Back to top
View user's profile Send private message
bos_mindwarp
Apprentice
Apprentice


Joined: 19 Oct 2002
Posts: 275
Location: stockholm, sweden

PostPosted: Thu May 19, 2005 11:29 pm    Post subject: Reply with quote

Ok this is funny, I had a Dell C400 with P3@800 or something. About two years ago, I had 2.5.xx kernel on it with gentoo, and suspend worked without me doing anything. I just enabled suspend support in kernel, and when I closed the lid, it would suspend. Then it stopped working when I upgraded my kernel, and I never got it to work since. Now I have acer ferrari, but I still cant figure it out.
Back to top
View user's profile Send private message
uprooter
n00b
n00b


Joined: 06 Mar 2005
Posts: 70

PostPosted: Fri May 20, 2005 6:25 am    Post subject: Can't get even my disk to sleep. Reply with quote

I wanted Suspend and standby and it looked a hard task to do in linux.
So I tried at least the HDD power saving mode..
Using hdparm -Sxx or hdparm -y or -Y didn't work.
I couldn't find what proccess is accessing the disk using lsof or closing unused programs..

No luck so far.
:cry:
Back to top
View user's profile Send private message
Sheepdogj15
Guru
Guru


Joined: 07 Jan 2005
Posts: 430
Location: Backyard

PostPosted: Fri May 20, 2005 6:48 pm    Post subject: Re: Can't get even my disk to sleep. Reply with quote

uprooter wrote:
I wanted Suspend and standby and it looked a hard task to do in linux.
So I tried at least the HDD power saving mode..
Using hdparm -Sxx or hdparm -y or -Y didn't work.
I couldn't find what proccess is accessing the disk using lsof or closing unused programs..

No luck so far.
:cry:


do you have a SATA drive? hdparm has only limited usability with SATA and i haven't found any alternatives.
_________________
Sheepdog
Why Risk It? | Samba Howto
Back to top
View user's profile Send private message
uprooter
n00b
n00b


Joined: 06 Mar 2005
Posts: 70

PostPosted: Mon May 23, 2005 8:17 pm    Post subject: Reply with quote

Nope...
Just a normal Westernd Digital UDMA 80GB drive..
I smell that the problem is a proccess that is accessing the disk intensively.
But I can't find it.
Back to top
View user's profile Send private message
Sheepdogj15
Guru
Guru


Joined: 07 Jan 2005
Posts: 430
Location: Backyard

PostPosted: Mon May 23, 2005 10:36 pm    Post subject: Reply with quote

i remember there was a way to find out using the "fuser" command, but i can't remember what option it was.
_________________
Sheepdog
Why Risk It? | Samba Howto
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Tue May 24, 2005 5:51 am    Post subject: Reply with quote

If u use hitachi , u can modify power saving modes and the level of noise with a special utility , which saves your setting in non volatile ram. I dont recall its name , but i remember it's dos-only.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum