From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 8 14:27:08 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0313B16A4CE for ; Mon, 8 Nov 2004 14:27:08 +0000 (GMT) Received: from lark.auton.cs.cmu.edu (LARK.AUTON.CS.CMU.EDU [128.2.222.44]) by mx1.FreeBSD.org (Postfix) with SMTP id A060043D2D for ; Mon, 8 Nov 2004 14:27:07 +0000 (GMT) (envelope-from dpelleg@lark.auton.cs.cmu.edu) Sender: dpelleg@lark.auton.cs.cmu.edu To: mobile@freebsd.org From: Dan Pelleg Date: 08 Nov 2004 09:26:51 -0500 Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: ACPI suspend/resume hooks? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 14:27:08 -0000 I recently ran into some problem which I thought would be solved by running a script on resume. It turns out that the proper solution does not require that, but while trying, I discovered I can't seem to hook anything to be run on resume. Whatever I place in /etc/rc.resume is not executed. I see a "wakeup" line in the log, but I can't figure out what generates it. This is on 5.3-beta5. What is the proper way to hook stuff into suspend/resume? The examples in /etc/devd.conf don't seem to cover this. -- Dan Pelleg