Subject: Re: Two problems after updateing from 3.0_BETA to current
To: haad <haaaad@gmail.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 08/02/2005 05:33:02
In message <42EF3979.8010809@gmail.com>, haad writes:
>> 
>> Do suspend and batter power monitoring now work with ACPI?
>> 
>Powerd manual page
>
>powerd acts upon power management events posted by the kernel's power
>management facility.  When events are posted, powerd translates the
>event into a script name and a list of arguments.
>
> /etc/powerd/scripts/<power_type>, where <power_type> is defined by the
> power management mechanism supported by the system,e.g.,``apm''or
>``acpi''.
>
>
>I thing yes but i have not time to test it :) .I have acpi enabled and
>powerd started .
>after lid switch powerd says  powerd[114]: no script for lid_switch

I know that -- but what should the script contain?  The only way I know 
to suspend a machine via a program is via 'apm -z' (or 'zzz'), and 
that's via the apm mechanism, not acpi.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb