From owner-freebsd-acpi@FreeBSD.ORG Mon May 4 19:33:05 2009 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 7019C1065673; Mon, 4 May 2009 19:33:04 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-acpi@FreeBSD.org Date: Mon, 4 May 2009 15:32:50 -0400 User-Agent: KMail/1.6.2 References: <107cc88f0905040621m215f877ak77a49e5b60e236a6@mail.gmail.com> In-Reply-To: <107cc88f0905040621m215f877ak77a49e5b60e236a6@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_jL0/Jil2dSzr+vi" Message-Id: <200905041532.52001.jkim@FreeBSD.org> Cc: Pattern 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, 04 May 2009 19:33:05 -0000 --Boundary-00=_jL0/Jil2dSzr+vi Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --Boundary-00=_jL0/Jil2dSzr+vi Content-Type: text/plain; charset="iso-8859-1"; name="dsdt_SB600.dsl.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dsdt_SB600.dsl.diff" --- dsdt_SB600.dsl.orig 2009-05-04 15:04:08.000000000 -0400 +++ dsdt_SB600.dsl 2009-05-04 15:10:56.000000000 -0400 @@ -278,6 +278,11 @@ Notify (\_SB.PCI0, 0x00) \_SB.HSWK (Arg0) + Return (Package (0x02) + { + Zero, + Zero + }) } Scope (\_SB) @@ -1773,6 +1778,7 @@ Store (ATIB, \_SB.PCI0.LPC0.INFO) Store (Zero, \_SB.PCI0.LPC0.SMIC) Release (\_SB.PCI0.LPC0.PSMX) + Return (ATIB) } Method (AF07, 0, NotSerialized) @@ -1806,6 +1812,7 @@ Store (ATIB, \_SB.PCI0.LPC0.INFO) Store (Zero, \_SB.PCI0.LPC0.SMIC) Release (\_SB.PCI0.LPC0.PSMX) + Return (ATIB) } Method (AFN1, 1, Serialized) @@ -5810,7 +5817,7 @@ } OperationRegion (ECRM, EmbeddedControl, 0x00, 0xFF) - Field (ECRM, AnyAcc, Lock, Preserve) + Field (ECRM, ByteAcc, Lock, Preserve) { Offset (0x94), ERIB, 16, @@ -6906,6 +6913,7 @@ Store (ATIB, \_SB.PCI0.LPC0.INFO) Store (Zero, \_SB.PCI0.LPC0.SMIC) Release (\_SB.PCI0.LPC0.PSMX) + Return (ATIB) } Method (AF07, 0, NotSerialized) @@ -6939,6 +6947,7 @@ Store (ATIB, \_SB.PCI0.LPC0.INFO) Store (Zero, \_SB.PCI0.LPC0.SMIC) Release (\_SB.PCI0.LPC0.PSMX) + Return (ATIB) } Method (AFN1, 1, Serialized) --Boundary-00=_jL0/Jil2dSzr+vi--