I put "acpidump" into blastwave,
http://www.blastwave.org/packages.php/acpidump
So it's available by "pkg-get install acpidump" now, ;-)

acpidump is a utility dumps system's ACPI tables to an ASCII file.
I know we have "iasl -g: Get ACPI tables and write to files (*.dat)",
But no wonder if you couldn't find c-state or p-state objects in those
tables "iasl -g" got, because these objects could be dynamic loaded.
acpidump can deal with this kind of case, working with iasl. For example:

<<<<one ssdt table on my machine>>>>
----snip----
Name(SSDT, Package (0x0C)
{
----snip----
         "CPU0CST",
         0x7FE769D7,
         0x00000217,
----snip----
}

Scope(\_PR.CPU0)
{
----snip----
        Load(CST0, HC0)
----snip----
}

That means c-state related info will be dynamic loaded.
It's invisible by "iasl -g". But if we want to check, we can

# acpidump --addr 0x7FE769D7 --length 0x00000217 > cpu-cst.dat
# iasl -d cpu-cst.dat
----snip----
Parsing completed
Disassembly completed, written to "cpu-cst.dsl".

Now "_CST" object is in "cpu-cst.dsl", we can get c-state latency, power
and other useful info in the user space.

Have fun, ;-)
-Aubrey

Reply via email to