From owner-freebsd-acpi@FreeBSD.ORG Tue Mar 21 14:04:28 2006 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 356D016A41F for ; Tue, 21 Mar 2006 14:04:28 +0000 (UTC) (envelope-from Mark_Andrews@isc.org) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 017E843D45 for ; Tue, 21 Mar 2006 14:04:26 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from drugs.dv.isc.org (localhost.isc.org [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id C305AE60EB for ; Tue, 21 Mar 2006 14:04:26 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.13.4/8.13.4) with ESMTP id k2LDDdKr001086; Wed, 22 Mar 2006 00:13:41 +1100 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200603211313.k2LDDdKr001086@drugs.dv.isc.org> To: Mark Diekhans From: Mark Andrews In-reply-to: Your message of "Tue, 21 Mar 2006 00:13:47 -0800." <17439.46523.576483.319302@osprey.kermodei.org> Date: Wed, 22 Mar 2006 00:13:39 +1100 Sender: Mark_Andrews@isc.org Cc: freebsd-acpi@freebsd.org Subject: Re: DELL D610 lid and backlight 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: Tue, 21 Mar 2006 14:04:28 -0000 > Mark Andrews writes: > > I have a problem if I enable acpi on my dell d610. The backlight > > goes off and doesn't come back on if the lid is closed. This is > > independent of whether debug.acpi.disabled="lid" is set or not. > > For the Dell X1, > > enable acpi_video in loader.conf: /boot/loader.conf with: > acpi_video_load="YES" > > add this to /etc/devd.conf: > > # lid open/close events > notify 10 { > match "system" "ACPI"; > match "subsystem" "Lid"; > action "/etc/rc.lid $notify"; > }; > > /etc/rc.lid is: > > #!/bin/sh > # deal with lid switch events > > if [ x$1 = x0x00 ]; then > logger -t Lid Closed at `date` > sysctl hw.acpi.video.out0.active=0 > else > logger -t Lid Opened at `date` > sysctl hw.acpi.video.out0.active=1 > fi Thanks. That helped. I've got "shutdown -p now" back now as well. The back light was more important than power management so I had disabled acpi between between sessions. Standby still has the same symptoms. I added hw.acpi.video.out0.active=1 to sysctl.conf in case it was rebooting so it would restore the back light on the way up. This doesn't appear to be the case. Mark -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org