Subject: ACPI
To: None <tech-kern@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 03/22/2001 10:20:12
Folks...
This is just a brief message to say that I have the very small beginnings
of ACPI support working in the NetBSD kernel. That is to say, I can get
the ACPI tables and walk the namespace. I am using the Intel ACPICA
reference implementation.
Here's a brief snipped from my ThinkPad's dmesg:
...
mainbus0 (root)
tbxface-0184: ACPI Tables successfully loaded
Parsing Methods:................................................................
................................................................................
................................................................................
................................................................................
...........................
331 Control Methods found and parsed (1098 nodes total)
ACPI Namespace successfully loaded at root 0xc042b7e4
acpi0 at mainbus0
evxfevnt-0178: Transition to ACPI mode successful
`\M-><\M-@\M-R at acpi0 level 1 not configured
PNP0C0F at acpi0 level 1 not configured
PNP0C0F at acpi0 level 1 not configured
PNP0C0F at acpi0 level 1 not configured
PNP0C0F at acpi0 level 1 not configured
PNP0C01 at acpi0 level 1 not configured
PNP0C0D at acpi0 level 1 not configured
PNP0C0E at acpi0 level 1 not configured
PNP0A03 at acpi0 level 1 not configured
PNP0C02 at acpi0 level 3 not configured
PNP0000 at acpi0 level 3 not configured
PNP0100 at acpi0 level 3 not configured
PNP0200 at acpi0 level 3 not configured
PNP0800 at acpi0 level 3 not configured
PNP0C04 at acpi0 level 3 not configured
PNP0B00 at acpi0 level 3 not configured
PNP0303 at acpi0 level 3 not configured
IBM3780 at acpi0 level 3 not configured
PNP0C02 at acpi0 level 3 not configured
`\M-><\M-@\M-R at acpi0 level 3 not configured
PNP0C02 at acpi0 level 3 not configured
`\M-><\M-@\M-R at acpi0 level 3 not configured
PNP0700 at acpi0 level 3 not configured
PNP0501 at acpi0 level 3 not configured
PNP0400 at acpi0 level 3 not configured
IBM0071 at acpi0 level 3 not configured
PNP0C09 at acpi0 level 3 not configured
PNP0C0A at acpi0 level 4 not configured
PNP0C0A at acpi0 level 4 not configured
aacad0 at acpi0 level 4: ACPI AC Adapter
amfldio-0219: AmlReadFieldData: **** Region EmbeddedControl(3) has no handler
Fatal error encountered
...
...that "Fatal error" isn't anything to worry about ... I expected to
lose trying to talk to the "AC Adapter" without having first attached
the "Embedded Controller".
There's still a lot of work to do yet, but you gotta crawl before you
walk, and I figured since it was sort-of crawling, I'd let people know.
--
-- Jason R. Thorpe <thorpej@zembu.com>