[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with acpi



Hi there,

Florian Kulzer <florian@molphys.leidenuniv.nl> wrote in
news:5Ujlz-4eU-9@gated-at.bofh.it: 

> Matthias Pfeifer wrote:
>> Hi,
>> i have acpid-1.0.4 (the standard testing version) and acpitool 0.4.0.
>> when i do a "acpitool -s" the system suspends (to ram). The only way
>> to wake it up seems to be to press the powerbutton. However this is
>> then recognized by the awakening system and... it is shutting down...
>> is this standard behaviour? 
> 
> I had the same problem on my laptop. I made a small change to
> /etc/acpi/powerbtn.sh, adding the following line right after the
> comment section:
> 
> [ -e /tmp/powerbtn_flag_hibernate ] && rm -f
> /tmp/powerbtn_flag_hibernate && exit 0 

It got it working with a similar script. But in my case there seem to be
4 Button/Sleep and 2 Button/Power events when i hit the Sleep Button and
also Button/Sleep-Events seem to get triggered randomly beginning right 
after the system is loaded completely (ie all the init scripts are 
executed).

Please, if this question is to to specific for this group let me know.

Matthias



Reply to: