Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 2009 15:32:50 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-acpi@FreeBSD.org
Cc:        Pattern <patttern@gmail.com>
Subject:   Re: ACPI on Toshiba A210
Message-ID:  <200905041532.52001.jkim@FreeBSD.org>
In-Reply-To: <107cc88f0905040621m215f877ak77a49e5b60e236a6@mail.gmail.com>
References:  <107cc88f0905040621m215f877ak77a49e5b60e236a6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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: <TOSCPL TOSCPL00> 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: <PNP0c02> can't assign resources (memory)
> unknown: <PNP0c01> can't assign resources (memory)
> unknown: <PNP0100> can't assign resources (irq)
> unknown: <PNP0303> can't assign resources (port)
> unknown: <PNP0c02> can't assign resources (memory)
> unknown: <PNP0c02> can't assign resources (memory)
> unknown: <PNP0c02> can't assign resources (memory)
> unknown: <PNP0f13> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905041532.52001.jkim>