From owner-freebsd-acpi@FreeBSD.ORG Mon Aug 17 22:37:32 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64E78106568B for ; Mon, 17 Aug 2009 22:37:32 +0000 (UTC) (envelope-from patttern@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 219FE8FC57 for ; Mon, 17 Aug 2009 22:37:31 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so1226852and.13 for ; Mon, 17 Aug 2009 15:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=MIQJfzEvrGMxtD3hnvUufRZeCPN2UJqBZhC8uVUCbBE=; b=Fbg2rRsjnaNeq92Lx8yqn/QoiXflWNYdMmbAkAUmgEmbGDoSsRUA0ZE3y0gxcfUI8G A5JMG+mvxX3tDrZN5cYp5+sko0yuL/HZGHuvqKs/Ayy+kDxo5hmbyY1iwGggy3Jf1X4F oq8tOeO8ow26B6TDDkEfJJK8LztVgJJLm7irQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=K1X+ynhc/7nfbdJPivmigIYgk1ckhhXRz4Dhc4yxxzPHBZx9eUv+mNosKAXLnK9f4Z 13TGZrvlSwKuDrDrnrEZosVghczwEIy25kYHU1BOrlACaqCpIAvLCJc8p00QshG8EUFm zfCXcMquur5Fk1KfYhcQd34E3LjitRvKa9clw= MIME-Version: 1.0 Received: by 10.101.52.13 with SMTP id e13mr4168929ank.0.1250548649669; Mon, 17 Aug 2009 15:37:29 -0700 (PDT) Date: Tue, 18 Aug 2009 02:37:29 +0400 Message-ID: <107cc88f0908171537n5c2e2bc0n7ca85a098dffe434@mail.gmail.com> From: Pattern To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ACPI on Toshiba A210 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 22:37:32 -0000 In result: # uname -a FreeBSD toshiba.homenet 8.0-BETA2 FreeBSD 8.0-BETA2 #1: Sun Aug 9 15:09:10 MSD 2009 root@toshiba.homenet:/usr/obj/usr/src/sys/TOSHIBA i386 # acpidump -dt > acpi_ta210f16.orig.asl http://pma.8855.ru/files/acpi_ta210f16.orig.asl Changes to the file http://pma.8855.ru/files/acpi_ta210f16.diff Result of the changes http://pma.8855.ru/files/acpi_ta210f16.asl After these changes ACPI has worked well. But there are some issues: 1. Booting system runs without errors usually. Sometimes during the boot process this error appears: ... acpi_acad0: on acpi0 acpi_ec0: EcRead: failed waiting to get data ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for [EmbeddedControl] 20090521 evregion-531 ACPI Error (psparse-0633): Method parse/execution failed [\_SB_.PCI0.LPC0.EC0_.PCLK] (Node 0xc6eebca0), AE_NO_HARDWARE_RESPONSE ACPI Error (psparse-0633): Method parse/execution failed [\_SB_.PCI0.LPC0.EC0_._Q1D] (Node 0xc6eef320), AE_NO_HARDWARE_RESPONSE acpi_ec0: evaluation of query method _Q1D failed: AE_NO_HARDWARE_RESPONSE battery0: on acpi0 ... What causes that and how can I fix it? 2. In line 5601 (in file acpi_ta210f16.asl) method calling commented. After running iasl with optimization parameters (iasl -vo), program says, that method has to be called this way HTEV (0x02) It causes the error: ... ACPI Error (psparse-0633): Method parse/execution failed [\_SB_.PCI0.LPC0.EC0_.HTEV] (Node 0xc6897b60), AE_NOT_EXIST ACPI Error (psparse-0633): Method parse/execution failed [\_SB_.PCI0.LPC0.EC0_._REG] (Node 0xc69d6260), AE_NOT_EXIST acpi0: Could not initialize SystemIO handler: AE_NOT_EXIST ... and system stops booting If method calling registered by its actual address \_SB.HTEV (0x02) this error appears while booting process: ... ACPI Error (psparse-0633): Method parse/execution failed [\_SB_.HTEV] (Node 0xc6897b60), AE_NOT_EXIST ACPI Error (psparse-0633): Method parse/execution failed [\_SB_.PCI0.LPC0.EC0_._REG] (Node 0xc69d6260), AE_NOT_EXIST acpi0: Could not initialize SystemIO handler: AE_NOT_EXIST ... and system stops booting further. In both cases, the method of HTEV into \ _SB_.PCI0.LPC0.EC0_._REG can not be called. However if not call this method, system boots correctly. How can I fix it?