Help - Search - Members - Calendar
Full Version: DSDT Patcher
InsanelyMac Forum > OSx86 Project > Tutorials (The Genius Bar)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
ac3bcn
Hi, when compiling I've got this warning.
Sombody knows how to fix it ??
CODE
dsdt_fixed 222: Method (\_WAK, 1, NotSerialized)
Warning 1080 - ^ Reserved method must return a value (_WAK)
This is is the code
CODE
Method (\_WAK, 1, NotSerialized)
{
Store (0xFF, DBG1)
If (LEqual (Arg0, 0x03))
{
Store (0x8F, SCP)
}

If (LEqual (Arg0, 0x04))
{
If (LEqual (OSFL, 0x00))
{
If (LEqual (OSFX, 0x03))
{
Store (0x59, SMIP)
}
Else
{
Store (0x58, SMIP)
}
}

If (LEqual (OSFL, 0x01))
{
Store (0x56, SMIP)
}

If (LEqual (OSFL, 0x02))
{
Store (0x57, SMIP)
}

If (LEqual (OSFX, 0x03))
{
Store (0x59, SMIP)
}
}

If (LEqual (Arg0, 0x01)) {}
If (OSFL)
{
Notify (\_SB.PWRB, 0x02)
}
Else
{
If (LEqual (RTCW, 0x00))
{
Notify (\_SB.PWRB, 0x02)
}
}

Notify (\_SB.PCI0.USB0, 0x00)
Notify (\_SB.PCI0.USB1, 0x00)
Notify (\_SB.PCI0.USB2, 0x00)
Notify (\_SB.PCI0.USB3, 0x00)
Notify (\_SB.PCI0.USB4, 0x00)
Notify (\_SB.PCI0.USB5, 0x00)
}

Scope (\_SI)
{


Thanks
THe KiNG
QUOTE (ac3bcn @ Nov 28 2008, 07:24 PM) *
Hi, when compiling I've got this warning.
Sombody knows how to fix it ??
CODE
dsdt_fixed 222: Method (\_WAK, 1, NotSerialized)
Warning 1080 - ^ Reserved method must return a value (_WAK)
This is is the code
CODE
Method (\_WAK, 1, NotSerialized)
{
Store (0xFF, DBG1)
If (LEqual (Arg0, 0x03))
{
Store (0x8F, SCP)
}

If (LEqual (Arg0, 0x04))
{
If (LEqual (OSFL, 0x00))
{
If (LEqual (OSFX, 0x03))
{
Store (0x59, SMIP)
}
Else
{
Store (0x58, SMIP)
}
}

If (LEqual (OSFL, 0x01))
{
Store (0x56, SMIP)
}

If (LEqual (OSFL, 0x02))
{
Store (0x57, SMIP)
}

If (LEqual (OSFX, 0x03))
{
Store (0x59, SMIP)
}
}

If (LEqual (Arg0, 0x01)) {}
If (OSFL)
{
Notify (\_SB.PWRB, 0x02)
}
Else
{
If (LEqual (RTCW, 0x00))
{
Notify (\_SB.PWRB, 0x02)
}
}

Notify (\_SB.PCI0.USB0, 0x00)
Notify (\_SB.PCI0.USB1, 0x00)
Notify (\_SB.PCI0.USB2, 0x00)
Notify (\_SB.PCI0.USB3, 0x00)
Notify (\_SB.PCI0.USB4, 0x00)
Notify (\_SB.PCI0.USB5, 0x00)
Return (Package (0x02)
{
Zero,
Zero
})
}

Scope (\_SI)
{


Thanks

Add that ^^^ return on it, see if works.
roisoft
use this code

CODE
        Notify (\_SB.PCI0.USB0, Zero)
        Notify (\_SB.PCI0.USB1, Zero)
        Notify (\_SB.PCI0.USB2, Zero)
        Notify (\_SB.PCI0.USB3, Zero)
        Notify (\_SB.PCI0.USB4, Zero)
        Notify (\_SB.PCI0.USB5, Zero)
        Return (Package (0x02)
        {
            Zero,
            Zero
        })
    }


Return .....

no errors with it.
pmcnano
Im getting this errors when trying to make the dst.aml file...

QUOTE
/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 203: OSTP ()
Error 4063 - Object does not exist ^ (OSTP)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 236: Store (0x59, SMIP)
Error 4063 - Object does not exist ^ (SMIP)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 240: Store (0x58, SMIP)
Error 4063 - Object does not exist ^ (SMIP)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 246: Store (0x56, SMIP)
Error 4063 - Object does not exist ^ (SMIP)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 251: Store (0x57, SMIP)
Error 4063 - Object does not exist ^ (SMIP)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 256: Store (0x59, SMIP)
Error 4063 - Object does not exist ^ (SMIP)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 263: Notify (\_SB.PWRB, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PWRB)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 269: Notify (\_SB.PWRB, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PWRB)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 273: Notify (\_SB.PCI0.USB0, Zero)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB0)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 274: Notify (\_SB.PCI0.USB1, Zero)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB1)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 275: Notify (\_SB.PCI0.USB2, Zero)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB2)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 276: Notify (\_SB.PCI0.USB3, Zero)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB3)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 277: Notify (\_SB.PCI0.USB4, Zero)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB4)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 278: Notify (\_SB.PCI0.USB5, Zero)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB5)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 303: Notify (\_SB.PCI0.PX40.UAR1, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.PX40.UAR1)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 308: Notify (\_SB.PCI0.USB0, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB0)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 309: Notify (\_SB.PWRB, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PWRB)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 314: Notify (\_SB.PCI0.USB1, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB1)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 315: Notify (\_SB.PWRB, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PWRB)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 320: Notify (\_SB.PCI0.USB2, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB2)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 321: Notify (\_SB.PWRB, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PWRB)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 326: Notify (\_SB.PCI0.USB3, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB3)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 327: Notify (\_SB.PWRB, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PWRB)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 328: Notify (\_SB.PCI0.US31, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.US31)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 329: Notify (\_SB.PWRB, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PWRB)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 334: Notify (\_SB.PCI0.USB4, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB4)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 335: Notify (\_SB.PWRB, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PWRB)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 340: Notify (\_SB.PCI0.USB5, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USB5)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 341: Notify (\_SB.PWRB, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PWRB)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 346: Notify (\_SB.PCI0.USBE, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USBE)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 347: Notify (\_SB.PCI0.USE2, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.USE2)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 348: Notify (\_SB.PWRB, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PWRB)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 349: Notify (\_SB.PCI0.HDEF, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.HDEF)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 380: Notify (\_SB.PCI0.HUB0, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.HUB0)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 385: Notify (\_SB.PCI0.PEX0, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX0)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 386: Notify (\_SB.PCI0.PEX1, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX1)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 387: Notify (\_SB.PCI0.PEX2, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX2)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 388: Notify (\_SB.PCI0.PEX3, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX3)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 389: Notify (\_SB.PCI0.PEX4, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX4)

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 390: Notify (\_SB.PCI0.PEX5, 0x02)
Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX5)
kramer2k
Hey Cpram, still no go on 5.1 or output on any other channel than the rear green...using your AppleHDA with my pinconfig and your dsdt...
any other suggestions?
ludacrisvp
QUOTE (pere @ Nov 27 2008, 07:14 AM) *
Install appleintelcpupowermangement.kext
If the system loads, then is working.

Thanks, I installed the kext straight from the Mac Pro and it loads successfully.

QUOTE (mrroboto @ Nov 27 2008, 04:27 PM) *
just change all ^CPU0._PPC into \_PR_.CPU0._PPC and it will compile fine without clearing unknown code. i copied that from another file found on the web.

That worked perfectly, I think there were 7 ^CPU0._PPC that I replaced to what you suggested with a remake of my DSDT because I found a BIOS update that improved Vista sleep/wake results.
Thanks!

Now I wonder if I could further modify this to effectively "hide" one of the SLI graphics cards on my laptop so that I can get QE/CI Resolution support from one of the cards. I have also heard that this might help in getting sound to work if that is true I would really like that.... now to find out how to do that... stupid ALC268...
FavleX
Hi ,
just installed the new boot file for having the deep sleep.No dsdt inserted
Results the deepsleep is working well , unfortunately my keyboard and wireless mouse doesn't wake up.
Any idea ? Do you think I must insert dsdt for having it solved ?

p.s I'm testing on my DS4 MB as signature shows.
cparm
QUOTE (kramer2k @ Nov 29 2008, 03:29 AM) *
Hey Cpram, still no go on 5.1 or output on any other channel than the rear green...using your AppleHDA with my pinconfig and your dsdt...
any other suggestions?


which pinconfig do you use ?
FavleX
ok
thanks to roisoft I got replaced my AppleHDA.kext thumbsup_anim.gif


Everything is working even it's been noticed that CoreaudioDaemon is not responding , I killed it, but after few secs it's the same.


mad.gif

Any idea?
Note I'm using my dsdt not the one supplied from roisoft (choosed xp option..).The prob about no usb after deepsleep remain...
pmcnano
Ok so i found the error in my code, im getting now just 1 error:

CODE
/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed copia.txt   520:                     DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error    4095 -                                        syntax error, unexpected PARSEOP_NAMESEG ^


Any clues?

Thanks
kramer2k
@Cpram
Here's my pinconfig, which should be the same as yours...

Also under sys profiler, it only shows one line out (back green?), 2 microphones (Front and back pink?), 1 headphone (front green? that doesn't work, and i know you don't have it enabled in your HDA.kext).

But under sound in preferences, it shows 3 Line Outs, but only one gives me actual output, which is the rear green...
cparm
QUOTE (kramer2k @ Nov 29 2008, 07:50 PM) *
@Cpram
Here's my pinconfig, which should be the same as yours...

Also under sys profiler, it only shows one line out (back green?), 2 microphones (Front and back pink?), 1 headphone (front green? that doesn't work, and i know you don't have it enabled in your HDA.kext).

But under sound in preferences, it shows 3 Line Outs, but only one gives me actual output, which is the rear green...


your codec verb is not moded, it's just your original codec verb dry.gif

here is my original codec verb (the same that you use ):

CODE
21471c10 21471d44 21471e01 21471f01 21571c12 21571d14 21571e01 21571f01 21671c11 21671d64 21671e01 21671f01 21771c14 21771d24 21771e01 21771f01 21871c40 21871d9c 21871ea1 21871f01 21971c50 21971d9c 21971ea1 21971f02 21a71c4f 21a71d34 21a71e81 21a71f01 21b71c20 21b71d4c 21b71e21 21b71f02 21c71cf0 21c71d01 21c71e33 21c71f59 21d71cf0 21d71d11 21d71e11 21d71f41 21e71c30 21e71d61 21e71e4b 21e71f01 21f71c60 21f71d71 21f71ecb 21f71f01


with this one i have got only 2.0, mic and lin-in


and here is my modified codec verb:

CODE
21471C10 21471D40 21471E01 21471F01 21571C20 21571D10 21571E11 21571F01 21671C30 21671D60 21671E21 21671F01 21A71C40 21A71D30 21A71E81 21A71F01 21871C50 21871D90 21871EA1 21871F01 21E71C60 21E71D61 21E71E4B 21E71F01 21F71CF0 21F71D01 21F71ECB 21F71F00


with this one i have got full anolg/digital 5.1, mic, and line-in

please install my kext without any modification, cause we have exactly the same sound card and our codec dump are exactly the same, so my kext should work for you wink.gif
kramer2k
So I think I figured out somethings today...

I can get rear audio, Headphones, and one of the Line Out of the back all to work fine, or I can get all 3 rear outputs working (green, black, orange) but not gray.

Seems like the limiting factor here is the number of outputs = 3. And autodetection of the HP jack simply does not work. When I try to enable it, then I only get sound out of the HP, no rear green.

And I did find some errors in my pin config, I'll compare to yours.
Thanks!


And BTW---any reason you've got black ID'd as a HP?
mitch_de
Someone with 889A Pinconfig (GA-EP35-DS3 (noP/R) ) ?
kramer2k
Hey Cpram,
Do you have deep sleep working on your DS3L? The one that Netkas just enabled via V9?

I get sleepimage garbage, and was wondering if you had the same issue.
cparm
QUOTE (kramer2k @ Nov 29 2008, 10:30 PM) *
And BTW---any reason you've got black ID'd as a HP?


no, this can be easily changed


QUOTE (kramer2k @ Nov 29 2008, 11:09 PM) *
Hey Cpram,
Do you have deep sleep working on your DS3L? The one that Netkas just enabled via V9?

I get sleepimage garbage, and was wondering if you had the same issue.


no, when i choose another sleep mode, the system go to sleep (fan are stoped, etc ...) and the sleep image is created, but at the boot time the bootloader send me "sleepimage has grabage - hibernate failed", so i think deep sleep don't work

anyway i really don't care about deepsleep, because it's only needed on laptop

ps: i heard that deleting AppleEFIRuntime.kext may solve this problem, but i really don't care and i don't want to delete it wink.gif
inc188
thanks
ac3bcn
QUOTE (mitch_de @ Nov 27 2008, 02:00 PM) *
Hi, ac3bcn, i dont know if i looked in your dsdt.txt also, but someone announces a
HDEF dsdt part for GA-EP35-DS3P which has 885 Device in ?! and some other things different to the roisoft uploaded one!!! (I made an complete GA-EP35, BIOS F3, 889A package with chameleon dsdt in my last post).
[size=1]Device (HDEF)
{
..... same
.....
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x08)
{
"codec-id",
Buffer (0x04)
{
0x85, 0x08, 0xec, 0x10
},

"layout-id",
Buffer (0x04)
{

0x0C, 0x00, 0x00, 0x00
},

"device-type",
Buffer (0x011)
{
"ALC885"
},

"PinConfigurations",
Buffer (0x28)
{
/* 0000 */ 0x10, 0x40, 0x01, 0x01, 0x64, 0x10, 0x01, 0x01,
/* 0008 */ 0x71, 0x60, 0x01, 0x01, 0x82, 0x20, 0x01, 0x01,
/* 0010 */ 0x30, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02,
/* 0018 */ 0x40, 0x30, 0x81, 0x01, 0x50, 0x40, 0x21, 0x02,
/* 0020 */ 0xF0, 0x71, 0x44, 0x01, 0x90, 0x71, 0x45, 0x11

Hi Mitch_de, that seems to be the PinConfigurations that I modified in DSDT to get all Outputs and Inputs showns at System Profiler.
Just Shown is Sytem Profiler, at the moment I Only have working this
Line In : 26 35 8
Mic In : 24 34 9
Mic In : 25 36 7
Line Out : 20 12 2
HP Out :37 38 37
SPDIF Out : 30 6 (Not Tested)

NOT Working:
Line Out (surround) : 21 13 3
Line Out (central/LFE) : 22 14 4
Line Out (Sides 7.1) : 23 15 5

I used "Codec ID 10ec0885" , but I've ALC889A in my EP35DS3P, because in that way I don't need to patch AppleHDA Binary.885 (10ec0885) is already supported in Stock(Vanilla) AppleHDA. You can tell the system via DSDT you have an 885,so don't need to pacth AppleHDA binary or you can patch your AppleHDA Binary and change 8508ec10 to 8908ec10 and put your 889 at DSDT table.
I think it's all the same, but maybe I wrong.
mitch_de
I used "Codec ID 10ec0885" , but I've (added: like mitch_de) ALC889A in my EP35DS3P, because in that way I don't need to patch AppleHDA Binary.885 (10ec0885) is already supported in Stock(Vanilla) AppleHDA. You can tell the system via DSDT you have an 885,so don't need to pacth AppleHDA binary or you can patch your AppleHDA Binary and change 8508ec10 to 8908ec10 and put your 889 at DSDT table.
I think it's all the same, but maybe I wrong.


Thanks for that information, was new for me!
Also an solution to inject by dsdt other ALC88x codec device, whichs already in orig. Apple HDA, to not have edit the 2 plists in the AppleHDA.kext for including ALC889A plist things.
But are you sure that its only an thing of pinconfig difference between 885(your inject) and 889A (real HW) , not also that that 885 inject usese some different way of code in the drivers ?
But if it works - doesnt matter smile.gif
Good to know each way to get same result !
dolphin2k
nevermind wink.gif
david_osx
Thanks A loot's Guys u are really the duds... This worked out right out of the programing hehe.. on my asus mob p45 boxing.gif

Thank God there is no need to mode the bios file noo more now every time a new bios update comes out... biggrin.gif


Appreciating all hard work u made together.. smile.gif

Love u all.. mates.. thumbsup_anim.gif
tr4c3r2k6
does anyone tried dsdt on an intel dg33buc?
Signal64
Hi fassl - think I found a couple of bugs for the dsdt patcher on my dsdt.
The system won't load osx with the patches in.

The CPU Fix is needed, but doesn't look like it turns out like it should:
CPU Before
CODE
Scope (_PR)
             {
                 Processor (P001, 0x01, 0x00004010, 0x06) {}
                 Alias (P001, CPU1)
                 Processor (P002, 0x02, 0x00000000, 0x00) {}
                 Alias (P002, CPU2)
                 Processor (P003, 0x03, 0x00000000, 0x00) {}
                 Alias (P003, CPU3)
                 Processor (P004, 0x04, 0x00000000, 0x00) {}
                 Alias (P004, CPU4)
             }
CPU After
CODE
    Scope (_PR)
             {
                 Processor (P001, 0x01, 0x00004010, 0x06) {}
                 Processor (P002, 0x02, 0x00000000, 0x00) {}
                 Alias (P002, CPU2)
                 Processor (P003, 0x03, 0x00000000, 0x00) {}
                 Processor (P004, 0x04, 0x00000000, 0x00) {}
                 Alias (P004, CPU4)
             }
I changed this to
CODE
   Scope (_PR)
             {
                 Processor (_PR.CPU1, 0x01, 0x00004010, 0x06) {}
                 Processor (_PR.CPU2, 0x02, 0x00000000, 0x00) {}
                 Processor (_PR.CPU3, 0x03, 0x00000000, 0x00) {}
                 Processor (_PR.CPU4, 0x04, 0x00000000, 0x00) {}
             }

For HPET it looks like the IRQNoFlags is already there under CRS1, but if it is needed under CRS0 then the Memory32Fixed section should be as well?

HPET Before
CODE
                Device (HPET)
                {
                    Name (_HID, EisaId ("PNP0103"))
                    Name (_UID, Zero)
                    Name (CRS0, ResourceTemplate ()
                    {
                    })
                    Name (CRS1, ResourceTemplate ()
                    {
                        Memory32Fixed (ReadWrite,
                            0x00000000,         // Address Base
                            0x00000000,         // Address Length
                            _Y0B)
                        IRQNoFlags (_Y0C)
                            {0}
                        IRQNoFlags ()
                            {8}
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        If (LEqual (OSFL (), Zero))
                        {
                            If (LEqual (NVID, 0x10DE))
                            {
                                Return (0x0F)
                            }
                            Else
                            {
                                Return (Zero)
                            }
                        }
                        Else
                        {
                            Return (Zero)
                        }
                    }

                    Method (_CRS, 0, NotSerialized)
                    {
                        CreateDWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0B._BAS, HPX1)
                        CreateDWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0B._LEN, HPX2)
                        CreateWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0C._INT, TIRQ)
                        If (LEqual (NVID, 0x10DE))
                        {
                            Store (Zero, Local0)
                            If (P2IR)
                            {
                                Store (0x02, Local0)
                            }

                            ShiftLeft (One, Local0, TIRQ)
                            Store (SHPB, HPX1)
                            Store (SHPL, HPX2)
                            Return (CRS1)
                        }
                        Else
                        {
                            Return (CRS0)
                        }
                    }

                    OperationRegion (CF29, PCI_Config, 0x74, One)
                    Field (CF29, ByteAcc, NoLock, Preserve)
                    {
                            ,   1,
                            ,   1,
                        P2IR,   1
                    }

                    OperationRegion (HPTE, SystemMemory, SHPB, 0x04)
                    Field (HPTE, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0x02),
                        NVID,   16
                    }
                }

HPET After
CODE
                Device (HPET)
                {
                    Name (_HID, EisaId ("PNP0103"))
                    Name (_UID, Zero)
                    Name (CRS0, ResourceTemplate ()
                    {
                        IRQNoFlags ()
                            {0}
                        IRQNoFlags ()
                            {8}
                    })
                    Name (CRS1, ResourceTemplate ()
                    {
                        Memory32Fixed (ReadWrite,
                            0x00000000,         // Address Base
                            0x00000000,         // Address Length
                            _Y0B)
                        IRQNoFlags (_Y0C)
                            {0}
                        IRQNoFlags ()
                            {8}
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        If (LEqual (OSFL (), Zero))
                        {
                            If (LEqual (NVID, 0x10DE))
                            {
                                Return (0x0F)
                            }
                            Else
                            {
                                Return (Zero)
                            }
                        }
                        Else
                        {
                            Return (Zero)
                        }
                    }

                    Method (_CRS, 0, NotSerialized)
                    {
                        CreateDWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0B._BAS, HPX1)
                        CreateDWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0B._LEN, HPX2)
                        CreateWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0C._INT, TIRQ)
                        If (LEqual (NVID, 0x10DE))
                        {
                            Store (Zero, Local0)
                            If (P2IR)
                            {
                                Store (0x02, Local0)
                            }

                            ShiftLeft (One, Local0, TIRQ)
                            Store (SHPB, HPX1)
                            Store (SHPL, HPX2)
                            Return (CRS1)
                        }
                        Else
                        {
                            Return (CRS0)
                        }
                    }

                    OperationRegion (CF29, PCI_Config, 0x74, One)
                    Field (CF29, ByteAcc, NoLock, Preserve)
                    {
                            ,   1,
                            ,   1,
                        P2IR,   1
                    }

                    OperationRegion (HPTE, SystemMemory, SHPB, 0x04)
                    Field (HPTE, ByteAcc, NoLock, Preserve)
                    {
                                Offset (0x02),
                        NVID,   16
                    }
                }

RTC is probably ok, just inexperienced to know for sure.

I'm including the original dat, dsl, and resulting dsdt_fixed.txt

You can catch me on irc in natit.
DiaboliK and I are looking for advice and help on this one. Thanks.
mitch_de
QUOTE (cparm @ Nov 29 2008, 08:48 PM) *
your codec verb is not moded, it's just your original codec verb dry.gif
here is my original codec verb (the same that you use ):
CODE
21471c10 21471d44 21471e01 21471f01 21571c12 21571d14 21571e01 21571f01 21671c11 21671d64 21671e01 21671f01 21771c14 21771d24 21771e01 21771f01 21871c40 21871d9c 21871ea1 21871f01 21971c50 21971d9c 21971ea1 21971f02 21a71c4f 21a71d34 21a71e81 21a71f01 21b71c20 21b71d4c 21b71e21 21b71f02 21c71cf0 21c71d01 21c71e33 21c71f59 21d71cf0 21d71d11 21d71e11 21d71f41 21e71c30 21e71d61 21e71e4b 21e71f01 21f71c60 21f71d71 21f71ecb 21f71f01

with this one i have got only 2.0, mic and lin-in
and here is my modified codec verb:
CODE
21471C10 21471D40 21471E01 21471F01 21571C20 21571D10 21571E11 21571F01 21671C30 21671D60 21671E21 21671F01 21A71C40 21A71D30 21A71E81 21A71F01 21871C50 21871D90 21871EA1 21871F01 21E71C60 21E71D61 21E71E4B 21E71F01 21F71CF0 21F71D01 21F71ECB 21F71F00

with this one i have got full anolg/digital 5.1, mic, and line-in
please install my kext without any modification, cause we have exactly the same sound card and our codec dump are exactly the same, so my kext should work for you wink.gif



Hi, which HDA Codec do you have ?
I have an 889A (EP35-DS3) , do you have same or other (888,88?) ?
Thanks

Also i found an very interesting info/way how to get own PinConfigs (for using in orig. AppleHDA .plists).
http://forum.insanelymac.com/index.php?sho...mp;#entry982616
Anyone also with an 889A PinConfig (ready byteswitched) ?
3D mn
All working good booted with 10.5.6 AppleRTC.kext and no panic biggrin.gif
Thanks a lot fassl.
cparm
QUOTE (mitch_de @ Dec 1 2008, 09:21 PM) *
Hi, which HDA Codec do you have ?
I have an 889A (EP35-DS3) , do you have same or other (888,88?) ?
Thanks

Also i found an very interesting info/way how to get own PinConfigs (for using in orig. AppleHDA .plists).
http://forum.insanelymac.com/index.php?sho...mp;#entry982616
Anyone also with an 889A PinConfig (ready byteswitched) ?

ALC 888 adress 2 wink.gif

just follow the guide from MadTux and THe KiNG, they explain all that you need and how to patch applehda
_Stoddie
Success With P5w DH Deluxe i can now boot Applecpm.kext without panics and my system is running cool..

This would not work with my Pentium D i kept getting kernel panics with it so i upgraded my cpu to Core 2 Quad and its running wonders.


BIG thanks
Panshie
Is there a way to modify the DSDT to have TV Out on de videocard? Mine is a 8800GTS 320MB working with strings.

I saw that DSDT can be used to inyect the information about the card, but the result will be the same that with a string?
Maybe it is a problem of the driver and TV Out is not supported in Leopard, at least for the 8800.
Wiwi
QUOTE
Is there a way to modify the DSDT to have TV Out on de videocard? Mine is a 8800GTS 320MB working with strings.

I saw that DSDT can be used to inyect the information about the card, but the result will be the same that with a string?
Maybe it is a problem of the driver and TV Out is not supported in Leopard, at least for the 8800.


+1 If there is a way to inject gfx strings via DSDT, it could be very good...
shatterhenner
hey guys...got some problems over here!!

seems the patcher handles prescot pentium 4 (3ghz) with hpet not correctly...(acpi_v1.0)
i can put out an dsdt.aml, istalled it in usual places and dsdt gets loaded correctly
but dont get apple.hpet running and thrashing disabler results in kernel panic...

patcher doesnt find any rtc device and even no hpet device
strange to me any suggestions fellas????

i test the latest patcher on a northwood pentium 4 (2.8ghz) with hpet and its workin flawlessy...

can anybody help me out in here?!?

thanx in advance
timmyj
CODE
Copyright © 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

./dsdt_fixed.txt 4238: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4296: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4354: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4412: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4470: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4528: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4586: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4644: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 5035: Or (WMI1, Arg0)
Warning 1105 - ^ Result is not used, operator has no effect

ASL Input: ./dsdt_fixed.txt - 5296 lines, 168192 bytes, 1696 keywords
AML Output: ././dsdt.aml - 17962 bytes, 643 named objects, 1053 executable opcodes

Compilation complete. 0 Errors, 9 Warnings, 0 Remarks, 3 Optimizations



anything I can do about these errors on an XPS M1530? Is it anything bad?
Chaplan
I got "Compilation complete. 201 Errors, 0 Warnings, 0 Remarks, 5 Optimizations"

No aml file, this is my debug, help please
eugen184
I have a problem when patching the dsdt it says 65 optimizations 0 errors 0 warnings but only only 2 of my 4 cores work and when i watched again i found this:

Fixing various Issues...

Found an issue
Found Alias (P001, CPU1)
Skipped Alias (P001, CPU1)

Found an issue
Found Alias (P003, CPU3)
Skipped Alias (P003, CPU3)


I think is skiping 2 of my cores when patching but i don't know whi?
Please help me!

Here is my debug file
BladeRunner
QUOTE (eugen184 @ Dec 4 2008, 02:38 PM) *
I have a problem when patching the dsdt it says 65 optimizations 0 errors 0 warnings but only only 2 of my 4 cores work and when i watched again i found this:

Fixing various Issues...

Found an issue
Found Alias (P001, CPU1)
Skipped Alias (P001, CPU1)

Found an issue
Found Alias (P003, CPU3)
Skipped Alias (P003, CPU3)
I think is skiping 2 of my cores when patching but i don't know whi?
Please help me!

Here is my debug file


In an earlier post there were comments about Aliases being a problem. Apparently Apple doesn't use Aliases and they should be removed. The comments told how to change the alias line.
mackerintel
QUOTE (timmyj @ Dec 4 2008, 02:22 AM) *
CODE
Copyright © 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

./dsdt_fixed.txt 4238: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4296: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4354: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4412: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4470: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4528: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4586: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 4644: And (Local0, 0x0F)
Warning 1105 - Result is not used, operator has no effect ^

./dsdt_fixed.txt 5035: Or (WMI1, Arg0)
Warning 1105 - ^ Result is not used, operator has no effect

ASL Input: ./dsdt_fixed.txt - 5296 lines, 168192 bytes, 1696 keywords
AML Output: ././dsdt.aml - 17962 bytes, 643 named objects, 1053 executable opcodes

Compilation complete. 0 Errors, 9 Warnings, 0 Remarks, 3 Optimizations



anything I can do about these errors on an XPS M1530? Is it anything bad?

Probably not a problem. But you can replace And (Local0, 0x0F)->And (Local0, 0x0F,Local0) and Or (WMI1, Arg0)->Or (WMI1, Arg0,WMI1)


QUOTE (eugen184 @ Dec 4 2008, 08:38 PM) *
I have a problem when patching the dsdt it says 65 optimizations 0 errors 0 warnings but only only 2 of my 4 cores work and when i watched again i found this:

Fixing various Issues...

Found an issue
Found Alias (P001, CPU1)
Skipped Alias (P001, CPU1)

Found an issue
Found Alias (P003, CPU3)
Skipped Alias (P003, CPU3)


I think is skiping 2 of my cores when patching but i don't know whi?
Please help me!

Here is my debug file

No all aliases are removed in your case. It's a bug in patcher
dodusman
Hi

On my intel board dx38bt every think seems good, no error just 1 warning but nothing work.
I used pcefi 9.
Can i have help ?
Thank's and sorry for my english
skippyretard
Does anyone know how to fix this?

CODE
./dsdt_fixed.txt  2563:                         Method (STM, 0, Serialized)
Warning  1087 -      Not all control paths return a value ^  (STM_)
zdeso
Guys, please help to understand, I have for dsdt_fixed.txt these error when I try to Patch DSDT file so I cant make aml file: ideneb osx 10.5.5;

I have HP Notebook 8710p

CODE
ACPI Error (dmutils-0261): Argument count mismatch for method \_TZ_.C381 1 0 [20080926]
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20080926
*
* Disassembly of ./dsdt.dat, Sat Dec  6 12:51:35 2008
*
*
* Original Table Header:
*     Signature        "DSDT"
*     Length           0x0001455C (83292)
*     Revision         0x01 **** ACPI 1.0, no 64-bit math support
*     Checksum         0x47
*     OEM ID           "HP    "
*     OEM Table ID     "nc65xx"
*     OEM Revision     0x00010000 (65536)
*     Compiler ID      "MSFT"
*     Compiler Version 0x03000001 (50331649)
*/
DefinitionBlock ("./dsdt.aml", "DSDT", 1, "HP    ", "nc65xx", 0x00010000)
{
    External (C381, MethodObj)    // 0 Arguments
    External (TZ1_)
    External (\_TZ_.C381, MethodObj)    // 1 Arguments
    External (\_TZ_.C380)
    External (\_TZ_.TZ1_)
    External (\_TZ_.TZ1_._CRT, IntObj)

    Name (C000, 0x00)
    Name (C001, 0x00)
    Processor (\_PR.CPU0, 0x01, 0x00001010, 0x06)
    {
        Name (C002, 0x00)
        Method (CSTH, 0, NotSerialized)
        {
            If (LEqual (C002, 0x00))
            {
                Store (0x01, C002)
                Store (0x00, \_SB.C003.C004.C005)
            }

            Store (\_SB.C003.C004.C006.C007 (), Local0)
            Return (Local0)
        }

        Method (INI, 0, NotSerialized)
        {
            Store (C008 (), Local0)
            If (LAnd (And (\_SB.C009, 0x01000000), LEqual (Local0, 0x04)))
            {
                \_SB.ISMI (0x3D, 0x00, 0x00, 0x00)
            }

            If (LOr (LEqual (Local0, 0x04), LEqual (Local0, 0x05)))
            {
                \_SB.ISMI (0x3F, 0x00, 0x00, 0x00)
            }
        }

        Method (PPC, 0, NotSerialized)
        {
            Return (C00A ())
        }
    }

    Processor (\_PR.CPU1, 0x02, 0x00001010, 0x06)
    {
        Method (PPC, 0, NotSerialized)
        {
            Return (C00A ())
        }
    }

    Method (C00A, 0, Serialized)
    {
        If (LGreater (\_SB.C00B, 0x00))
        {
            Subtract (\_SB.C00B, 0x01, Local1)
        }
        Else
        {
            Store (0x00, Local1)
        }

        Acquire (\_SB.C003.C004.C006.C00C, 0xFFFF)
        If (\_SB.C003.C004.C006.C00D)
        {
            Store (\_SB.C003.C004.C006.C00E, Local0)
            Store (0x00, \_SB.C003.C004.C006.C00D)
            If (LEqual (Local0, 0x00))
            {
                If (LLess (C000, Local1))
                {
                    Add (C000, 0x01, C000)
                }
            }
            Else
            {
                If (LEqual (Local0, 0x02))
                {
                    If (LGreater (C000, 0x00))
                    {
                        Subtract (C000, 0x01, C000)
                    }
                }
            }
        }




Afther parssing in Patcher:

CODE
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

./dsdt_fixed.txt     1: ACPIope (\_SB)
Error    4095 -            ^ syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITIONBLOCK

ASL Input:  ./dsdt_fixed.txt - 17175 lines, 647171 bytes, 0 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Compiling done, if it worked, you have now a patched DSDT in dsdt.aml
If the compiling went wrong, you could force to build it with ./DSDT\ Patcher -f (try this DSDT at your own risk)

logout

[Process completed]




Cant understand this:

CODE
./dsdt_fixed.txt     1: ACPIope (\_SB)<BR>  
Error    4095 -            ^ syntax error, unexpected PARSEOP_NAMESEG, expecting PARSEOP_DEFINITIONBLOCK


Great thanks
mackerintel
QUOTE (zdeso @ Dec 6 2008, 12:29 PM) *
Guys, please help to understand, I have for dsdt_fixed.txt these error when I try to Patch DSDT file so I cant make aml file: ideneb osx 10.5.5;

I have HP Notebook 8710p

CODE
ACPI Error (dmutils-0261): Argument count mismatch for method \_TZ_.C381 1 0 [20080926]

Just delete this line
ghoffman
i get different errors when trying to emulate xp or osx:


for xp emulation:

./dsdt_fixed.txt 233: If (\LOr (_OSI ("Darwin"), _OSI ("Windows 2001")))
Error 4063 - Object does not exist ^ (\LOR)

./dsdt_fixed.txt 2828: Method (_BCQ, 0, Serialized)
Warning 1098 - Unknown reserved name ^ (_BCQ)

./dsdt_fixed.txt 5529: If (LEqual (C214, 0xFFFFFFFD))
Warning 1099 - Statement is unreachable ^

ASL Input: ./dsdt_fixed.txt - 13788 lines, 505615 bytes, 6404 keywords
Compilation complete. 1 Errors, 2 Warnings, 0 Remarks, 2174 Optimizations


for osx emulation:

./dsdt_fixed.txt 2828: Method (_BCQ, 0, Serialized)
Warning 1098 - Unknown reserved name ^ (_BCQ)

./dsdt_fixed.txt 5529: If (LEqual (C214, 0xFFFFFFFD))
Warning 1099 - Statement is unreachable ^

ASL Input: ./dsdt_fixed.txt - 13788 lines, 505592 bytes, 6404 keywords
AML Output: ././dsdt.aml - 61142 bytes, 1105 named objects, 5299 executable opcodes

Compilation complete. 0 Errors, 2 Warnings, 0 Remarks, 2175 Optimizations


what should i do about these errors/warnings?

thanks-
system below
zdeso
QUOTE (mackerintel @ Dec 6 2008, 02:24 PM) *
Just delete this line


Thanks man, here its my result with 47 err and lots of optimizations, I dont know are they dependtant on changes with powermanagement bundle, or my bios which is last updated, if you need the version of bios please tell me, 


I dont know how to repair this errors , Ive allready updated bios on v9 new one is there problem?

many thanks 'mackerintel' 

Click to view attachment
ab___73
QUOTE (ghoffman @ Dec 6 2008, 01:32 PM) *
i get different errors when trying to emulate xp or osx:


for xp emulation:

./dsdt_fixed.txt 233: If (\LOr (_OSI ("Darwin"), _OSI ("Windows 2001")))
Error 4063 - Object does not exist ^ (\LOR)

./dsdt_fixed.txt 2828: Method (_BCQ, 0, Serialized)
Warning 1098 - Unknown reserved name ^ (_BCQ)

./dsdt_fixed.txt 5529: If (LEqual (C214, 0xFFFFFFFD))
Warning 1099 - Statement is unreachable ^

ASL Input: ./dsdt_fixed.txt - 13788 lines, 505615 bytes, 6404 keywords
Compilation complete. 1 Errors, 2 Warnings, 0 Remarks, 2174 Optimizations


for osx emulation:

./dsdt_fixed.txt 2828: Method (_BCQ, 0, Serialized)
Warning 1098 - Unknown reserved name ^ (_BCQ)

./dsdt_fixed.txt 5529: If (LEqual (C214, 0xFFFFFFFD))
Warning 1099 - Statement is unreachable ^

ASL Input: ./dsdt_fixed.txt - 13788 lines, 505592 bytes, 6404 keywords
AML Output: ././dsdt.aml - 61142 bytes, 1105 named objects, 5299 executable opcodes

Compilation complete. 0 Errors, 2 Warnings, 0 Remarks, 2175 Optimizations


what should i do about these errors/warnings?

thanks-
system below


./dsdt_fixed.txt 233: If (\LOr (_OSI ("Darwin"), _OSI ("Windows 2001")))
Error 4063 - Object does not exist ^ (\LOR)

becomes:
If (LOr (\_OSI ("Darwin"), \_OSI ("Windows 2001")))

if that doesn't work, try

If (LOr (_OSI ("Darwin"), _OSI ("Windows 2001")))


I would ignore the _BCQ warning since that section is only used when emulating VISTA. I've read it's something to do with the backlight control in VISTA.

Not too sure about the other warning.

Hope this helps.
AB

Edit: I've posted my dsdt on this topic. DSDT repository
damarsman
Ok, I got some warnings. Does that mean it will not work? (I used -newHPET because of ep45 board)

CODE
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

./dsdt_fixed.txt   222:     Method (_WAK, 1, NotSerialized)
Warning  1080 -                        ^ Reserved method must return a value (_WAK)

./dsdt_fixed.txt  4171:                                     Return (One)
Warning  1099 -                              Statement is unreachable ^

./dsdt_fixed.txt  4304:                                 If (LEqual (Arg2, 0x03))
Warning  1099 -                         Statement is unreachable ^

ASL Input:  ./dsdt_fixed.txt - 5988 lines, 202808 bytes, 2553 keywords
AML Output: ././dsdt.aml - 19244 bytes, 680 named objects, 1873 executable opcodes

Compilation complete. 0 Errors, 3 Warnings, 0 Remarks, 31 Optimizations



Compiling done, if it worked, you have now a patched DSDT in dsdt.aml
If the compiling went wrong, you could force to build it with ./DSDT\ Patcher -f (try this DSDT at your own risk)
movingmage
Fassl,

I have a peculiar issue...

I have 2 eee 900HAs. I built up the first one with 10.5.5 (iDeneb v3, DSDT override PCEFI V9) and added ACPIBattery.kext It works great, and I have a working battery meter. It also shuts down and sleeps nicely. I was so psyched!!! I imaged the install so that I could set it up on my second 900HA.

I set up the second machine identically from the image, and guess what? The machine boots fine, but the battery icon has an X through it, and as an added bonus, sleep and shutdown do not work properly(doesn't wake from sleep, and does't fully power off on shutdown).

They both have the same BIOS and EC Firmware version. Very strange! I am so very sad right now. Fassl, any thoughts?

Need I generate a new DSDT.aml even though the machines are identical models? I gave that a try, but did so booted under the old DSDT.aml, does this then prevent me from generating a correct one?
Common Sense
Hi guys!

I have sucessfully compiled a DSDT.aml file that contains my realtek 889a renamed to 885. I took the HDEF part of the dsdt_fixe.txt from ac3bcn, he posted this on page 18 in this thread.

Anyway it seems to work just fine, I can play audio and see all input/outputs in "about this mac". I can also see them in the preferences. All appears to be fine.

But the problem is no sound is coming from the speakears. I have a P35-DS4 and ac3bcn I think has a P35-DS3, both with 889a chipset. Does it make a difference?

I also have not understand yet what codec verbs are and what I should do with them, anyone can give me a little help on this? What codec verbs should I use and how do I install them if needed?

Is there anyone else with the same motheardboard as me that have sound working and can share the dsdt_fixed.txt?

I also cannot get sleep to work well on the motheardboard even if I choose WinXP emulation when running the patcher. Anyone has it working on this mothearboard?
shatterhenner
hey guys....still problems over here:
need some help
dsdt is loading correctly but looks like patching rtc and hpet didnt work....any suggestions ???
booting without disabler ending up inna kernal panic

thanx guys

my output:

Last login: Mon Dec 8 17:46:00 on console
/Users/admin/Downloads/DSDT_Patcher1e/DSDT\ Patcher ; exit;
NodLeos:~ admin$ /Users/admin/Downloads/DSDT_Patcher1e/DSDT\ Patcher ; exit;

DSDT Patcher 1.0.1e -- report Bugs to superfassl@gmail.com
enclose "DSDT Patcher/Debug/USER.tar"


Press any key to continue...



Getting the DSDT through ioreg...



Decompiling the DSDT...

Intel ACPI Component Architecture
AML Disassembler version 20080926 [Oct 4 2008]
Copyright © 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file ./dsdt.dat
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
................................................................................
................................................................................
...........
Parsing completed
Disassembly completed, written to "./dsdt.dsl"




Done, now start the Patching!

Patching RTC...

Patching HPET...

No HPET Device found, adding one
Which OS to emulate? [0=Darwin,1=WinXP, 2=WinVista]
0
Fixing various Issues...

Done




We are done patching, press any key to try to compile the fixed DSDT


Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct 4 2008]
Copyright © 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

./dsdt_fixed.txt 350: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 394: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 529: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 664: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 799: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 906: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 950: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 969: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 988: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 1007: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 1026: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

ASL Input: ./dsdt_fixed.txt - 1555 lines, 45356 bytes, 444 keywords
AML Output: ././dsdt.aml - 4626 bytes, 223 named objects, 221 executable opcodes

Compilation complete. 0 Errors, 11 Warnings, 0 Remarks, 225 Optimizations



Compiling done, if it worked, you have now a patched DSDT in dsdt.aml
If the compiling went wrong, you could force to build it with ./DSDT\ Patcher -f (try this DSDT at your own risk)


mkdir: ./Debug: File exists
logout

[Prozess beendet]
Common Sense
Try to add -newHPET when running the patcher. Also first delete the Debug directory before running the patcher just in case.

QUOTE (shatterhenner @ Dec 8 2008, 05:51 PM) *
hey guys....still problems over here:
need some help
dsdt is loading correctly but looks like patching rtc and hpet didnt work....any suggestions ???
booting without disabler ending up inna kernal panic

thanx guys

my output:

Last login: Mon Dec 8 17:46:00 on console
/Users/admin/Downloads/DSDT_Patcher1e/DSDT\ Patcher ; exit;
NodLeos:~ admin$ /Users/admin/Downloads/DSDT_Patcher1e/DSDT\ Patcher ; exit;

DSDT Patcher 1.0.1e -- report Bugs to superfassl@gmail.com
enclose "DSDT Patcher/Debug/USER.tar"


Press any key to continue...



Getting the DSDT through ioreg...



Decompiling the DSDT...

Intel ACPI Component Architecture
AML Disassembler version 20080926 [Oct 4 2008]
Copyright © 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file ./dsdt.dat
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
................................................................................
................................................................................
...........
Parsing completed
Disassembly completed, written to "./dsdt.dsl"




Done, now start the Patching!

Patching RTC...

Patching HPET...

No HPET Device found, adding one
Which OS to emulate? [0=Darwin,1=WinXP, 2=WinVista]
0
Fixing various Issues...

Done




We are done patching, press any key to try to compile the fixed DSDT


Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926 [Oct 4 2008]
Copyright © 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

./dsdt_fixed.txt 350: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 394: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 529: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 664: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 799: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 906: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 950: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 969: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 988: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 1007: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

./dsdt_fixed.txt 1026: Method (_S5D, 0, NotSerialized)
Warning 1098 - Unknown reserved name ^ (_S5D)

ASL Input: ./dsdt_fixed.txt - 1555 lines, 45356 bytes, 444 keywords
AML Output: ././dsdt.aml - 4626 bytes, 223 named objects, 221 executable opcodes

Compilation complete. 0 Errors, 11 Warnings, 0 Remarks, 225 Optimizations



Compiling done, if it worked, you have now a patched DSDT in dsdt.aml
If the compiling went wrong, you could force to build it with ./DSDT\ Patcher -f (try this DSDT at your own risk)


mkdir: ./Debug: File exists
logout

[Prozess beendet]
Leader86
Is there a way to check if AppleIntelCPUPowerManagement.kext is successfully loaded?
BladeRunner
When I compile my DSDT I get about 47 of this warning:

CODE
./dsdt_fixed.txt  4925:         Acquire (MTX0, 0x0000)
Warning  1104 -                                     ^ Possible operator timeout is ignored


I would like to eliminate the warnings - a carryover from old programming days smile.gif Does anyone know how to code this line to eliminate the warning? I tried just removing the ", 0x0000" but that turns it into a syntax error.
shatterhenner
QUOTE (Common Sense @ Dec 8 2008, 06:15 PM) *
Try to add -newHPET when running the patcher. Also first delete the Debug directory before running the patcher just in case.



ill get the same output with trashed debug folder and -newHPET command


ASL Input: ./dsdt_fixed.txt - 1555 lines, 45356 bytes, 444 keywords
AML Output: ././dsdt.aml - 4626 bytes, 223 named objects, 221 executable opcodes

Compilation complete. 0 Errors, 11 Warnings, 0 Remarks, 225 Optimizations


seems to be the crappy dsdt in hp bios

any help fassl or mackerintel????
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.