Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
suspending a machine with acpi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Fri Aug 30, 2002 6:33 pm    Post subject: suspending a machine with acpi Reply with quote

Does anyone have the foggiest on how to suspend your machine with ACPI?

I'm completely lost, even after reading the docs on it :)

ACPI is fully functioning on my system, but right now the only thing it does is allows me to turn my system off lol
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Sun Sep 01, 2002 3:24 am    Post subject: Reply with quote

No one knows? :D
Back to top
View user's profile Send private message
haste
n00b
n00b


Joined: 01 Sep 2002
Posts: 3

PostPosted: Sun Sep 01, 2002 8:18 am    Post subject: Reply with quote

Well, the thing is that the ACPI implementation currently does not support suspend to RAM or hibernation (suspend to disk). In the 2.5 kernels there are work on suspend to RAM. For hibernation you can use the swsusp patches with the 2.4.18 kernel which actually works:
http://fchabaud.free.fr/English/default.php3?COUNT=3&FILE0=Tricks&FILE1=Laptop&FILE2=Swsusp

--Tue
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Mon Sep 02, 2002 5:52 am    Post subject: Reply with quote

haste wrote:
Well, the thing is that the ACPI implementation currently does not support suspend to RAM or hibernation (suspend to disk). In the 2.5 kernels there are work on suspend to RAM. For hibernation you can use the swsusp patches with the 2.4.18 kernel which actually works:
http://fchabaud.free.fr/English/default.php3?COUNT=3&FILE0=Tricks&FILE1=Laptop&FILE2=Swsusp

--Tue


Awww, sweet!
I'm going to check this out. If I have to downgrade to 2.4.18, this would be the main reason! (I only run 2.4.19 lol.. no big deal)

I'll report back once I get it figured out on how to put this in.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Tue Sep 03, 2002 9:27 pm    Post subject: Reply with quote

Well, tried that patch, it went in and compiled great.

Unfortunately the command to initiate the sleep doesn't work lol...

ah well, I'll just wait.
Back to top
View user's profile Send private message
je4d
n00b
n00b


Joined: 28 Aug 2002
Posts: 26

PostPosted: Wed Sep 04, 2002 9:42 am    Post subject: Reply with quote

arkane wrote:

Unfortunately the command to initiate the sleep doesn't work lol...


Ive ued swsusp before on my laptop, and had it working fine (mostly)..
remember to add the "resume=/dev/<swap device>" to your kernel command line, and use "echo -n 4 > /proc/acpi/sleep" to hibernate.

also, you might want to add a second copy of your kernel into lilo/grub with the "noresume" paramater in the kernel command line, in case the resume image gets screwed up.

- Jeff
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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