[Pkg-acpi-devel] Bug#734333: acpi-support-base: unexpected shutdown by short press of power button
meskes at debian.org
Sat Jun 21 12:40:04 UTC 2014
On Fri, Jun 20, 2014 at 10:21:54AM +0200, Vincent Lefevre wrote:
> Well, at least shutting down the machine when the power button has
> been used to wake it up doesn't make sense at all for a default
> configuration, thus should be regarded as a bug.
Agreed, but then you have to debug where this event comes from and why your
system seems to be the only one doing that. At least I have yet to receive a
report for such a behaviour.
Do you have any other software running that might be handling the button, like e.g. a graphical desktop environment?
Does the problem still appear with the latest version of acpi-support?
> BTW, I can see in /usr/share/doc/acpid/examples/powerbtn.sh that it
> # Skip if we just in the middle of resuming.
> test -f /var/lock/acpisleep && exit 0
> I suppose that this handles the problem I've mentioned.
Yeah, that was needed when we had all this logic in acpi-support, but a lot of
it has been moved out of it. So this test wouldn't work anymore I'm afraid.
> But the lack of a namespace means that acpi-support can conflict
> with what the user does. For instance, the acpid(8) man page gives
> an example:
The example name should be powerbtn.sh or somesuch I agree, but that doesn't
exactly prove my point mood, or does it?
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
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
More information about the Pkg-acpi-devel