Re: Suspend to RAM: help with whitelist wanted

From: Jan De Luyck
Date: Sat Jan 28 2006 - 11:02:26 EST


On Saturday 28 January 2006 16:58, Luca wrote:
> - I must stop acpid before suspending otherwise it will get a "power
> button pressed" event on resume and shutdown the machine; not related
> to s2ram though.

You can fix that by e.g creating a file /tmp/acpi_sleep, and checking in the
powerbutton routine if the file is present. Delete it if it is present, and
just shutdown the machine if not.

I have to do that too on my Acer TM803.

--
If this were Ada, I suppose we'd just constant fold 1/0 into

die "Illegal division by zero"
-- Larry Wall in <199711100226.SAA12549@xxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/