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

Ted Felix ted at tedfelix.com
Tue Jul 26 14:24:30 UTC 2011


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.  I think in this case, the script should detect 
that it is being called rapidly and decide what is best.  E.g. if it 
hasn't been called in the last 5 seconds, perhaps try what it needs to 
do again.  Or something similar.

Ted.





More information about the Pkg-acpi-devel mailing list