Date: Sun, 06 Apr 2008 13:12:56 +0200 From: Andreas Wetzel <mickey242@gmx.net> To: freebsd-acpi@freebsd.org Subject: FreeBSD 7.0 suspend Message-ID: <47F8B038.7000400@gmx.net>
index | next in thread | raw e-mail
Hi
i recently upgraded an IBM ThinkPad T30 from 6.3 to 7.0 and checked out the
suspend/resume support which seems to work much more reliable with 7.0.
But there was one problem i came across. On suspend /etc/rc.suspend does
not get executed and the machine enters the given sleep state immediately.
After some fiddling i now seem to have found the reason for this behaviour
in /sys/dev/acpica/acpi.c:
/* If devd(8) is not running, immediately enter the sleep state. */
if (devctl_process_running() == FALSE) {
...
For some reason this check returns FALSE, although devd is actually running.
When i comment out the check, everything works as expected: devd is notified,
executes /etc/rc.suspend, which in turn calls acpiconf -k 0 when done, and
then the system goes to sleep.
Any ideas, why this function does not correctly recognize that devd is
running?
Andreas
--
Keep it icy man.
I don't want to end up a corpse before my time because you were daydreaming.
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47F8B038.7000400>
