From owner-freebsd-acpi@FreeBSD.ORG Tue Mar 21 08:13:48 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 35D5E16A401 for ; Tue, 21 Mar 2006 08:13:48 +0000 (UTC) (envelope-from markd@kermodei.org) Received: from ylpvm15.prodigy.net (ylpvm15-ext.prodigy.net [207.115.57.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 925FB43D48 for ; Tue, 21 Mar 2006 08:13:47 +0000 (GMT) (envelope-from markd@kermodei.org) Received: from pimout7-ext.prodigy.net (pimout7-int.prodigy.net [207.115.4.147]) by ylpvm15.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id k2L8DnYA019956 for ; Tue, 21 Mar 2006 03:13:50 -0500 X-ORBL: [67.123.80.209] Received: from osprey.kermodei.org (osprey.kermodei.org [67.123.80.209]) by pimout7-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id k2L8DfD1115680; Tue, 21 Mar 2006 03:13:41 -0500 Received: from localhost (osprey.kermodei.org [127.0.0.1]) by osprey.kermodei.org (Postfix) with ESMTP id 34E0B5C55; Tue, 21 Mar 2006 00:13:49 -0800 (PST) Received: from osprey.kermodei.org ([127.0.0.1]) by localhost (osprey.kermodei.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 21789-03; Tue, 21 Mar 2006 00:13:47 -0800 (PST) Received: by osprey.kermodei.org (Postfix, from userid 1000) id AE4AF5C4F; Tue, 21 Mar 2006 00:13:47 -0800 (PST) From: Mark Diekhans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17439.46523.576483.319302@osprey.kermodei.org> Date: Tue, 21 Mar 2006 00:13:47 -0800 To: Mark Andrews In-Reply-To: <200603210525.k2L5PSis001981@drugs.dv.isc.org> References: <200603210525.k2L5PSis001981@drugs.dv.isc.org> X-Mailer: VM 7.19 under Emacs 21.3.1 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 08:13:48 -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