so i'am searching to make script for collecting in text mode, good information in each situation.
first of all, how is my PC in hackintosh spirit and requirements ?
so i realize 1 bash script to use in Ubuntu Live-cd
this script is "work in progress" but already extract in 1 action
All .aml and .dsl from your PC (linux process extract more .aml than ioreg process) see codebox and SSDT_SataRe_SataPri.aml by example
your audio codec dump
make verbit, codecgraph and hex2dec translation on audio dump.
since v1.0.6 extract lspci -vvnnxxxx, lscpu, cpuinfo, i2cdetect -l
so if you have any other ideas to modify or add in, tell me what.
For appleHDA patching process it's quick and clean bases.
You can found explanation here dsdt + audio extract in tonymacx86, and download latest release (1.0.9) here => Click to view attachment
AS you can view it works already for real mac, for reverse engineering.
extract listing for MacBook 2008 with dynamic files naming from hardware detection
CODE
aml-dsl/acpi-extract-command.sh
aml-dsl/AML/APIC_APPLE_Apple00.aml
aml-dsl/AML/ASF_APPLE_Apple00.aml
aml-dsl/AML/DSDT_APPLE_MacBook.aml
aml-dsl/AML/ECDT_APPLE_Apple00.aml
aml-dsl/AML/FACP_APPLE_Apple00.aml
aml-dsl/AML/FACS__.aml
aml-dsl/AML/HPET_APPLE_Apple00.aml
aml-dsl/AML/MCFG_APPLE_Apple00.aml
aml-dsl/AML/RSDP_APPLE_.aml
aml-dsl/AML/SBST_APPLE_Apple00.aml
aml-dsl/AML/SSDT_APPLE_Cpu0Cst.aml
aml-dsl/AML/SSDT_APPLE_Cpu0Ist.aml
aml-dsl/AML/SSDT_APPLE_Cpu0Tst.aml
aml-dsl/AML/SSDT_APPLE_Cpu1Cst.aml
aml-dsl/AML/SSDT_APPLE_Cpu1Ist.aml
aml-dsl/AML/SSDT_APPLE_Cpu1Tst.aml
aml-dsl/AML/SSDT_APPLE_CpuPm.aml
aml-dsl/AML/SSDT_SataRe_SataPri.aml
aml-dsl/AML/SSDT_SataRe_SataSec.aml
aml-dsl/AML/XSDT_APPLE_Apple00.aml
aml-dsl/DSL/APIC_APPLE_Apple00.dsl
aml-dsl/DSL/ASF_APPLE_Apple00.dsl
aml-dsl/DSL/DSDT_APPLE_MacBook.dsl
aml-dsl/DSL/ECDT_APPLE_Apple00.dsl
aml-dsl/DSL/FACP_APPLE_Apple00.dsl
aml-dsl/DSL/FACS__.dsl
aml-dsl/DSL/HPET_APPLE_Apple00.dsl
aml-dsl/DSL/MCFG_APPLE_Apple00.dsl
aml-dsl/DSL/RSDP_APPLE_.dsl
aml-dsl/DSL/SBST_APPLE_Apple00.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu0Cst.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu0Ist.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu0Tst.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu1Cst.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu1Ist.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu1Tst.dsl
aml-dsl/DSL/SSDT_APPLE_CpuPm.dsl
aml-dsl/DSL/SSDT_SataRe_SataPri.dsl
aml-dsl/DSL/SSDT_SataRe_SataSec.dsl
aml-dsl/DSL/XSDT_APPLE_Apple00.dsl
aml-dsl/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-dsdt.aml
aml-dsl/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-dsdt.dsl
audio/codecgraph-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_-hex2dec.svg
audio/codecgraph-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_.svg
audio/Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_-hex2dec.txt
audio/Mac_F22788A9-codec_0-Realtek_ALC889A.txt
audio/table-node-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_.hex2dec.txt
audio/table-node-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_.txt
audio/verbit-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_-hex2dec.txt
audio/verbit-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_.txt
audio/verbitdebug.txt
Hackintosh-hardware-Mac_F22788A9.txt
i2c-and-smc/i2cdetect-l.txt
i2c-and-smc/launch-sensors-detect.sh
processor-i686-6-23-6-/cpuinfo.txt
processor-i686-6-23-6-/dmidecode-type-processor.txt
processor-i686-6-23-6-/lscpu.txt
ubuntu-sysinfo/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-dmidecode-string-var.txt
ubuntu-sysinfo/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-dmidecode.txt
ubuntu-sysinfo/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-lshw-businfo-numeric.txt
ubuntu-sysinfo/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-lshw-sanitize.txt
ubuntu-sysinfo/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-lspci-vvnnxxxx.txt
aml-dsl/AML/APIC_APPLE_Apple00.aml
aml-dsl/AML/ASF_APPLE_Apple00.aml
aml-dsl/AML/DSDT_APPLE_MacBook.aml
aml-dsl/AML/ECDT_APPLE_Apple00.aml
aml-dsl/AML/FACP_APPLE_Apple00.aml
aml-dsl/AML/FACS__.aml
aml-dsl/AML/HPET_APPLE_Apple00.aml
aml-dsl/AML/MCFG_APPLE_Apple00.aml
aml-dsl/AML/RSDP_APPLE_.aml
aml-dsl/AML/SBST_APPLE_Apple00.aml
aml-dsl/AML/SSDT_APPLE_Cpu0Cst.aml
aml-dsl/AML/SSDT_APPLE_Cpu0Ist.aml
aml-dsl/AML/SSDT_APPLE_Cpu0Tst.aml
aml-dsl/AML/SSDT_APPLE_Cpu1Cst.aml
aml-dsl/AML/SSDT_APPLE_Cpu1Ist.aml
aml-dsl/AML/SSDT_APPLE_Cpu1Tst.aml
aml-dsl/AML/SSDT_APPLE_CpuPm.aml
aml-dsl/AML/SSDT_SataRe_SataPri.aml
aml-dsl/AML/SSDT_SataRe_SataSec.aml
aml-dsl/AML/XSDT_APPLE_Apple00.aml
aml-dsl/DSL/APIC_APPLE_Apple00.dsl
aml-dsl/DSL/ASF_APPLE_Apple00.dsl
aml-dsl/DSL/DSDT_APPLE_MacBook.dsl
aml-dsl/DSL/ECDT_APPLE_Apple00.dsl
aml-dsl/DSL/FACP_APPLE_Apple00.dsl
aml-dsl/DSL/FACS__.dsl
aml-dsl/DSL/HPET_APPLE_Apple00.dsl
aml-dsl/DSL/MCFG_APPLE_Apple00.dsl
aml-dsl/DSL/RSDP_APPLE_.dsl
aml-dsl/DSL/SBST_APPLE_Apple00.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu0Cst.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu0Ist.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu0Tst.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu1Cst.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu1Ist.dsl
aml-dsl/DSL/SSDT_APPLE_Cpu1Tst.dsl
aml-dsl/DSL/SSDT_APPLE_CpuPm.dsl
aml-dsl/DSL/SSDT_SataRe_SataPri.dsl
aml-dsl/DSL/SSDT_SataRe_SataSec.dsl
aml-dsl/DSL/XSDT_APPLE_Apple00.dsl
aml-dsl/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-dsdt.aml
aml-dsl/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-dsdt.dsl
audio/codecgraph-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_-hex2dec.svg
audio/codecgraph-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_.svg
audio/Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_-hex2dec.txt
audio/Mac_F22788A9-codec_0-Realtek_ALC889A.txt
audio/table-node-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_.hex2dec.txt
audio/table-node-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_.txt
audio/verbit-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_-hex2dec.txt
audio/verbit-Mac_F22788A9-codec_0-Realtek_ALC889A-8086_284B_.txt
audio/verbitdebug.txt
Hackintosh-hardware-Mac_F22788A9.txt
i2c-and-smc/i2cdetect-l.txt
i2c-and-smc/launch-sensors-detect.sh
processor-i686-6-23-6-/cpuinfo.txt
processor-i686-6-23-6-/dmidecode-type-processor.txt
processor-i686-6-23-6-/lscpu.txt
ubuntu-sysinfo/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-dmidecode-string-var.txt
ubuntu-sysinfo/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-dmidecode.txt
ubuntu-sysinfo/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-lshw-businfo-numeric.txt
ubuntu-sysinfo/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-lshw-sanitize.txt
ubuntu-sysinfo/Mac_F22788A9-_MB41_88Z_00C1_B00_0802091535-lspci-vvnnxxxx.txt