Skip to contentSkip to conversation

(newby qustion) sleep states?

DISCUSSION Diederick de Vries 2 participants 3 messages May 29, 2006 – Jun 5, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

I have a Compaq Armada E500 laptop, which I used to be able to get to sleep using something like

echo x > /proc/acpi/sleep

/proc/acpi/sleep Isn't there anymore since the latest kernels, but according to various sources on the web i need to do

echo -n "x" > /sys/power/state

where x is anything that comes up after

cat /sys/power/state.

The latter command only returns

standby mem

so no "disk". For now I'm fine with that, I'd be happy if

echo -n "standby" > /sys/power/state

would have any effect at all. Now since most things on acpi for linux are about 2.4 kernels and all pages that are talking about more recent kernels don't tell me how to find out what is going on when I give these commands, can someone tell me where I should look?

Another question: when I do a find "sleep" (using the / key) in make menuconfig, it returns me an ACPI_SLEEP_PROC_SLEEP (deprecated), which is supposed to be in ACPI support. However, I can't find it, nor by grepping the .config. Does anyone know why it shows up in the search results or how I can compile it into the kernel?

Thanks for any help,
Diederick

#1 lore raw

Never mind, I was too quick to ask and figured it out myself. My apologies.

Diederick

#2 lore raw
Quoted 2 lines · Diederick de Vries

Never mind, I was too quick to ask and figured it out myself. My apologies.

No need to apologize. But if you want to help other newbies reading the list or searching the archives, you might close the thread with a brief explanation of what you learned :-)

Bjorn