From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 19:50:57 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 2B67837B401 for ; Tue, 24 Jun 2003 19:50:57 -0700 (PDT) Received: from oahu.WURLDLINK.NET (oahu.wurldlink.net [66.193.144.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55AA843FE9 for ; Tue, 24 Jun 2003 19:50:56 -0700 (PDT) (envelope-from vince@oahu.WURLDLINK.NET) Received: from oahu.WURLDLINK.NET (vince@localhost.WURLDLINK.NET [127.0.0.1]) by oahu.WURLDLINK.NET (8.12.9/8.12.9) with ESMTP id h5P2oEYx083010; Tue, 24 Jun 2003 16:50:14 -1000 (HST) Received: from localhost (vince@localhost)h5P2oAiH083007; Tue, 24 Jun 2003 16:50:11 -1000 (HST) Date: Tue, 24 Jun 2003 16:50:10 -1000 (HST) From: Vincent Poy To: "M. Warner Losh" In-Reply-To: <20030624.174929.67121811.imp@bsdimp.com> Message-ID: <20030624164549.R3146-100000@oahu.WURLDLINK.NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 02:50:57 -0000 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: hw.ata.wc="1" snd_ich_load="YES" acpi_dsdt_load="YES" acpi_dsdt_name="/boot/acpi_dsdt.aml hw.acpi.lid_switch_state=NONE 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. Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin