From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 16 12:27:58 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 169DA16A4A0 for ; Fri, 16 Jun 2006 12:27:58 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B96E43D53 for ; Fri, 16 Jun 2006 12:27:55 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k5GCRsrf071913; Fri, 16 Jun 2006 07:27:54 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4492A3D5.4020109@centtech.com> Date: Fri, 16 Jun 2006 07:28:05 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Rich Winkel References: <200606160415.k5G4Fvka013078@pencil.math.missouri.edu> In-Reply-To: <200606160415.k5G4Fvka013078@pencil.math.missouri.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1544/Fri Jun 16 04:19:15 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-mobile@freebsd.org Subject: Re: Video sleep on dell d600 (6.1-release) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 12:27:58 -0000 Rich Winkel wrote: > Hi, > > I can't seem to get the display to shut off when I press the lid switch. > In /boot/loader.conf I have > > acpi_load="YES" > acpi_video_load="YES" > > In /etc/devd.conf I have > notify 10 { > match "system" "ACPI"; > match "subsystem" "Lid"; > action "/usr/sbin/acpiconf -s 1"; > }; > > (I tried -s 3 but it just crashes and reboots) > > I don't know if this has any bearing on it, but I also have > device pmtimer > in the kernel config. > > The bios version is "A16", the latest version. > > The system does go to sleep (at least the power indicator starts flashing) > but the screen stays lit. Does anyone have this running? For my Dell's, I usually added a line into rc.suspend and rc.resume, to toggle the acpi video sysctl. Something like: sysctl hw.acpi.video.lcd0.active=0 in /etc/rc.suspend, and: sysctl hw.acpi.video.lcd0.active=1 in /etc/rc.resume. Now, if your setting is by default =0, then you probably will want to add something like this to /etc/sysctl.conf: hw.acpi.video.lcd0.active=1 So that on boot it gets 'enabled'. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------