You are not logged in.

#1 2010-10-21 01:42:13

anthonyclark
Member
From: WA,USA
Registered: 2007-10-07
Posts: 48

Simple PM/ACPI question

I'm trying to find out *exactly* what is going on when I close the lid on my netbook. The short answer is that it suspends. But, I want to try and figure out if pm-suspend is being called (which i doubt), or acpi is calling some other method.

I'm using XFCE4.6 with nothing out of the ordinary and have pm-utils and acpid installed.

I am also trying to run a special command on wake, but this is not being executed unless I run pm-suspend directly (which is why I don't think the lid closing is really running pm-suspend).

So... does anyone know, or know how to find out, which system is being called when my lid closes and how I can add a command to the waking process?


ACPID and PM-utils are default, no modifications to any configuration files. Running 'dmesg'  after I open the lid shows both 'pm' and 'acpi' doing things.

Thanks for the help!



[SOLVED]

looking at /etc/acpi/handler.sh ... I found out that upon lid action, sleep was called as shown below... guess this is the file I was after.

 echo -n mem > /sys/power/state 

Last edited by anthonyclark (2010-10-21 03:14:48)

Offline

Board footer

Powered by FluxBB