InfiniteMac OSx86  

🌅 Dive into Web3 and Crypto, join FTX! 🚀

Reply
 
Thread tools Display modes
  #21  
Old 08-08-2009, 09:11 AM
svitale75 svitale75 is offline
Puma
 
Join Date: Aug 2009
Posts: 15
Quote:
Someone got solutions for sleep and HD icons ?
Not for sleep but for HD icons you should be good to go by installing

IOAHCIBlockStorageInjector.kext

Last edited by svitale75; 08-08-2009 at 09:20 AM.
Reply With Quote
  #22  
Old 08-08-2009, 09:56 AM
tokyovigilante tokyovigilante is offline
Cheetah
 
Join Date: Aug 2009
Posts: 2
Thanks! Sound and ethernet are working on my P5K-E after following this guide.

-Ryan
Reply With Quote
  #23  
Old 08-14-2009, 09:41 AM
OG-Phantom's Avatar
OG-Phantom OG-Phantom is offline
Jaguar
 
Join Date: Aug 2009
Posts: 64
Quote:
Originally Posted by lancelotu View Post
This is for P5K-E Wifi a/p Motherboard but it should work with other P5K models
Try this at your own risk. Thanks again to XyZ .

put the AD1988b.Fix.kext in /System/Library/Extensions repair it's permissions and replace your DSDT.aml with the one from the package and you're good to go . I attached also the .dsl file .

Attachment 394
Lancelotu, I have a P5K Deluxe, so I can't use your dsdt.aml. We do have the same onboard sound, so could you post your mods to the dsdt for me so I can fix my dsdt??? Thanks!!!!

[HACK P5K]
ASUS P5K Deluxe/Wifi [ Q9650 / 8GB OCZ / EVGA 8800 GTX ]
Windows Se7en 500GB SATA
OSX 10.6.4 (vanilla-EFI) 500GB SATA
[HACK EP43]
Gigabyte EP43-DS3L [ E6700 / 8GB OCZ / PNY 250 GTS ]
Windows Vista 64bit 250 SATA
OSX 10.6.4 (vanilla-EFI) 160GB SATA
Reply With Quote
  #24  
Old 08-14-2009, 10:14 AM
lancelotu lancelotu is offline
Jaguar
 
Join Date: Jul 2009
Posts: 58
DSDT mods

Quote:
Originally Posted by OG-Phantom View Post
Lancelotu, I have a P5K Deluxe, so I can't use your dsdt.aml. We do have the same onboard sound, so could you post your mods to the dsdt for me so I can fix my dsdt??? Thanks!!!!

right under this lines:

Code:
   Device (USBE)
            {
                Name (_ADR, 0x001A0007)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0D, 0x04))
                }
            }
you have to add this:

Code:
 Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x08)
                        {
                            "codec-id", 
                            Buffer (0x04)
                            {
                                0x9B, 0x82, 0x43, 0x10
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            }, 

                            "device-type", 
                            Buffer (0x17)
                            {
                                "Analog Devices AD1988B"
                            }, 

                            "PinConfigurations", 
                            Buffer (0x24)
                            {
                                /* 0000 */    0x30, 0x40, 0x21, 0x01, 0x10, 0x40, 0x11, 0x01, 
                                /* 0008 */    0x40, 0x90, 0xA1, 0x01, 0x50, 0x30, 0x81, 0x01, 
                                /* 0010 */    0x60, 0x10, 0x01, 0x01, 0x20, 0x90, 0xA0, 0x90, 
                                /* 0018 */    0x80, 0xF1, 0x45, 0x01, 0x90, 0xF1, 0xC5, 0x01, 
                                /* 0020 */    0x70, 0x60, 0x01, 0x01
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
and you also need this:

Code:
Method (DTGP, 5, NotSerialized)
    {
        If (LEqual (Arg0, Buffer (0x10)
                {
                    /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                    /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                }))
        {
            If (LEqual (Arg1, One))
            {
                If (LEqual (Arg2, Zero))
                {
                    Store (Buffer (One)
                        {
                            0x03
                        }, Arg4)
                    Return (One)
                }

                If (LEqual (Arg2, One))
                {
                    Return (One)
                }
            }
        }

        Store (Buffer (One)
            {
                0x00
            }, Arg4)
        Return (Zero)
    }
AFTER the: Method (_OSC, 4, NotSerialized) so it should look like this:



Code:
  
.........................
        MSC7,   32, 
        MSC8,   32, 
        DMAX,   8, 
        HPTA,   32
    }

    Method (DTGP, 5, NotSerialized)
    {
        If (LEqual (Arg0, Buffer (0x10).........................
Don't forget about AD1988b.Fix.kext.zip (put it on /Extra or /S/L/E)

Note that this has no front panel headphones working (trying to figure that out) but at least microphone is working great now.


Please report if working
Reply With Quote
  #25  
Old 08-14-2009, 05:40 PM
OG-Phantom's Avatar
OG-Phantom OG-Phantom is offline
Jaguar
 
Join Date: Aug 2009
Posts: 64
Quote:
Originally Posted by lancelotu View Post
right under this lines:

Code:
   Device (USBE)
            {
                Name (_ADR, 0x001A0007)
                Method (_PRW, 0, NotSerialized)
                {
                    Return (GPRW (0x0D, 0x04))
                }
            }
you have to add this:

Code:
 Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x08)
                        {
                            "codec-id", 
                            Buffer (0x04)
                            {
                                0x9B, 0x82, 0x43, 0x10
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            }, 

                            "device-type", 
                            Buffer (0x17)
                            {
                                "Analog Devices AD1988B"
                            }, 

                            "PinConfigurations", 
                            Buffer (0x24)
                            {
                                /* 0000 */    0x30, 0x40, 0x21, 0x01, 0x10, 0x40, 0x11, 0x01, 
                                /* 0008 */    0x40, 0x90, 0xA1, 0x01, 0x50, 0x30, 0x81, 0x01, 
                                /* 0010 */    0x60, 0x10, 0x01, 0x01, 0x20, 0x90, 0xA0, 0x90, 
                                /* 0018 */    0x80, 0xF1, 0x45, 0x01, 0x90, 0xF1, 0xC5, 0x01, 
                                /* 0020 */    0x70, 0x60, 0x01, 0x01
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
and you also need this:

Code:
Method (DTGP, 5, NotSerialized)
    {
        If (LEqual (Arg0, Buffer (0x10)
                {
                    /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                    /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                }))
        {
            If (LEqual (Arg1, One))
            {
                If (LEqual (Arg2, Zero))
                {
                    Store (Buffer (One)
                        {
                            0x03
                        }, Arg4)
                    Return (One)
                }

                If (LEqual (Arg2, One))
                {
                    Return (One)
                }
            }
        }

        Store (Buffer (One)
            {
                0x00
            }, Arg4)
        Return (Zero)
    }
AFTER the: Method (_OSC, 4, NotSerialized) so it should look like this:



Code:
  
.........................
        MSC7,   32, 
        MSC8,   32, 
        DMAX,   8, 
        HPTA,   32
    }

    Method (DTGP, 5, NotSerialized)
    {
        If (LEqual (Arg0, Buffer (0x10).........................
Don't forget about Attachment 426 (put it on /Extra or /S/L/E)

Note that this has no front panel headphones working (trying to figure that out) but at least microphone is working great now.


Please report if working
That did the trick!!! Thank you!!!! I had tried that for awhile on my Leopard setup but couldn't get it working and gave up (DSDT route, I stuck with the injector and the enabler from TheKing)

[HACK P5K]
ASUS P5K Deluxe/Wifi [ Q9650 / 8GB OCZ / EVGA 8800 GTX ]
Windows Se7en 500GB SATA
OSX 10.6.4 (vanilla-EFI) 500GB SATA
[HACK EP43]
Gigabyte EP43-DS3L [ E6700 / 8GB OCZ / PNY 250 GTS ]
Windows Vista 64bit 250 SATA
OSX 10.6.4 (vanilla-EFI) 160GB SATA
Reply With Quote
  #26  
Old 08-15-2009, 01:10 AM
walterav walterav is offline
Jaguar
 
Join Date: Aug 2009
Posts: 45
P5k e wifi/ap bios 1202

Headphone working here!
front "Headphone/switch" is working! Also "front mic" is working called "external mic, built in input"!!!

software:
SL 10a432 + DSDT injection + AD1988b.Fix.kext

dsdt:
Code:
Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x08)
                        {
                            "codec-id", 
                            Buffer (0x04)
                            {
                                0x9B, 0x82, 0x43, 0x10
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x0C, 0x00, 0x00, 0x00
                            }, 

                            "device-type", 
                            Buffer (0x17)
                            {
                                "Analog Devices AD1988B"
                            }, 

                            "PinConfigurations", 
                            Buffer (0x20)
                            {
                                /* 0000 */    0x30, 0x40, 0x21, 0x01, 0x10, 0x40, 0x11, 0x01, 
                                /* 0008 */    0x40, 0x90, 0xA1, 0x01, 0x50, 0x30, 0x81, 0x01, 
                                /* 0010 */    0x60, 0x10, 0x01, 0x01, 0x20, 0x90, 0xA1, 0x01, 
                                /* 0018 */    0xF0, 0x11, 0x45, 0x01, 0x70, 0x60, 0x01, 0x01
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
###notice that I don't have the /* 0020 */ in the dsdt injection!!!

AD1988b.Fix.kext:
###plist only kext!
###size~ 82kb
###P5K-e.DSDT.Sound.zip / extra.zip search this forum... don't know anymore where I found it

Last edited by walterav; 08-15-2009 at 01:13 AM.
Reply With Quote
  #27  
Old 08-15-2009, 08:33 AM
lancelotu lancelotu is offline
Jaguar
 
Join Date: Jul 2009
Posts: 58
Quote:
Originally Posted by walterav View Post
P5k e wifi/ap bios 1202

Headphone working here!
front "Headphone/switch" is working! Also "front mic" is working called "external mic, built in input"!!!

software:
SL 10a432 + DSDT injection + AD1988b.Fix.kext


AD1988b.Fix.kext:
###plist only kext!
###size~ 82kb
###P5K-e.DSDT.Sound.zip / extra.zip search this forum... don't know anymore where I found it
I change my HDEF column to be just like yours but still no frontal Headphone, do you have it listed as Headphones in the PreferencesPanes/Audio ? and also how many output devices do you have ?
Can you also upload your DSDT.dsl?

Thanks
Reply With Quote
  #28  
Old 08-15-2009, 02:32 PM
walterav walterav is offline
Jaguar
 
Join Date: Aug 2009
Posts: 45
My dsdt has the following patches:

DSDT.dsl
*ATI hd2600xt injection for leopard only!
*quick/dirty rtc/hpet fix "not good enough for core2quad I heard"
*Audio injection!
*dtgp #for adding the patches
#see attachment

But I want more to be patched in DSDT:
*network injection "no more patching of AppleYukon2.kext"
*usb set to built-in "no problems with sleep"
maybe more?

AD1988.Fix.kext
#see attachement!

BIOS:
Lancelotu do you have front panel output in bios configured as HD, or AC97?

System Profiler:
Device ID: 0x10438277
Audio ID: 12
Available Devices:
Headphone:
Connection: 1/8-Inch Jack
Speaker:
Connection: 1/8-Inch Jack
Internal Microphone:
Connection: Internal
Line In:
Connection: 1/8-Inch Jack
Line Out:
Connection: 1/8-Inch Jack
External Microphone:
Connection: 1/8-Inch Jack
S/P-DIF Out:
Connection: Optical
S/P-DIF In:
Connection: Optical
Line Out:
Connection: 1/8-Inch Jack

So 4 output devices, "Internal speakers" switches to "Headphone" when front panel is in use!
Even the Volume Level changes to last use, when headphone is plugged in!

BTW did you had sleep working? I always had from 10.5.2-10.5.7... from 10.5.7 I had to use EHCIsleepenabler.kext...
and from 10.5.8 I also had to remove disabler.kext and patch RTC/HPET in dsdt.
Attached Files
File Type: zip audio.zip (36.4 KB, 213 views)

Last edited by walterav; 08-16-2009 at 06:46 PM.
Reply With Quote
  #29  
Old 08-16-2009, 04:22 AM
tomparis tomparis is offline
Cheetah
 
Join Date: Aug 2009
Posts: 1
DSDT for P5k Deluxe

Quote:
Originally Posted by OG-Phantom View Post
That did the trick!!! Thank you!!!! I had tried that for awhile on my Leopard setup but couldn't get it working and gave up (DSDT route, I stuck with the injector and the enabler from TheKing)
Hi OG-Phantom,

Would you be able to post your DSDT? I've got a P5K Deluxe too, it might help me fix my no sound issue, it's the only thing still not working.

Thanks
Reply With Quote
  #30  
Old 08-17-2009, 06:47 AM
lancelotu lancelotu is offline
Jaguar
 
Join Date: Jul 2009
Posts: 58
Quote:
Originally Posted by tomparis View Post

it might help me fix my no sound issue, it's the only thing still not working.

Thanks
Because sleep does work on your motherboard ? or you just don't use it?



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply
Thread Tools
Display Modes