Il Sat, Jan 28, 2006 at 05:04:18PM +0100, Jan De Luyck ha scritto:
> 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.
Well this is not a big deal, my suspend script just does:
/etc/init.d/acpid stop
echo mem > /sys/power/state
/etc/init.d/acpid start
Luca
--
Home: http://kronoz.cjb.net
La vasca da bagno fu inventata nel 1850, il telefono nel 1875.
Se fossi vissuto nel 1850, avrei potuto restare in vasca per 25 anni
senza sentir squillare il telefono
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]