From owner-freebsd-acpi@FreeBSD.ORG Tue May 5 07:27:22 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 ED7CF1065672 for ; Tue, 5 May 2009 07:27:22 +0000 (UTC) (envelope-from patttern@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 421D58FC21 for ; Tue, 5 May 2009 07:27:21 +0000 (UTC) (envelope-from patttern@gmail.com) Received: by bwz9 with SMTP id 9so4239364bwz.43 for ; Tue, 05 May 2009 00:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=evYFoITHOmYld3R50/TsMv0/6AIKi55lL+KclILWRfE=; b=tU5F2Xp2ziZj06FkvknN6M4mg4kdiGr8bNHFILhp/jh/0AaBOv2yLuKPx7TKV9TP/w MSewWefujgCvwruahyUJTD0iDTNRV8DQTqjyUKa9M4xPlMednIw4Rgegh2MqXaWqj9Xz QawGo7mL07IWGMqIjf+ybUmpyI6+5u6e+cZeA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=i0qlhu/7kTbf57k8hHonho0nKxMGe4fUrOjAR39CZ8HVzSyy1YXXpo57O6PcTEBtVO EHcEQtccul0sKgT/cQhvscXEc9HFnDAzNlo2wr+jKC3dqJ51Iw8B0193n0IlqlNPCseZ yK2/fMl92+jN1Vr5knHTbahNbWVMhYxHnUSyk= MIME-Version: 1.0 Received: by 10.204.62.135 with SMTP id x7mr6651789bkh.124.1241508439721; Tue, 05 May 2009 00:27:19 -0700 (PDT) In-Reply-To: <200905041532.52001.jkim@FreeBSD.org> References: <107cc88f0905040621m215f877ak77a49e5b60e236a6@mail.gmail.com> <200905041532.52001.jkim@FreeBSD.org> Date: Tue, 5 May 2009 11:27:19 +0400 Message-ID: <107cc88f0905050027t32a1d1fegf94882b0e0d5e9b1@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: Tue, 05 May 2009 07:27:23 -0000 2009/5/4 Jung-uk Kim > On Monday 04 May 2009 09:21 am, Pattern wrote: > > Hi! > > I have a problem with ACPI on notebook Toshiba Sattelite A210-16f. > > At loading FreeBSD by default, the system does not detect hard > > disks. Through acpidump i have received a dsl-file. > > (dsdt_SB600.dsl) After considerable editing of a file, i have > > received a file without errors. (dsdt_SB600.diff) > > Result of operation iasl: > > > > [2:36 pattern@toshiba /root/acpica]# iasl dsdt_SB600_edit.dsl > > Intel ACPI Component Architecture > > ASL Optimizing Compiler version 20070320 [Mar 31 2009] > > Copyright (C) 2000 - 2007 Intel Corporation > > Supports ACPI Specification Revision 3.0a > > ASL Input: dsdt_SB600_edit.dsl - 7596 lines, 283835 bytes, 3271 > > keywords AML Output: /root/acpica/dsdt_SB600_edit.aml - 29374 bytes > > 873 named objects 2398 executable opcodes > > Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 9 > > Optimizations > > > > I have placed the aml-file received as a result of operation in > > /boot and have registered it in loader.conf. > > > > [2:36 pattern@toshiba /root/acpica]# less /boot/loader.conf > > acpi_dsdt_load="YES" > > acpi_dsdt_name="/boot/dsdt_SB600_edit.aml" > > > > After system reboot, hard disks as have not found out. In the > > console following errors are output. > > > > acpi0: om motherboard > > ACPI Error (evregion-0427): No handler for Region [ERAM] > > (0xc69cde80) [EmbeddedControl] [20070320] > > ACPI Error (exfldio-0390): Region EmbeddedControl(3) has no handler > > [20070320] > > ACPI Error (psparse-0626): Method parse/execution failed > > [\_SB_.HTEV] (Node 0xc6897b60), AE_NOT_EXIST > > ACPI Error (psparse-0626): Method parse/execution failed > > [\_SB_.PCI0.LPC0.EC0_._REG] (Node 0xc69d6260), AE_NOT_EXIST > > acpi0: Could not initialise SystemIO handler: AE_NOT_EXIST > > ... > > unknown: can't assign resources (memory) > > unknown: can't assign resources (memory) > > unknown: can't assign resources (irq) > > unknown: can't assign resources (port) > > unknown: can't assign resources (memory) > > unknown: can't assign resources (memory) > > unknown: can't assign resources (memory) > > unknown: can't assign resources (irq) > > > > That the system has successfully booted it is required to apply the > > following file. (dsdt_SB600_addon.diff) > > (dsdt_SB600.dsl -> dsdt_SB600.diff -> dsdt_SB600_edit.dsl > > dsdt_SB600_edit.dsl -> dsdt_SB600_addon.diff -> > > dsdt_SB600_addon.dsl) BIOS of notebook is up-to-date > > Why it occurs and how it to fix? > > > > http://pma.8855.ru/files/dsdt_SB600.dsl > > http://pma.8855.ru/files/dsdt_SB600.diff > > http://pma.8855.ru/files/dsdt_SB600_addon.diff > > I think you commented out too much. ;-) Please try the attached patch > for DSDT instead. > > Jung-uk Kim > Thanks for your answer. Patch (dsdt_SB600.diff ) is corrected with optimisation and in it changes which you have specified already contain. But these minimum changes don't troubleshoot ACPI, but only allow to load system with ACPI. It was possible to load system in a mode "ACPI disabled" and not to do any changes. But i wish to make working support ACPI on a notebook. In fact, the first patch after compilation does not contain any error (!!!), but nevertheless the system does not boot. And if to apply patch dsdt_SB600_addon.diff or comment a code below, only after that the system boots. Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Arg1, Z00B) } \_SB.HTEV (0x02) } This code as that influences initialization EmbeddedControl. However, even without this code, sometimes in the console the error on EmbeddedControl drops out, but the system successfully boots. What such problem can be linked?