shutdown comand and wakeup
Hi!
I'm running a kernel 2.4.24 with patch acpi-20040211-2.4.24. Generaly, this seems to work. I.e., I can do this:
echo 2004-02-22 15:00:00 >/proc/acpi/alarm
echo 5 >/proc/acpi/sleep
As expected, the computer will start up at the given time.
But when I shutdown with "shutdown -h 0" instead of "echo 5 >/proc/acpi/sleep", the computer will not wakeup at the programmed time.
I've disabled APM with "apm=off" as kernel parameter, so I thought shutdown should use ACPI to switch to S5, shouldn't it?
Any ideas what I did wrong or what I might have missed?
Thanks,
Tobias
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · Tobias Grimm
But when I shutdown with "shutdown -h 0" instead of "echo 5
Quoted 1 line
/proc/acpi/sleep", the computer will not wakeup at the programmed time.
Just if someone else stumbles across this problem, when setting HWCLOCKACCESS=no in /etc/default/rcS, shutdown and wakeup seem to work perfectly.
bye,
Tobias
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click