From owner-freebsd-acpi@FreeBSD.ORG Sat Dec 11 05:29:04 2004 Return-Path: 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 C634816A4CE for ; Sat, 11 Dec 2004 05:29:04 +0000 (GMT) Received: from muse.clarku.edu (calliope.clarku.edu [140.232.1.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55BEA43D2D for ; Sat, 11 Dec 2004 05:29:04 +0000 (GMT) (envelope-from ipartola@pisem.net) Received: from [140.232.148.83] (thalia.clarku.edu [140.232.1.65]) by muse.clarku.edu (Postfix) with ESMTP id A99761D56AC for ; Sat, 11 Dec 2004 00:29:03 -0500 (EST) Message-ID: <41BA85A0.3050206@pisem.net> Date: Sat, 11 Dec 2004 00:29:04 -0500 From: Igor Partola User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Dell Inspiron 8600 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2004 05:29:04 -0000 Ulrich Spoerlein wrote: > I also added this, which turns off the LCD when pressing suspend: > notify 10 { > match "system" "ACPI"; > match "subsystem" "Button"; > match "notify" "0x01"; > action "/sbin/sysctl hw.acpi.video.lcd0.active=0"; > }; > > Turning the LCD back on, when resuming, needs to be done manually. I > think /etc/rc.{suspend,resume} is a better place for this. > > This does indeed work (just like the lid switch thing), thank you. One problem though is that rc.resume is not read in all cases. While acpiconf honors it, just hitting the suspend button and resuming (hitting the power button) does not turn the lcd back on. Is there a way to fix this? I tried setting an event in devd.conf for the power button to turn the display back. It did not work and either way I would prefer to use rc.suspend and rc.resume for this kind of a thing since I'd like to ultimately have the power button suspend and resume the machine. I appreciate the help. Respect Igor