From owner-freebsd-acpi@FreeBSD.ORG Sat Dec 11 19:43: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 E129E16A4CE for ; Sat, 11 Dec 2004 19:43:04 +0000 (GMT) Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9742743D5A for ; Sat, 11 Dec 2004 19:43:04 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (adsl-64-171-186-123.dsl.snfc21.pacbell.net [64.171.186.123])iBBJh9sV014851; Sat, 11 Dec 2004 14:43:09 -0500 Message-ID: <41BB4DC4.6090901@root.org> Date: Sat, 11 Dec 2004 11:43:00 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Igor Partola References: <41BA85A0.3050206@pisem.net> In-Reply-To: <41BA85A0.3050206@pisem.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org 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 19:43:05 -0000 Igor Partola wrote: > 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? Yes, this is a deficiency in the current usermode interface. If you look at my web page, I have a description of how to fix this if someone wants to do it. It includes implementing the /dev/apm suspend/standby compatibility ioctls including a timeout interface. See the "Implement X suspend/resume notification" section below. http://www.root.org/~nate/freebsd/acpi-todo.html -- Nate