PDA

View Full Version : [SOLVED!]DSDT Compiling...


SaCleoCheater
08-21-2009, 09:42 PM
Hey All,

I'm having a bit of a problem.. Compiling DSL files just gives me a Bus error using Terminal, since every DSDT app is mainly based on iasl, I'm pretty much stuffed.

Has anyone been able to compile DSDTs properly after upgrading to 10.5.8?

Does anyone have a solution to this? Both my 10.5.7 and 10.5.8 hackintoshes seem to do this :-/

_-*-_-*-_-*-_-*-_-*-_-*-_-*-_-*-_-*-_-*-_-*-_-*-_-*-_-*-_-*-_-*-_-*-_
EDIT! - Solved!
_-*-_-*-_-*-_-*-_-*-•

If your DSDT compiling produces errors similar to this (http://pastebin.ca/1540346), simply browse to Line 24 in your DSDT.dsl and replace (^CPU0._PPC) with (\_PR_.CPU0._PPC) and it should compile without error! Yay!

ALL credit to staticanime (post below (http://www.infinitemac.com/f84/solved-dsdt-compiling-t3722/post31925.html)) for bestowing this fix among us!

aryajuanda
08-22-2009, 02:36 PM
i can compille and decompile fine with iASLme.app

SaCleoCheater
08-23-2009, 01:58 AM
hmm... For some reason iASL, or the iASLme.app (which generally is the same) will not compile without producing errors.

ariadri
08-23-2009, 02:41 AM
Hey All,

I'm having a bit of a problem.. Compiling DSL files just gives me a Bus error using Terminal, since every DSDT app is mainly based on iasl, I'm pretty much stuffed.

Has anyone been able to compile DSDTs properly after upgrading to 10.5.8?

Does anyone have a solution to this? Both my 10.5.7 and 10.5.8 hackintoshes seem to do this :-/

Cheers,
~ Cleo :)
just get pcefi ver 9 installer. it has GUI dsdt patcher, make sure you select new hpet and make sure you force compile. good luck

ariadri
08-23-2009, 02:48 AM
Hey All,

I'm having a bit of a problem.. Compiling DSL files just gives me a Bus error using Terminal, since every DSDT app is mainly based on iasl, I'm pretty much stuffed.

Has anyone been able to compile DSDTs properly after upgrading to 10.5.8?

Does anyone have a solution to this? Both my 10.5.7 and 10.5.8 hackintoshes seem to do this :-/

Cheers,
~ Cleo :)
just get pcefi ver 9 installer. it has GUI dsdt patcher, make sure you select new hpet and make sure you force compile. good luck

SaCleoCheater
08-23-2009, 02:50 PM
Yes, but then I need to edit the DSDT, which involves decompiling the DSDT, editing it then recompiling it and I cannot recompile it without errors.

Strange eh?

Cheers,
~ Cleo :)

staticanime
08-23-2009, 02:51 PM
Yes, but then I need to edit the DSDT, which involves decompiling the DSDT, editing it then recompiling it and I cannot recompile it without errors.

Strange eh?

Cheers,
~ Cleo :)
What errors are you getting, can you post them?

SaCleoCheater
08-23-2009, 04:04 PM
http://pastebin.ca/1540346

Hmm.. Quite a few errors....

staticanime
08-23-2009, 04:10 PM
http://pastebin.ca/1540346

Hmm.. Quite a few errors....
Can you dump a DSDT stright from the BIOS (IE, without any changes, and send me whatever chages you want/links to the code snippets), usually problems like that are from different character encoding sets (like combining UFT-8 and ISO-8859), that caused me headaches a few times. Not really a solution, but I found iasl.exe for Windows ignores the encoding, and still compiles the DSDT correctly (yes, it will still work on OSX)

I'm in Windows atm, so if you want me to try that for you, just send me the DSDt and the code you need fixed :P

EDIT: Scratch all that, here's quote from the Ubuntu forums of someone with similar errors:
Line 24 had the wrong syntax. That was causing the whole file to show errors. The Microsoft compiler loves to do this. The original line was (^CPU0._PPC). The "^" symbol doesn't belong here. I changed it to the ACPI compliant (\_PR_.CPU0._PPC) method, and you have zero errors/warnings. It was actually a good dsdt with some monkey buisness at the begining.
So, make that change, the file shold compile perfectly

SaCleoCheater
08-23-2009, 09:16 PM
Thank you very much, staticanime.

It compiled without errors once that fix were applied.

Greatly appreciated :D

Thanks again!
~ Cleo :D

staticanime
08-23-2009, 09:19 PM
Thank you very much, staticanime.

It compiled without errors once that fix were applied.

Greatly appreciated :D

Thanks again!
~ Cleo :D
Ha ha, no prb. been messing with DSDT for the last while, got native speedstep, sleep on lid close, vga string injection, audio/lan/wifi info injection to System Profiler & HPET fix on my Msi Wind U100 DSDT, that coupled with patched GMA950kexts, voodoohda/battery/ps2controller, r1000.kext, fakesmc.kext and UUID.kext, all in EFI, means perfect Leopard on my Wind :P

Working with other on trying to do away with R1000/UUID.kext, would be awesome if we can (would mean I'll be down to 6 kexts in EFI)

SaCleoCheater
09-02-2009, 10:53 PM
NOTE: Make sure you are using the latest version of iasl

genex
11-18-2009, 01:35 AM
http://www.infinitemac.com/f57/sony-vaio-vgn-fz240e-dsdt-t4739/#post39492