File: README

package info (click to toggle)
acpidump 20100513-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 360 kB
  • ctags: 1,815
  • sloc: ansic: 4,082; perl: 160; makefile: 111
file content (71 lines) | stat: -rw-r--r-- 2,090 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Power management tools
----------------------
This is a small collection of power management test and
investigation tools.  See http://lesswatts.org/projects/acpi/
for more information on ACPI for Linux.

.turbostat/turbostat
--------------------
see comments in turbostat.c source file

./acpidump/acpidump
-------------------
This utility dumps a system's ACPI tables to an ASCII file.

Typically it is used to dump all the ACPI tables
to attach to a bug report for later examination:

    # ./acpidump > acpidump.out

./acpidump/acpixtract
--------------------
Convert ASCII acpidump output to raw binary tables:

	$ acpixtract/acpixtract -a acpidump.out
	Acpi table [DSDT] -  15974 bytes written to DSDT.dat
	Acpi table [FACS] -     64 bytes written to FACS.dat
	Acpi table [FACP] -    116 bytes written to FACP.dat
	Acpi table [APIC] -    120 bytes written to APIC.dat
	Acpi table [WDDT] -     64 bytes written to WDDT.dat
	Acpi table [MCFG] -     60 bytes written to MCFG.dat
	Acpi table [ASF!] -    166 bytes written to ASF!.dat
	Acpi table [SSDT] -    444 bytes written to SSDT1.dat
	Acpi table [SSDT] -    439 bytes written to SSDT2.dat
	Acpi table [SSDT] -    439 bytes written to SSDT3.dat
	Acpi table [SSDT] -    439 bytes written to SSDT4.dat
	Acpi table [SSDT] -    439 bytes written to SSDT5.dat
	Acpi table [RSDT] -     76 bytes written to RSDT.dat
	Acpi table [RSDP] -     20 bytes written to RSDP.dat


Disassembler
------------
Convert binary table into human readable form
iasl can be downloaded from Intel:
http://www.intel.com/technology/IAPC/acpi/downloads.htm

Which creates DSDT.dsl this way:

	$ iasl -a *.dat
	...
	creates *.dsl

pmtest -- does not work
------
This utility can be used by Linux kernel developers to test
power management support in their drivers.  It consists of
an installable kernel module and a Perl script to drive
the module.

Example: pmtest -d3 VGA

Change Log
----------
20100123
	add turbostat program
	acpixtract: change %6d printf conversion string %6zd 
	tweak this README

20070511
	delete acpitbl script
	it is obsoleted by iasl -d