Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACPI sleep
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Mon Apr 28, 2003 6:25 pm    Post subject: ACPI sleep Reply with quote

Couls someone tell me how to put my notebook into sleep?

I don't want hibernation, just the windows kind of sleep.

I use 2.4.20 with the latest corresponding patch.

Code:

echo 5 > /proc/acpi/sleep

is the only thing that works and shuts the notebook of. S1-S4 just gives no responce at all.
I run acpid before echo.

Thanks for any help.
Back to top
View user's profile Send private message
MasonMouse
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2002
Posts: 146
Location: Texas, USA

PostPosted: Mon Apr 28, 2003 8:25 pm    Post subject: Reply with quote

Try this thread for some pointers.
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Mon Apr 28, 2003 10:26 pm    Post subject: Sleep Reply with quote

ThX- but I have been following that tread. It just evolved to talk about hibernation solutions.

I just want a plain sleep- to that the thread sais nothing exept the echo x > sleep. And my notebook desn't support APM.

So are there any ACPI-sleep troubleshooting docs around?
Back to top
View user's profile Send private message
krazo
Tux's lil' helper
Tux's lil' helper


Joined: 19 Oct 2002
Posts: 90

PostPosted: Tue Apr 29, 2003 2:14 am    Post subject: Reply with quote

What you are looking for is a suspend to ram function which only exists in development kernels (2.5.x). The 2.4 ACPI patch doesn't support suspend to ram and probably won't for a while. So you can either:
1. Use a hibernate feature (works great with swsusp kernel patch)
2. Switch to Linux 2.5 and try your luck (ACPI suspend to ram works, but my Dell would hang on recover so YMMV)

Good luck!
_________________
Hey--hey how are ya?
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Tue Apr 29, 2003 12:04 pm    Post subject: ThX Reply with quote

Thanks krazo,

I tried the 2.5.68 kernel and was able to sleep- well- my sleep diode was blinking like when in windows, but when I press power on, like in windows, the machine would reboot, not awake.

I guess I'll just have to wait for 2.6 maybe?
Back to top
View user's profile Send private message
krazo
Tux's lil' helper
Tux's lil' helper


Joined: 19 Oct 2002
Posts: 90

PostPosted: Wed Apr 30, 2003 2:06 am    Post subject: Reply with quote

What echo statement are you using?

Code:
echo 3 > /proc/acpi/sleep


is for suspend to ram
_________________
Hey--hey how are ya?
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Wed Apr 30, 2003 9:56 am    Post subject: Yep Reply with quote

Yep- that one I tried.

S1 and S2 never show up on my notebook gardless of kernel...

All /proc/acpi/sleep is good for really, is to shut off the computer. :lol:
Back to top
View user's profile Send private message
krazo
Tux's lil' helper
Tux's lil' helper


Joined: 19 Oct 2002
Posts: 90

PostPosted: Wed Apr 30, 2003 8:27 pm    Post subject: Reply with quote

What notebook do you have?
_________________
Hey--hey how are ya?
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Wed Apr 30, 2003 10:15 pm    Post subject: Acer Reply with quote

Acer Aspire 1302XC, why? Does it make difference? Isn't ACPI the same on all notebooks?
Back to top
View user's profile Send private message
krazo
Tux's lil' helper
Tux's lil' helper


Joined: 19 Oct 2002
Posts: 90

PostPosted: Thu May 01, 2003 2:21 am    Post subject: Reply with quote

On some laptops (such as mine) I had to patch the DSDT table for it to function properly. Without it, I only had access to button events, but with it, I could read battery status, throttle the CPU etc..

So look into that, and search the acpi mailing list.
_________________
Hey--hey how are ya?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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