Skip to contentSkip to conversation

Help configuring ACPI/acpid...

DISCUSSION Ian Soboroff 1 participant 1 message Mar 12, 2004 ACPI

lore
Share & tools
lore
#0 lore raw

I'm running Fedora Core 1 on a Fujitsu P-2110 laptop. APM suspend hasn't worked for me since 2.6.0-test7, so when I installed 2.6.4 this week I decided to try ACPI instead.

Everything seems to be working as far as the info files in /sys and /proc/acpi. Now I'm trying to make suspending to RAM work. This always worked flawlessly using APM with no Linux-side configuration whatsoever... close the lid, it went to sleep and would happily stay that way for days. Opening the lid always resumed.

So, I created the following file, /etc/acpi/events/suspend:

event=button/lid.*
action=echo -n mem > /sys/power/state

Closing the lid suspends to RAM, that's great. Unfortunately, when I open the lid, I have to press the power button to get it to resume.

Is there any way to get it to resume automatically when the lid is opened again?

Thanks,
Ian

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click