Starting AML

Thomas Andrews
2004-04-29T19:21:33Z

Hi Everyone,

I want to try to understand how to debug my DSDT properly, so I'd
appreciate some hints for debugging. I've started reading through the
ACPI specification available at http://www.acpi.info/spec.htm

Firstly, how do I find out in the AML where the relevant pieces of code
are ? For example, the battery voltage reported is wrong; how do I figure
out which bits to edit ?

Secondly, how can I output debugging messages ? Is there some way I can
use something like printf/printk ?

I have already fixed the "syntax errors" produced by compiling the
original BIOS DSDT. That didn't fix anything BTW.

I have also read the (very helpful) docs and howtos on SF. Thanks.
The laptop is a Compaq Evo N150, for which there seem to be no fixes
made public.

Many thanks,
Thomas