Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2007 10:23:31 -0800
From:      Nate Lawson <nate@root.org>
To:        Ede Ratzefick <ederatzefick@yahoo.de>
Cc:        freebsd-acpi@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: rc.resume and rc.suspend not executed on 6.2-RELEASE with acpi
Message-ID:  <4777E223.9060009@root.org>
In-Reply-To: <937461.25712.qm@web27607.mail.ukl.yahoo.com>
References:  <937461.25712.qm@web27607.mail.ukl.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ede Ratzefick wrote:
> Hi,
> 
> on my 6.2-RELEASE with acpi runnning, the script /etc/rc.suspend is not executed when going to S3 and also the /etc/rc.resume when waking up. Filepermissions are 755. Any ideas?
> 
> BTW: Who's invoking these scripts? I saw it in apmd.conf but as I use acpi instead of apm this should not be relevant.

If you're using the apm -z command or zzz, they will be executed.  If
you use the physical sleep button, they will not.  Fixing this required
some API changes as the kernel can't run usermode scripts directly and
the button is handled by a kernel driver.

If you try 7.0 or -current, you should find this works for you.

-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4777E223.9060009>