From owner-freebsd-hackers Thu Oct 24 12:22:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22B8937B401 for ; Thu, 24 Oct 2002 12:22:19 -0700 (PDT) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id A633D43E6A for ; Thu, 24 Oct 2002 12:22:18 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 25727 invoked from network); 24 Oct 2002 19:22:24 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 24 Oct 2002 19:22:24 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g9OJMFn5072068; Thu, 24 Oct 2002 15:22:15 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021024210829.B4981@freebie.xs4all.nl> Date: Thu, 24 Oct 2002 15:22:19 -0400 (EDT) From: John Baldwin To: Wilko Bulte Subject: Re: Getting ACPI to work on -stable Cc: hackers@FreeBSD.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 24-Oct-2002 Wilko Bulte wrote: > On Thu, Oct 24, 2002 at 02:25:57PM -0400, John Baldwin wrote: >> >> On 24-Oct-2002 Wilko Bulte wrote: >> > On Wed, Oct 23, 2002 at 04:20:17PM -0400, John Baldwin wrote: >> >> Ok, here are the instructions on getting ACPI going on 4-stable for >> >> those of you who are foolish^H^H^H^H^H^H^Hbrave: >> >> >> >> - First, check out a -stable kernel source tree. >> >> - Second, check out current versions of the following parts of the >> >> kernel source tree (cvs co -r1 will do this): >> >> - src/sys/contrib/dev/acpica >> >> - src/sys/dev/acpica >> >> - src/sys/i386/acpica >> >> - src/sys/i386/include/acpica_machdep.h >> >> - src/sys/i386/isa/pmtimer.c >> >> - src/sys/kern/subr_power.c >> >> - src/sys/sys/power.h >> >> - Third, download and apply the patch at >> >> http://www.FreeBSD.org/~jhb/~patches/acpi_4x.patch. >> > >> > Make that: http://www.FreeBSD.org/~jhb/patches/acpi_4x.patch >> > >> > I'm engaged in testing it now, stay tuned... >> >> Grammar and URL's don't mix well. :) > > I just tested it on my Compaq EVO N160 laptop. > > Testresult is a bit 'hmm hmm' : > > - any power event (plug in mains, pull mains) results in an immediate > reboot > - pressing the lid switch results in an immediate reboot > - apm gives me: Well, it is experimental for a reason. :) I do know that soft power-off does work on Intel 845 boards but suspend doesn't seem to, which consitutes the extent of my testing. :) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message