From owner-freebsd-current@FreeBSD.ORG Wed Jun 25 00:10:47 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D36F37B401 for ; Wed, 25 Jun 2003 00:10:47 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F36743FE3 for ; Wed, 25 Jun 2003 00:10:46 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h5P7AiE1047252; Wed, 25 Jun 2003 01:10:45 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 25 Jun 2003 01:10:39 -0600 (MDT) Message-Id: <20030625.011039.46868912.imp@bsdimp.com> To: vince@oahu.WURLDLINK.NET From: "M. Warner Losh" In-Reply-To: <20030624164549.R3146-100000@oahu.WURLDLINK.NET> References: <20030624.174929.67121811.imp@bsdimp.com> <20030624164549.R3146-100000@oahu.WURLDLINK.NET> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: ken@kdm.org cc: esn@x123.info cc: freebsd-current@freebsd.org Subject: Re: acpi patch for dell laptop? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 07:10:47 -0000 In message: <20030624164549.R3146-100000@oahu.WURLDLINK.NET> Vincent Poy writes: : On Tue, 24 Jun 2003, M. Warner Losh wrote: : : > In message: <20030623103557.Q3146-100000@oahu.WURLDLINK.NET> : > Vincent Poy writes: : > : Speaking about ACPI, has anyone figured out how to close the lid : > : without suspending? I remember before, when the lid was closed, it would : > : > add the following to your /boot/loader.conf: : > : > hw.acpi.lid_switch_state=NONE : : Putting it in /boot/loader.conf doesn't work since at some port : during the system bootup, it will set the hw.acpi.lid_switch_state: S1 : back to S1. My /boot/loader.conf is as follows: you are right. that's what I get for not double checking on my laptop at home first. : Doing /sbin/sysctl -w hw.acpi.lid_switch_state=NONE in : /etc/rc.local does work which was the way I had it before but without the : ACPI_DSDT patch, all it does when I close the lid is suspend the machine : without the LCD going off and the LCD isn't alive until I reboot the : machine. Same thing happens with hw.acpi.lid_switch_state=S1 even with : the DSDT patch is that when the system resumes, the LCD is not live : either. With the DSDT path and hw.acpi.lid_switch_state=NONE, the LCD : turns off without suspending but when you open the lid, the LCD doesn't : turn on until you hit Fn-F10. This is with the A10 BIOS on the Dell : Inspiron 8200. this matches my experiences, to a point. I've not tried the patched dsdt table on my dell yet. :-) Warner