From owner-freebsd-current Fri Jul 5 2:45:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F242837B400 for ; Fri, 5 Jul 2002 02:45:46 -0700 (PDT) Received: from axe-inc.co.jp (axegw.axe-inc.co.jp [61.199.217.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C69FF43E31 for ; Fri, 5 Jul 2002 02:45:45 -0700 (PDT) (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 SAA28267; Fri, 5 Jul 2002 18:45:42 +0900 (JST) Message-Id: <200207050945.SAA28267@axe-inc.co.jp> To: Alex Zepeda Cc: current@freebsd.org Subject: Re: ACPI woes again.. In-reply-to: Your message of "Fri, 05 Jul 2002 00:16:40 MST." <20020705071640.GA739@blarf.homeip.net> Date: Fri, 05 Jul 2002 18:46:05 +0900 From: Takanori Watanabe Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020705071640.GA739@blarf.homeip.net>, Alex Zepeda wrote: >On Fri, Jul 05, 2002 at 04:01:08PM +0900, Takanori Watanabe wrote: > >> We already have a way to use your own bytecode without recompiling. >> Simply put your AML file to /boot/acpi_dsdt.aml and add 'acpi_dsdt_load="YES >" >> to your /boot/loader.conf (Other necessary setting exist in /boot/default/lo >ader.conf) > >Cool! I can boot now!! > >When will this make it into the man page? Would you review this description? --- acpi.4 Fri Jul 5 17:41:29 2002 +++ acpi.4.new Fri Jul 5 18:37:27 2002 @@ -258,10 +258,33 @@ bus/children scan of the namespace. The ACPI CA code will still know about the avoided region. +.Sh OVERRIDING YOUR BIOS BYTECODE +ACPI interprets bytecode named AML, ACPI Machine Language, provided by BIOS +vendor as memory image at boot time. Sometimes, the AML code contains +problem that is not appeared in Microsoft implement. So we provide a way +to override it with your own AML code. +.Pp +In order to load your AML code, +you must edit +.Pa /boot/loader.conf +and +include the follwing lines. +.Bd -literal -offset indent +acpi_dsdt_load="YES" +acpi_dsdt_name="/boot/acpi_dsdt.aml" #You may change the name. +.Ed +.Pp +In order to prepare your AML code, you will require +.Xr acpidump 8 , +.Xr iasl 1 +in devel/acpicatools port, and some ACPI knowledge. + .Sh COMPATIBILITY ACPI is only found/supported on Intel platforms (i386/IA32 and IA64). .Sh SEE ALSO .Xr config 8 , +.Xr loader.conf 5 , +.Xr acpidump 8 , .Xr acpi 9 .Sh AUTHORS .An -nosplit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message