From owner-freebsd-current@FreeBSD.ORG Wed Sep 27 08:00:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 E173116A47E for ; Wed, 27 Sep 2006 08:00:26 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C3AA43D58 for ; Wed, 27 Sep 2006 08:00:21 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1GSUL4-0004Ew-00; Wed, 27 Sep 2006 10:00:18 +0200 Date: Wed, 27 Sep 2006 10:00:18 +0200 To: Alexandre Vieira Message-ID: <20060927080017.GA4945@poupinou.org> References: <755cb9fc0609251042h163ff7f1l4e96369ed7bd0106@mail.gmail.com> <20060926083828.GZ4945@poupinou.org> <755cb9fc0609261524k15b096afofa06f40a4002cd49@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <755cb9fc0609261524k15b096afofa06f40a4002cd49@mail.gmail.com> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-current@freebsd.org Subject: Re: Acer Aspire 1644WLMi -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 27 Sep 2006 08:00:27 -0000 On Tue, Sep 26, 2006 at 11:24:02PM +0100, Alexandre Vieira wrote: > Hello, > > Thanks for your reply. > > You can find the .asl here: > > http://nullpt.googlepages.com/Acer_Aspire_1644WLMi.asl > A diff is now available at http://www.poupinou.org/Acer_Aspire_1644WLMi.asl.diff It correct those errors: - The two missing 'Z00A' are replaced by 'Ones' (note that you won't need it when ACPICA will be upgraded to the latest version, this won't happens in -stable in the short term, though). - Eliminate all the ResourceSourceIndex when there is no ResourceSource onto a Ressource descriptor. This one actually is not a real issue, but it's more clean now. Ok now do that: 1- patch your Acer_Aspire_1644WLMi.asl, 2- invoke iasl Acer_Aspire_1644WLMi.asl That will create a DSDT.aml file. 3- copy this DSDT.aml to /boot 4- add those lines to your /boot/loader.conf: acpi_dsdt_load="YES" acpi_dsdt_name="/boot/DSDT.aml" reboot, and now you should be able to see the battery via sysctl hw.acpi Also look at 11.16.5.3 "Overriding the Default AML" in the handbook for more details about this procedure: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.