lkml.org 
[lkml]   [2006]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Suspend to RAM: help with whitelist wanted
Date
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@wall.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-28 17:06    [from the cache]
©2003-2011 Jasper Spaans