[Pkg-acpi-devel] Bug#579554: Bug#579554: acpi-support: power.sh is not run if power adapter is unplugged while system is on standby
Michael Meskes
meskes at debian.org
Sat May 1 17:17:20 UTC 2010
On Wed, Apr 28, 2010 at 11:16:21AM -0400, John Lindgren wrote:
> at full brightness. Since actual ACPI events will obviously not be
> generated while the system is on standby, I think the system should
> check what the power state is when it is turned on again and
> run /etc/power.sh if the state has changed. Alternatively, please
> provide a script that is run when the system is powered on from standby
> so that I can copy my script to dim the screen there.
How shall the execution of such a script be triggered? As you mentioned there
is no acpi event generated because the system is on standby. However,
acpi-support scripts are only triggered by acpi events. Obviously we can also
run some scripts at startup or during shutdown, but I don't see how this
package can change the way the system comes up from standby. CouldnÄt you just
edit the corresponding scripts in pm-utils, assuming you use pm-utils to get
into standby?
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber meskes at jabber.org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
More information about the Pkg-acpi-devel
mailing list