[Pkg-acpi-devel] Bug#635219: acpid: excessive power script invocation

Samuel Thibault sthibault at debian.org
Tue Jul 26 14:41:25 UTC 2011


Ted Felix, le Tue 26 Jul 2011 10:24:30 -0400, a écrit :
> On 7/23/2011 6:34 PM, Samuel Thibault wrote:
> > Shouldn't acpid somehow avoid calling the same script for the same event
> over and over?
> 
>   acpid's only purpose is to call scripts in response to acpi events.  It is
> up to the script to avoid doing unnecessary things that result in writing to
> the console.

Well, I'm not sure which script you are talking about. One thing is
that one the scripts (acpid-provided I guess) does dump log into
/var/log/pm-powersave.log that it starts anacron (as pasted below), and
that's what triggers a write, at least, not only the anacron script
itself.

Running hook /usr/lib/pm-utils/power.d/anacron false:

/usr/lib/pm-utils/power.d/anacron false: success.

Samuel





More information about the Pkg-acpi-devel mailing list