InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Snow Leopard 10.6 (http://infinitemac.com/forumdisplay.php?f=87)
-   -   [How-To] Snow Leopard Retail (10A432) on P5K-E Wifi A/P -64 bit mode (http://infinitemac.com/showthread.php?t=3380)

lancelotu 07-15-2009 09:18 AM

[How-To] Snow Leopard Retail (10A432) on P5K-E Wifi A/P -64 bit mode
 
Hello,

Thanks to all the wonderful users of this community I have now a nearly perfect vanilla, up-to-date, 10a432 hackintosh


My system :
P5k-E Wifi ap mobo
cpu Q6600 (Core 2 Quad)
2gb ram 667
AD1988B sound chip
WG311-t network card
asus sata DVD and HD
Nvidia 7300 GS video 256Mb
Marvell 88E8056 Ethernet


Kext I used :


1. AD1988b.Fix.kext Enable sound for AD1988 onboard chip (needs a custom DSDT patch) thanks to XyZ
2. Dsmos.kext the latest, thanks to netkas [color="yellow"]replaced with newer Fakesmc.kext[ v2.5 /COLOR]
3. IOAHCIBlockStorageInjector.kext (repairs the icons of yours hard disks) not necessary with DSDT SATA ESB2 FIX read this
4. OpenHaltRestart.kext OSxRestart.kext is out Thanks to Master Chief for solving the restart after sleep problem. Read more and get the last version here
5. AHCIPortInjector.kext obsolete since DSDT SATA ESB2 FIX read this

Optional kexts :

1. JmicronAta.kext if you want to use, or have additional IDE Devices
2. PlatformUUID.kext ( solve the _CFGetHostUUIDString: unable to determine UUID for host error)
3. NullCPUPowerManagement.kext
4. SleepEnabler.kext (if you are using NullCPUPowerManagement.kext).
5. OSxRestart by Master Chief (restart after sleep is working with this kext) Read more here
I put them all together in a folder below in the "Files you need" section

I also modified:
System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleYukon2.kext/Contents/Info.plist for my ethernet card to work. (how-to here)

OR you can use the AppleYukon2Injector.kext (Thanks to OG-Phantom)


Added string for my Video card in com.apple.Boot.plist



Files you need :

1. Snow leopard disk or dmg
2. Bootloader Chameleon_v1012, because with the new versions I have a lot of Kernel Panics Chameleon 2 RC3 is out please use that one
3. DSDTPatcherGUI_1 (I also added the modified DSDT.aml for P5K mobos compiled and decompiled)
4. Kexts to add in your /S/L/E folder they are all 64 bit (thanks to XyZ, all irc.osx86.hu community)



You can download all these files here (excepting the 10a432 of course)

Installing

1. So first off all you need to format the partition using Guid Partition Table
if

2. Mount Bootloader2 on your desktop, install Chameleon_v1012 and replace the "boot" file from your root volume with the blue labeled one Read how to install Chameleon 2 RC3 here

To be able to see the hidden files on your Volumes (like the boot file or OSInstall.mpkg ) you can use CF-A app also included in the file pack in the Change finder folder.


3.Mount your 10a432.dmg , open Terminal.app and type this:
(or again you used CF-A app you can browse you mac os x installation disks /System/Installation/Packages and manually select OSInstall.mpkg

open /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/OSInstall.mpkg


(or again you used CF-A app you can browse you mac os x installation disks /System/Installation/Packages and manually select OSInstall.mpkg)

Open mac OS installer, select your disk, customize your installation and click install.

4.When installation completes Patch your system with DSDTPatcherGUI

5.To enable sound on P5K-E or other mobos with AD1988B sound chip you have to modify your DSDT.aml file . For AD1988B chipset you have to modify your DSDT ( READ here ) . I also included dsdt.aml and dsdt.dsl as example
6. Add your graphics card string (or you can use UInstaller if you don't know your card model) to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
7.If you have Marvell 88E8056 Ethernet read here

8.put kexts from /pk5-e snow essentials/kexts 64 bit in to /System/Library/Extensions and repair permissions from terminal :

Code:

sudo chown -R root:wheel /System/Library/Extensions/*
sudo chmod -R 755 /System/Library/Extensions/*


If you have already a working snow leopard system then you can also repair permissions with Disk Utility

9. Restart with -x64 -f -v
10. You can also add

Code:

<key>Kernel Flags</key>
        <string>arch=x86_64</string>

to your com.apple.Boot.plist for permanent 64 bit mode

11.You can safely update to 10.6.1 via Software Update



UPDATE : Sleep is now working, read here thanks to Zhell and omargoa

UPDATE 15 Nov 2009 If you're using a GeForce 7xxx video card and experience Kernel Panics in 64 Bit mode after updating to 10.6.2, reboot in 32 bit mode (with -x32 command) and replace these 5 kexts : GeForce.kext, GeForce7xxxGLDriver.bundle , GeForce8xxxGLDriver.bundle (?), GeForceGA.plugin, GeForceVADriver.bundle, with older ones from 10.6.1. You can get them here . Don't forget to repair permissions and boot one time with -f.
UPDATE 26 Nov 2009 Added FakeSMC v2.5 AND OsXRestart.kext to "snow essentials"

The Edge3000 07-16-2009 07:38 PM

Are you using the recompiled 64 bit VoodooHDA? http://www.infinitemac.com/attachmen...2&d=1247501812 I have a P5KC and this kext works in -x64. Also, could you explain how you got the proper hardware ID for the Info.plist in IONetworking?

lancelotu 07-16-2009 09:11 PM

Quote:

Originally Posted by The Edge3000 (Post 29496)
Are you using the recompiled 64 bit VoodooHDA? http://www.infinitemac.com/attachmen...2&d=1247501812 I have a P5KC and this kext works in -x64. Also, could you explain how you got the proper hardware ID for the Info.plist in IONetworking?

I am not using -x64 because I have a lot of Panics

For working Marvell 88E8056 Ethernet you have to edit the Info.plist inside :

IONetworkingFamily.kext/Contents/PlugIns/AppleYukon2.kext/Contents/

sudo -s

Your password, then
nano /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleYukon2.kext/Contents/Info.plist

find this string : [Tip: if you use nano it's easier to find this string if you press ctrl+w (whereis option) and type "53" then press Enter.]

Code:

<string>Marvell</string>
                </dict>
                <key>Yukon-88E8053</key>
                <dict>
                        <key>CFBundleIdentifier</key>


and replace 3 with 6

then find :

Code:

<key>IOPCIPrimaryMatch</key>
                        <string>0x436211ab</string>

and replace 0x436211ab with 0x436411ab (2 with 4)


then finally replace the "3" from

Code:

<key>Model</key>
                        <string>Yukon Gigabit Adapter 88E8053 Singleport Copper$</string>


with "6" so it will look like this:

Code:

<key>Model</key>
                        <string>Yukon Gigabit Adapter 88E8056 Singleport Copper$</string>


save the file, chown and chmod the extensions:

Code:

chown -R root:wheel /System/Library/Extensions/*
chmod -R 755 /System/Library/Extensions/*


and reboot

Please report if working in -x64

Regards

Omnicron 07-23-2009 06:27 PM

i got 64-bit mode to work on my p5k by repairing permissions in safe mode (-x) with kextutility after install.

gmcouto 07-26-2009 07:22 PM

Thanks, Voodoo HDA x64 made my AD1998B from P5K-Premium work,

but SPDIF output makes crappy system sounds, and all other things goes mute(no sound at all).
I am using stereo output now, that is working fine.




and found a x64 Jmicron at the [how-to] topic, that works fine too
http://81.176.70.54/3780888/JMicronA...IDE.x86_64.zip

kjun5huo 07-26-2009 11:37 PM

I got internet working in both 32bit & 64bit kernel options.
Change info.plist of original Snow Leopard IONetworkinfFamily.kext follow your guide, and install using kextutility.
It works fine.
Finally I got sound and internet in both 32bit & 64bit kernel.

lancelotu 07-27-2009 05:56 AM

Actually there is a better solution for audio and I have to thank TheKing (aka XyZ) for that .Using VodooHDA the microphone is not working in P5K-E but you can modify your DSDT file to get your sound working and without loading VoodoHDA.kext . I will post the solution and my DSDT file later .

lancelotu 07-27-2009 06:00 AM

Quote:

... and found a x64 Jmicron at the [how-to] topic, that works fine too
http://81.176.70.54/3780888/JMicronA...IDE.x86_64.zip
Link is not valid anymore can you upload your kext in some other place for us please?

kjun5huo 07-27-2009 07:32 AM

I can't wait.
 
Quote:

Originally Posted by lancelotu (Post 30083)
Actually there is a better solution for audio and I have to thank TheKing (aka XyZ) for that .Using VodooHDA the microphone is not working in P5K-E but you can modify your DSDT file to get your sound working and without loading VoodoHDA.kext . I will post the solution and my DSDT file later .

Good News!!!
I already modified my DSDT file to get my nVidia 8800GT graphic card working.
Now I can get DSDT patch for audio !!!!
I can't wait.....

lancelotu 07-27-2009 08:26 AM

AD1988B audio solution with patched DSDT
 
1 Attachment(s)
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

kjun5huo 07-27-2009 09:32 PM

Quote:

Originally Posted by lancelotu (Post 30090)
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

I try to use your dsdt.aml file, but it doesn't work for me.
I add my graphic card to your dsdt.dsl file,and try to compile dsdt.aml file using iaslMe
I got 3 errors and don't make dsdt.aml.
So, I try to patch my dsdt.aml file.
I don't know which part you modified.
Can you explain to me ?
Thank you

kjun5huo 07-28-2009 12:21 AM

lancelotu !
Thank you for your information.
It works good.
I added Device (HDEF) parts of your dsdt.dsl file to my own dsdt.dsl file, and compile dsdt.dsl file using iaslMe.
No error.
Thank you again.

gmcouto 07-28-2009 02:07 AM

Quote:

Originally Posted by lancelotu (Post 30084)
Link is not valid anymore can you upload your kext in some other place for us please?

Link to post of jMicronATA (x64) remaked by markswell:
http://www.infinitemac.com/f57/how-t...post29542.html


I've made a mirror:
http://rapidshare.com/files/26081507....kext.zip.html

gmcouto 07-28-2009 02:16 AM

Quote:

Originally Posted by lancelotu (Post 30090)
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

Have you got it fully working in x64?

If so, can you post more details of how did you got it? and, (if I'm not asking too much) can you please link some documentation for my understanding?


sorry, I have a very poor english

fabscher 07-29-2009 11:06 AM

Quote:

Originally Posted by gmcouto (Post 30065)
Thanks, Voodoo HDA x64 made my AD1998B from P5K-Premium work,

but SPDIF output makes crappy system sounds, and all other things goes mute(no sound at all).
I am using stereo output now, that is working fine.




and found a x64 Jmicron at the [how-to] topic, that works fine too
http://81.176.70.54/3780888/JMicronA...IDE.x86_64.zip

I'm not able to download the kext..... can you send it to me PM?

fabscher 07-29-2009 11:13 AM

Quote:

Originally Posted by fabscher (Post 30229)
I'm not able to download the kext..... can you send it to me PM?

nevermind I found it

kjun5huo 08-02-2009 05:23 AM

Hi! lancelotu!
I follow your guide for modify IONetworkingFamily.kext,and it works good in 32 bit and 64 bit kernel.
I have used Leopard 10.5.7 at another drive.I tried your modified method in Leopard system,but it doesn,t work.
Do I use different information in Leopard ?
Thank you in advance.

kjun5huo 08-02-2009 06:51 AM

Hi! lancelotu!
Never mind.
I found my mistake.
When I mdae Extensions.mkext,I made mistake.
I fixed my mistake,and now everything works fine.
Your guide is correct.
Thanks again.

Epal 08-07-2009 10:43 PM

i did the same trcik for a DLINK DGE 528T, adding 0x43001186 device in the plist of applertl8168 like in tiger and leopard.

Here's, its not working... did you something else ?


Quote:

Originally Posted by lancelotu (Post 29505)
I am not using -x64 because I have a lot of Panics

For working Marvell 88E8056 Ethernet you have to edit the Info.plist inside :

IONetworkingFamily.kext/Contents/PlugIns/AppleYukon2.kext/Contents/

sudo -s

Your password, then
nano /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleYukon2.kext/Contents/Info.plist

find this string : [Tip: if you use nano it's easier to find this string if you press ctrl+w (whereis option) and type "53" then press Enter.]

Code:

<string>Marvell</string>
                </dict>
                <key>Yukon-88E8053</key>
                <dict>
                        <key>CFBundleIdentifier</key>


and replace 3 with 6

then find :

Code:

<key>IOPCIPrimaryMatch</key>
                        <string>0x436211ab</string>

and replace 0x436211ab with 0x436411ab (2 with 4)


then finally replace the "3" from

Code:

<key>Model</key>
                        <string>Yukon Gigabit Adapter 88E8053 Singleport Copper$</string>


with "6" so it will look like this:

Code:

<key>Model</key>
                        <string>Yukon Gigabit Adapter 88E8056 Singleport Copper$</string>


save the file, chown and chmod the extensions:

Code:

chown -R root:wheel /System/Library/Extensions/*
chmod -R 755 /System/Library/Extensions/*


and reboot

Please report if working in -x64

Regards


lancelotu 08-08-2009 07:59 AM

Quote:

Originally Posted by Epal (Post 30603)
i did the same trcik for a DLINK DGE 528T, adding 0x43001186 device in the plist of applertl8168 like in tiger and leopard.

Here's, its not working... did you something else ?


This tutorial is for Marvell 88E8056 Ethernet Connector but if you had this trick working in tiger and leopard than it should work in Snow too. Make sure you repair the permissions, and maybe but with the -f flag function to refresh the extensions

to repair permissions type in terminal
sudo chown -R root:wheel /System/Library/Extensions/*
sudo chmod -R 755 /System/Library/Extensions/*


reboot with -f flag

svitale75 08-08-2009 09:11 AM

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

tokyovigilante 08-08-2009 09:56 AM

Thanks! Sound and ethernet are working on my P5K-E after following this guide.

-Ryan

OG-Phantom 08-14-2009 09:41 AM

Quote:

Originally Posted by lancelotu (Post 30090)
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!!!!

lancelotu 08-14-2009 10:14 AM

DSDT mods
 
1 Attachment(s)
Quote:

Originally Posted by OG-Phantom (Post 30989)
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 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

OG-Phantom 08-14-2009 05:40 PM

Quote:

Originally Posted by lancelotu (Post 30994)
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)

walterav 08-15-2009 01:10 AM

P5k e wifi/ap bios 1202

Headphone working here! :D
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

lancelotu 08-15-2009 08:33 AM

Quote:

Originally Posted by walterav (Post 31049)
P5k e wifi/ap bios 1202

Headphone working here! :D
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

walterav 08-15-2009 02:32 PM

1 Attachment(s)
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.

tomparis 08-16-2009 04:22 AM

DSDT for P5k Deluxe
 
Quote:

Originally Posted by OG-Phantom (Post 31018)
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

lancelotu 08-17-2009 06:47 AM

Quote:

Originally Posted by tomparis (Post 31163)

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?

lancelotu 08-17-2009 08:45 AM

Quote:

Originally Posted by tomparis (Post 31163)
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

DSDT.dsl It's in the attachment (audio)

jinnggoff 08-17-2009 09:06 AM

Quote:

Originally Posted by lancelotu (Post 29405)
Someone got solutions for sleep ?

here is a solution for fix sleep issue
http://www.insanelymac.com/forum/ind...post&p=1227751

walterav 08-17-2009 09:22 AM

Quote:

Originally Posted by lancelotu (Post 31264)
DSDT.dsl It's in the attachment (audio)

Did my audio.zip package fix your front panel headphone connection/detection?

Did sleep never worked on your p5k?

lancelotu 08-17-2009 01:23 PM

Quote:

Originally Posted by walterav (Post 31268)
Did my audio.zip package fix your front panel headphone connection/detection?

Did sleep never worked on your p5k?

hello walterav, thanks for your response and I am sorry for not answering sooner but I am still testing various DSDT modifies .
My sleep worked native in 10.5.5 and not anymore since 10.5.6. Since then I was using superhai's EHCISleepEnabler.kext and sleep was working again in 90 % of the cases.

But since I installed SL I have no "sleep" at all :) ( my system won't go to sleep everything stops except the fans, the green power-led remains still and I have to reset the system from the reset button) Also when I reset the system from sleep it screw my bios settings.


I am still testing the audio ( no luck until now) by the way, in bios I try to set both way (hd audio and ac97) in the onboard device conf and nothing changes regarding the Headphones so I was wondering what did you put there hd or ac97 ?

I also intend to reflash my bios on 1202 ( I now have the latest 1305 I think)

DocShadow 08-17-2009 01:32 PM

Quote:

Originally Posted by lancelotu (Post 31278)
Also when I reset the system from sleep it screw my bios settings.

Did you replace the AppleRTC.kext with the one suggested in SaCleoCheater's sticky SL thread?

walterav 08-17-2009 04:55 PM

Quote:

Originally Posted by lancelotu (Post 31278)
hello walterav, thanks for your response and I am sorry for not answering sooner but I am still testing various DSDT modifies .
My sleep worked native in 10.5.5 and not anymore since 10.5.6. Since then I was using superhai's EHCISleepEnabler.kext and sleep was working again in 90 % of the cases.

But since I installed SL I have no "sleep" at all :) ( my system won't go to sleep everything stops except the fans, the green power-led remains still and I have to reset the system from the reset button) Also when I reset the system from sleep it screw my bios settings.

I am still testing the audio ( no luck until now) by the way, in bios I try to set both way (hd audio and ac97) in the onboard device conf and nothing changes regarding the Headphones so I was wondering what did you put there hd or ac97 ?

I also intend to reflash my bios on 1202 ( I now have the latest 1305 I think)

audio:
I have HD-audio in the bios, because I use that motherboard connection to connect to the frontpanel Headphones, ac97 uses other cable lineout! Check your system case, my case comes with 2 connectors on the same cable, one for ac97 the other for HD-audio
!
Maybe a stupid question but does your frontpanel sound works in Windows/Linux?

sleep:
I will try it soon in SL with 64bit ehcisleepenabler.kext I found recently.

btw:
I'm not running any of your extra-pacthes! No UUID/RTC/smbios/etc etc
So only dsdt.aml dsmos.kext+ openhaltrestart and manualy replaced "boot" file after chameleon v2rc2 and ofcourse the audio kext and network kext, both in /S*/L*/*E/.

lancelotu 08-17-2009 07:10 PM

Quote:

Originally Posted by walterav (Post 31291)
Maybe a stupid question but does your frontpanel sound works in Windows/Linux?

Yes it does work in Windows and Linux with jack sensing. I also flashed to 1202 but nothing changed ... Last hope is XyZ if I catch him online and in mood to help.


Quote:

sleep:
I will try it soon in SL with 64bit ehcisleepenabler.kext I found recently.
The one posted here doesn't work for me . Did you tried this already ?

Quote:

btw:
I'm not running any of your extra-pacthes! No UUID/RTC/smbios/etc etc
So only dsdt.aml dsmos.kext+ openhaltrestart and manualy replaced "boot" file after chameleon v2rc2 and ofcourse the audio kext and network kext, both in /S*/L*/*E/.

Same here excepting the bootloader which is v1012

lancelotu 08-17-2009 07:17 PM

I can't get no sleep
 
Quote:

Originally Posted by jinnggoff (Post 31265)
here is a solution for fix sleep issue
http://www.insanelymac.com/forum/ind...post&p=1227751

Thanks but doesn't want to "sleep" with my system .

walterav 08-17-2009 07:38 PM

Quote:

Originally Posted by lancelotu (Post 31301)
The one posted here doesn't work for me . Did you tried this already ?

I wanted to, but halfway during the manual I found to much things not corrosponding, so I could not finish.

I also heard that CycloneFr did some testing on that thread and I thought he also has a p5k system... but I'm not sure.

Maybe I'll ask him, this usb fix is very nice for sleep.

OG-Phantom 08-18-2009 04:29 AM

2 Attachment(s)
Quote:

Originally Posted by tomparis (Post 31163)
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

Here you go. Just to let you know, I have 8gb of ram, so my dsdt may cause you issues if you don't have the same amount of ram as me. I have heard that it can cause issues, I don't know tho. Let me know if it works for you. I have applied all the dsdt patches I could find (plus the audio from lancelotu from this thread, thanks and credit goes to him for that). You will need the AD1988b kext from theking also for the audio to work.

EDIT: Attached the kext you need for audio.

OG-Phantom 08-18-2009 04:43 AM

1 Attachment(s)
Anyone with a P5K Deluxe (or similar board with the same Marvell network PHY), I have made my own plist kext for the Yukon2. It works for me in both 64 and 32 bit modes. I can't take credit for it, I used info from several posts from different users, credit goes to them.

walterav 08-18-2009 09:45 AM

Quote:

Originally Posted by OG-Phantom (Post 31339)
Here you go. Just to let you know, I have 8gb of ram, so my dsdt may cause you issues if you don't have the same amount of ram as me. I have heard that it can cause issues, I don't know tho. Let me know if it works for you. I have applied all the dsdt patches I could find (plus the audio from lancelotu from this thread, thanks and credit goes to him for that). You will need the AD1988b kext from theking also for the audio to work.

EDIT: Attached the kext you need for audio.

Hi what did you change in the dsdt so it only works with 8gb of ram? Did you fix hpet/rtc for quadcores, because fassls dsdt patcher is not quit right?

I'm I still the only one with working headphone at frontpanel?

walterav 08-18-2009 09:47 AM

Quote:

Originally Posted by OG-Phantom (Post 31341)
Anyone with a P5K Deluxe (or similar board with the same Marvell network PHY), I have made my own plist kext for the Yukon2. It works for me in both 64 and 32 bit modes. I can't take credit for it, I used info from several posts from different users, credit goes to them.

Very nice, but keep in mind that the LegacyYukon2.kexy "old plist only injector" also stopped working at 10.5.7 but for the time being this might be prefect.

I'll try this one thank you...

BTW do you guys also have "wifi as en0" and "ethernet as en1"?

redlyon 08-18-2009 11:44 AM

sorry, but if I create 2 partition on my hd, one to extract the dmg image and the other to install the new system... then what shall I do to remove the partitions that are not needed and further standardize the partition of the new operating system to the full capacity of the disk?

thanks

and sorry for my English... :D

OG-Phantom 08-18-2009 01:18 PM

Quote:

Originally Posted by walterav (Post 31356)
Hi what did you change in the dsdt so it only works with 8gb of ram? Did you fix hpet/rtc for quadcores, because fassls dsdt patcher is not quit right?

I'm I still the only one with working headphone at frontpanel?

From my understanding when you decompile the DSDT, the amount of RAM you have installed is intertwined with the DSDT. So after mods and recompile, the amount of RAM you had installed is incorporated into the DSDT. Yes, I applied the quadcores, hpet and rtc fixes. Along with the power button sleep function (which doesn't work for me). And, the audio fix I mentioned in the previous post.

OG-Phantom 08-18-2009 01:21 PM

Quote:

Originally Posted by walterav (Post 31357)
Very nice, but keep in mind that the LegacyYukon2.kexy "old plist only injector" also stopped working at 10.5.7 but for the time being this might be prefect.

I'll try this one thank you...

BTW do you guys also have "wifi as en0" and "ethernet as en1"?

It is working for me. Strange you mentioned that it stopped working at 10.5.7. Still works for me in 10.5.8. Also, I do not have my wifi kext installed in 10.6. I only have en0 and en1 (realtek lan and marvell lan).

OG-Phantom 08-18-2009 01:25 PM

Quote:

Originally Posted by walterav (Post 31356)
Hi what did you change in the dsdt so it only works with 8gb of ram? Did you fix hpet/rtc for quadcores, because fassls dsdt patcher is not quit right?

I'm I still the only one with working headphone at frontpanel?

BTW, what are you using for audio? I am of the lazy category and not hooked up the connectors to my motherboard. Sometime soon I will tho (it's only been like 2 years since I got this board, you'd think I would have done it by now).:eek:

walterav 08-18-2009 11:21 PM

Quote:

Originally Posted by OG-Phantom (Post 31383)
From my understanding when you decompile the DSDT, the amount of RAM you have installed is intertwined with the DSDT. So after mods and recompile, the amount of RAM you had installed is incorporated into the DSDT. Yes, I applied the quadcores, hpet and rtc fixes. Along with the power button sleep function (which doesn't work for me). And, the audio fix I mentioned in the previous post.

Hi what is exactly different with the quadcore fix? HPET/RTC seems to look the same to me...

BTW do also have speedstep applied to dsdt? I also heard it was possible also for quads and even corei7...

omargoa 08-19-2009 06:52 PM

Sleep fix
 
1 Attachment(s)
Hi

Sleep work for me with this method :
http://www.insanelymac.com/forum/ind...owtopic=168014

i apply this method for SATA and it work, no more need for AHCIportinjector.kext

audio also work fine with dsdt patch and AD1988b.Fix.kext front panel (headphone and micro) work, the only problem is low microphone level and i have microphone only in front panel (someone know how to fix the volume level ? ? )

Now i got all working fine and stable in 64 bit with chameleon 2 rc1

note : when i boot for the first time after instal i need to boot with "archi386" 32bit , and launch the Kext utility after that boot normal, and all work

boot direct with the default 86_64 cause kernel panic

(sorry for my english :p)


My motherboard : ASUS P5E + 8800 gts 512

here is my dsdt file with fix for : (Graphic) - (Audio) - (Sata) and (Sleep fix)

lancelotu 08-20-2009 04:54 AM

Quote:

Originally Posted by omargoa (Post 31508)
Hi

Sleep work for me with this method :
http://www.insanelymac.com/forum/ind...owtopic=168014

I did that also and couldn't see any changes ( I thought I did something wrong but now seeing your DSDT the USB0 TO USB6 section it's the same , so I guess that was not enough for me ...

Quote:

i apply this method for SATA and it work, no more need for AHCIportinjector.kext
What method exactly ? Can you please explain, or show the section of DSDT that patches SATA ?

audio also work fine with dsdt patch and AD1988b.Fix.kext front panel (headphone and micro) work, the only problem is low microphone level and i have microphone only in front panel (someone know how to fix the volume level ? ? )

From what I remember microphone was always low level on AD1988B , but with the latest fix it got much better (at least front panel mic works good for me, rear mic works but very low volume ) I just had to turn the mic volume at max in system preferences and now I ca have a decent Skype or Yahoo call without shouting.

btw> What do you set in Bios AC97 or HDAudio in the onboard components
section

And since your sleep is working can you tell us also power management settings of your BIOS? (S1, S2, S3, Auto, resume video , Apic 2.0) ?