From owner-freebsd-current@FreeBSD.ORG Wed Sep 27 21:00:05 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 4B6DE16A412 for ; Wed, 27 Sep 2006 21:00:05 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ACCB43D72 for ; Wed, 27 Sep 2006 20:59:40 +0000 (GMT) (envelope-from nullpt@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so87539uge for ; Wed, 27 Sep 2006 13:59:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=PpMqq3nw6pwVjaGvoFZOGpKoYlOKKI+pI4JRRLip1zf5VEC5j9q/fVFLlQQl/TzH2jx9RszXRjt2398Zsodbm5bleNNVwLQo0abnuWfhyokoNFbhRcUBKRj90tORVGEV5vXiP0nNBRabJopdbq/T/7mdjPd8orGYZzIW1YzPh9s= Received: by 10.66.220.17 with SMTP id s17mr987103ugg; Wed, 27 Sep 2006 13:59:39 -0700 (PDT) Received: by 10.66.237.20 with HTTP; Wed, 27 Sep 2006 13:59:38 -0700 (PDT) Message-ID: <755cb9fc0609271359u50adfd0es5245a87791126fad@mail.gmail.com> Date: Wed, 27 Sep 2006 21:59:38 +0100 From: "Alexandre Vieira" To: freebsd-current@freebsd.org In-Reply-To: <20060927080017.GA4945@poupinou.org> MIME-Version: 1.0 References: <755cb9fc0609251042h163ff7f1l4e96369ed7bd0106@mail.gmail.com> <20060926083828.GZ4945@poupinou.org> <755cb9fc0609261524k15b096afofa06f40a4002cd49@mail.gmail.com> <20060927080017.GA4945@poupinou.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 21:00:05 -0000 On 9/27/06, Bruno Ducrot wrote: > > 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. > Hello, Thanks for the tip, It worked (not sure if it's 100% tough). Here is the output of the isl loading the new .asl: Intel ACPI Component Architecture ASL Optimizing Compiler version 20051021 [Sep 25 2006] Copyright (C) 2000 - 2005 Intel Corporation Supports ACPI Specification Revision 3.0 Acer_Aspire_1644WLMi.asl 410: Store (0x99, P80H) Warning 2098 - Statement is unreachable ^ ASL Input: Acer_Aspire_1644WLMi.asl - 5848 lines, 194483 bytes, 2109 keywords AML Output: DSDT.aml - 19339 bytes 526 named objects 1583 executable opcodes Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 676 Optimizations dmesg: http://nullpt.googlepages.com/dmesg.txt It has one or two pending acpi errors. I've been testing powerd and is working flawessly. I had to add cpufreq_load to loader.conf in order to powerd work, isn't there a way to include it in the kernel? Also my sound (HDA) card works fine with a new driver at multimedia@ . In terms of hardware it seems almost "supported" :) Thanks in advance. Regards, -- Alexandre Vieira - nullpt@gmail.com