ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

 
Start a new topic Add Reply
> Dsdt Tables And Acpidump - Help!
clueless1
post Apr 13 2012, 06:30 PM
Post #1
QUOTE
QUOTE (zhell @ Jun 2 2009, 10:24 PM) *


To dump all ACPI tables from Linux, including those inaccessible from OS X, boot some Live CD and install "acpidump". It's usually in a package called "acpidump" (Ubuntu) or "pmtools" (Fedora). Then become root using "sudo su" (Ubuntu) or "su -" (Fedora) and run the following command:
CODE
mkdir ACPI && dmesg | perl -we '$n=0; while (<>) { if (($t,$a,$l,$o) = (/^[^a-zA-Z]*ACPI: ([-._A-Z0-9]{4,4}) +([0-9A-F]{8,8}), ([0-9A-F]{4,4})+(?:\s*\(([^)]+))?/)) { $o && $o=~s/[^-._a-zA-Z0-9]+/-/g; ($cmd="acpidump -a $a -l $l > \"ACPI/${t}".($o?"_$o":"").".aml\""); print "Running command: \"$cmd\"\n"; system($cmd); ++$n; } } die("No match") unless $n;' && zip -r ACPI-Tables.zip ACPI

This will yield a file ACPI-Tables.zip containing all ACPI tables.

SSDT
Some SSDT tables can only be obtained from Linux. Please use the above command, it will dump the SSDT tables (including C-states) as well.



I have tried this in Ubuntu 11.10 (and a couple other live versions) and continually get the error "No match at -e"
Can anybody help with either the error or translating the acpidump command into something that is comprehensible, at least to me?
clueless1
post Apr 13 2012, 06:34 PM
Post #2
QUOTE (clueless1 @ Apr 13 2012, 07:30 PM) *
I have tried this in Ubuntu 11.10 (and a couple other live versions) and continually get the error "No match at -e"
Can anybody help with either the error or translating the acpidump command into something that is comprehensible, at least to me?



if it helps I think (but am not even entirely sure) I got this far:

perl -we '$n=0;

while (<>)

{ if (($t,$a,$l,$o) = (/^[^a-zA-Z]*ACPI: ([-._A-Z0-9]{4,4}) +([0-9A-F]{8,8}), ([0-9A-F]{4,4})+(?:\s*\(([^)]+))?/))

{ $o && $o=~s/[^-._a-zA-Z0-9]+/-/g;

($cmd="acpidump -a $a -l $l > \"ACPI/${t}".($o?"_$o":"").".aml\"");

print "Running command: \"$cmd\"\n";

system($cmd); ++$n; } }

die("No match") unless $n;'

&& zip -r ACPI-Tables.zip ACPI
Slice
post Apr 14 2012, 05:23 PM
Post #3
Use DarwinDumper under OSX to obtain ACPI tables.
Пожалуйста, прочитайте ЧаВо!
i3-2120 GA-H61M-S1, Radeon HD6670, ALC887(VoodooHDA 2.8.4), OS⌘10.9.2, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
clueless1
post Apr 15 2012, 05:44 AM
Post #4
QUOTE (Slice @ Apr 14 2012, 06:23 PM) *
Use DarwinDumper under OSX to obtain ACPI tables.


thanks slice. will do. is the svn fixed for clover yet?
Slice
post Apr 17 2012, 08:27 AM
Post #5
QUOTE (clueless1 @ Apr 15 2012, 09:44 AM) *
is the svn fixed for clover yet?

?
Пожалуйста, прочитайте ЧаВо!
i3-2120 GA-H61M-S1, Radeon HD6670, ALC887(VoodooHDA 2.8.4), OS⌘10.9.2, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2

Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: