From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 24 07:59:33 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A7DC16A41F for ; Mon, 24 Oct 2005 07:59:33 +0000 (GMT) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id F03BE43D5C for ; Mon, 24 Oct 2005 07:59:28 +0000 (GMT) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.13.3/8.13.1) with ESMTP id j9O7xAEi074902; Mon, 24 Oct 2005 15:59:10 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.13.3/8.13.1/Submit) id j9O7x9i7074901; Mon, 24 Oct 2005 15:59:09 +0800 (CST) (envelope-from rafan) Date: Mon, 24 Oct 2005 15:59:09 +0800 From: Rong-En Fan To: Kevin Oberman Message-ID: <20051024075909.GA74859@svm.csie.ntu.edu.tw> References: <20051023225159.978415D04@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051023225159.978415D04@ptavv.es.net> User-Agent: Mutt/1.5.11 Cc: freebsd-acpi@freebsd.org Subject: Re: Fwd: Audio problem after resume fixed! X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2005 07:59:33 -0000 On Sun, Oct 23, 2005 at 03:51:59PM -0700, Kevin Oberman wrote: > By using radeontool, I have been able to fix tha problem. Backlight goes > off and on fine. I also want to tie radeontool to Fn+F4, but have not > done so at this time. I use the following settings, works great for me: /etc/devd.conf: notify 10 { match "system" "ACPI"; match "subsystem" "IBM"; match "notify" "0x04"; action "/usr/sbin/zzz"; }; /etc/rc.suspend: [...] /usr/local/bin/radeontool light off logger -t $subsystem suspend at `date +'%Y%m%d %H:%M:%S'` sync && sync && sync [...] /etc/rc.resume: [...] /usr/local/bin/radeontool light on logger -t $subsystem resumed at `date +'%Y%m%d %H:%M:%S'` sync && sync && sync [...] Hope this helps, Rong-En Fan