View previous topic :: View next topic |
Author |
Message |
RangerDude Guru
Joined: 19 Apr 2003 Posts: 301
|
Posted: Mon Apr 28, 2003 6:25 pm Post subject: ACPI sleep |
|
|
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 |
|
|
MasonMouse Tux's lil' helper
Joined: 26 Nov 2002 Posts: 146 Location: Texas, USA
|
Posted: Mon Apr 28, 2003 8:25 pm Post subject: |
|
|
Try this thread for some pointers. |
|
Back to top |
|
|
RangerDude Guru
Joined: 19 Apr 2003 Posts: 301
|
Posted: Mon Apr 28, 2003 10:26 pm Post subject: Sleep |
|
|
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 |
|
|
krazo Tux's lil' helper
Joined: 19 Oct 2002 Posts: 90
|
Posted: Tue Apr 29, 2003 2:14 am Post subject: |
|
|
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 |
|
|
RangerDude Guru
Joined: 19 Apr 2003 Posts: 301
|
Posted: Tue Apr 29, 2003 12:04 pm Post subject: ThX |
|
|
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 |
|
|
krazo Tux's lil' helper
Joined: 19 Oct 2002 Posts: 90
|
Posted: Wed Apr 30, 2003 2:06 am Post subject: |
|
|
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 |
|
|
RangerDude Guru
Joined: 19 Apr 2003 Posts: 301
|
Posted: Wed Apr 30, 2003 9:56 am Post subject: Yep |
|
|
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. |
|
Back to top |
|
|
krazo Tux's lil' helper
Joined: 19 Oct 2002 Posts: 90
|
Posted: Wed Apr 30, 2003 8:27 pm Post subject: |
|
|
What notebook do you have? _________________ Hey--hey how are ya? |
|
Back to top |
|
|
RangerDude Guru
Joined: 19 Apr 2003 Posts: 301
|
Posted: Wed Apr 30, 2003 10:15 pm Post subject: Acer |
|
|
Acer Aspire 1302XC, why? Does it make difference? Isn't ACPI the same on all notebooks? |
|
Back to top |
|
|
krazo Tux's lil' helper
Joined: 19 Oct 2002 Posts: 90
|
Posted: Thu May 01, 2003 2:21 am Post subject: |
|
|
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 |
|
|
|