From owner-acpi-jp@jp.FreeBSD.org Wed Jul  3 15:09:09 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g63699702185;
	Wed, 3 Jul 2002 15:09:09 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from axe-inc.co.jp (axegw.axe-inc.co.jp [61.199.217.66])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g63698n02180
	for <acpi-jp@jp.FreeBSD.org>; Wed, 3 Jul 2002 15:09:08 +0900 (JST)
	(envelope-from takawata@axe-inc.co.jp)
Received: from axe-inc.co.jp (takawata@[192.47.224.47])
	by axe-inc.co.jp (8.9.3+3.2W/3.7W) with ESMTP id PAA28286
	for <acpi-jp@jp.FreeBSD.org>; Wed, 3 Jul 2002 15:09:08 +0900 (JST)
Message-Id: <200207030609.PAA28286@axe-inc.co.jp>
To: acpi-jp@jp.FreeBSD.org
In-reply-to: Your message of "Tue, 02 Jul 2002 13:07:52 MST."
             <B9ECACBD6885D5119ADC00508B68C1EA0D19B613@orsmsx107.jf.intel.com>
Date: Wed, 03 Jul 2002 15:09:33 +0900
From: Takanori Watanabe <takawata@axe-inc.co.jp>
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020630
X-Sequence: acpi-jp 1657
Subject: [acpi-jp 1657] Re: Overriding BIOS ACPI implementation?
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: takawata@axe-inc.co.jp


>From: Jordi YC [mailto:jordi_yc@lycos.es]
>Sent: Tuesday, July 02, 2002 12:45 PM
>To: acpi-jp@jp.FreeBSD.org
>Subject: [acpi-jp 1652] Overriding BIOS ACPI implementation?
>
>
>Hi there,
>
>I wonder if we can do what iwasaki suggested long time ago for "buggy" 
>BIOSes.
>
>"# Actually, you can create ACPI BIOS data, called DSDT, from submitted
>
># dumpfile with Intel ASL compiler (iasl) in ports/devel/acpitools/
># and load your customized DATA in loader overriding BIOS."
>
>http://groups.google.com/groups?hl=en&lr=&threadm=20011116.000207.74756347.i
>wasaki_jp.FreeBSD.org%40ns.sol.net&rnum=2&prev=/groups%3Fhl%3Den%26lr%3D%26q
>%3Dacpi-jp%2Bfor%2Bvaio%2Busers
>
>Is this an option?

This is mainly useful when ACPI interpretor gets wrong with buggy byte code.

>I have a Sony r505 TEK. Is there a way to have suspend / resume / power off
>functionality with the above procedure?

I don't expect it will work for it.

To override it, disassemble your AML byte-code, fix the error, re-assemble it,
copy it as "/boot/acpi_dsdt.aml", add  'acpi_dsdt_load="YES"' line to your 
/boot/loader.conf then reboot.

In message <B9ECACBD6885D5119ADC00508B68C1EA0D19B613@orsmsx107.jf.intel.com>, "
Moore, Robert" :
>
>We have added an OSL interface, "AcpiOsTableOverride", for exactly this
>purpose.  In the OSL code for the ACPI CA core, the host OS can supply a
>replacement ACPI table for each and every table that is loaded from the
>BIOS.

Hmm, we have to rewrite the feature with the function. 

