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)

fishcow 09-10-2009 05:33 AM

4 Attachment(s)
A huge thank you to all who put in the work and provided the information.
I now have a fully functional SL install on my P5K-E Wifi-AP.

Just a couple of niggles, and wondering if they can be sorted by further DSDT editing.

1. Even with the SATA dsdt patch - my HDDs will still be reported as external in Disk Utility.
2. My two SATA optical drives show up as "internal" - if I leave any media in the drives without accessing regularly - the optical drives become unresponsive - no power. I have to reboot to get them working again.

I have attached a few files.

Snoc 09-10-2009 09:13 AM

1 Attachment(s)
Hi, fishcow

There are my both dsdt files here with 3 more fixes. Two for two more built-in usb fixes and another for sata fix.

->USB fix. Method (_DSM, 4, NotSerialized) was added to Device (EUSB) and Device (USBE) like those :

Device (EUSB)
{
Name (_ADR, 0x001D0007)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0D, 0x04))
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x3A, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Device (USBE)
{
Name (_ADR, 0x001A0007)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0D, 0x04))
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x3C, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}



->Sata Fix. I added Method (_DSM, 4, NotSerialized) just before Method (_REG, 2, NotSerialized) on Device (SATA) section, like this:


Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x81, 0x26, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

Now SATA will be reported as Intel ESB2 AHCI and drives will be seen as internal

My dsdt file that i'm posting here have all USB, SATA and Sound Fix. I Hope this works for you as well as me. All credits goes to the people who posted here. I only can say a big thank you to all of them

Kind regards,
Snoc

PS. dsdt.aml must be renamed to DSDT.aml and copied to / (using cahemeon 2 this works under / or /Extra). Look at System profiler USB to see if they are built-in. If USB are Built-in then your DSDT.aml have been loaded. Sorry for my english.

fishcow 09-10-2009 11:45 AM

Thank you for your reply Snoc.
I will try them and report back

fishcow 09-10-2009 12:41 PM

Quote:

Originally Posted by Snoc (Post 34233)
Hi, fishcow

There are my both dsdt files here with 3 more fixes. Two for two more built-in usb fixes and another for sata fix.

->USB fix. Method (_DSM, 4, NotSerialized) was added to Device (EUSB) and Device (USBE) like those :

Device (EUSB)
{
Name (_ADR, 0x001D0007)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0D, 0x04))
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x3A, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}

Device (USBE)
{
Name (_ADR, 0x001A0007)
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0D, 0x04))
}

Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x3C, 0x3A, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}



->Sata Fix. I added Method (_DSM, 4, NotSerialized) just before Method (_REG, 2, NotSerialized) on Device (SATA) section, like this:


Method (_DSM, 4, NotSerialized)
{
Store (Package (0x02)
{
"device-id",
Buffer (0x04)
{
0x81, 0x26, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}

Now SATA will be reported as Intel ESB2 AHCI and drives will be seen as internal

My dsdt file that i'm posting here have all USB, SATA and Sound Fix. I Hope this works for you as well as me. All credits goes to the people who posted here. I only can say a big thank you to all of them

Kind regards,
Snoc

PS. dsdt.aml must be renamed to DSDT.aml and copied to / (using cahemeon 2 this works under / or /Extra). Look at System profiler USB to see if they are built-in. If USB are Built-in then your DSDT.aml have been loaded. Sorry for my english.

I tried your fixes - My SATA drives now show up as connected to ESB2 AHCI instead of intel AHCI 10 . . but they are still seen as external drives :(
I already had all my USB ports showing as built-in.
I don't know . . lol

Snoc 09-10-2009 02:54 PM

Could you try to do a second reboot to see if they are fixed (to update caches)?

I also have the in /Extra/Extensions the next files:

AD1988b.Fix.kext
AHCIPortInjector.kext
AppleYukon2Injector.kext
fakesmc.kext
IOAHCIBlockStorageInjector.kext
JMicronATA.kext
NullCPUPowerManagement.kext
OpenHaltRestart.kext
PlatformUUID.kext
SleepEnabler.kext

fishcow 09-10-2009 03:55 PM

3 Attachment(s)
Quote:

Originally Posted by Snoc (Post 34252)
Could you try to do a second reboot to see if they are fixed (to update caches)?

I also have the in /Extra/Extensions the next files:

AD1988b.Fix.kext
AHCIPortInjector.kext
AppleYukon2Injector.kext
fakesmc.kext
IOAHCIBlockStorageInjector.kext
JMicronATA.kext
NullCPUPowerManagement.kext
OpenHaltRestart.kext
PlatformUUID.kext
SleepEnabler.kext

Thanks for your help . . I also have some of those extensions, but I thought the idea of patching DSDT was so that you didn't need plist only injector kexts.
My drive icons are OK because I'm still using the injector . . but I'd like to get rid of it.
I did sudo touch /System/Library/Extensions and also later rebooted with -f flag.

The DSDT patch is working from the first reboot - hence the new ESB2 AHCI instead of Intel ICH10
I have ATA/PATA disabled in my BIOS.
It's just that the drives are still reported as "Removable" in System Profiler and "External" in Disk Utility.
I seem to have solved my DVD problems with Firmware updates (applied in XP).
So all is not lost - I have a great system - just really interested in DSDT hacking now :)
I'd also like to get my ethernet seen as Built-in.
I have no programming background - so it's a steep learning curve.

I wouldn't have gotten this far without all this help.
Thanks again.

johnbell 09-10-2009 04:11 PM

Hey Guys I try to install Snow leopard, got it to install and when I reboot setup my info, see my desktop, a few minutes I get kernel Panic Screen. I have leopard 10.5.8 working on another 500gb hard Drive. What do I need to do to fix this.

I have these in my System/Library/Extensions
AD1988b.Fix.kext
AHCIPortInjector.kext
AppleYukon2Injector.kext
fakesmc.kext
IOAHCIBlockStorageInjector.kext
JMicronATA.kext
NullCPUPowerManagement.kext
OpenHaltRestart.kext
PlatformUUID.kext
SleepEnabler.kext


My System:
ASUS P5K-E LGA 775 Intel P35 ATX Intel Motherboard
Core 2 Duo 8400
Nvidia GeForce 8800GT
3x 500GB SATA Hard Drives
SATA DVD Drives
8GB Memory



Thank you.

johnbell 09-10-2009 04:16 PM

Hey Guys I try to install Snow leopard, got it to install and when I reboot setup my info, see my desktop, a few minutes I get kernel Panic Screen. I have leopard 10.5.8 working on another 500gb hard Drive. What do I need to do to fix this.

I use info and files from the first post.

My System:
ASUS P5K-E LGA 775 Intel P35 ATX Intel Motherboard
Core 2 Duo 8400
Nvidia GeForce 8800GT
512mb

8GB Memory


Thank You.

johnbell 09-10-2009 04:18 PM

Hey Guys I try to install Snow leopard, got it to install and when I reboot setup my info, see my desktop, a few minutes I get kernel Panic Screen. I have leopard 10.5.8 working on another 500gb hard Drive. What do I need to do to fix this.

I use info and files from the first post.

My System:
ASUS P5K-E LGA 775 Intel P35 ATX Intel Motherboard
Core 2 Duo 8400
Nvidia GeForce 8800GT
3x 500GB SATA Hard Drives
SATA DVD Drives
8GB Memory


Thank You.

lancelotu 09-10-2009 04:25 PM

Quote:

Originally Posted by fishcow (Post 34258)
Thanks for your help . . I also have some of those extensions, but I thought the idea of patching DSDT was so that you didn't need plist only injector kexts.
My drive icons are OK because I'm still using the injector . . but I'd like to get rid of it.
I did sudo touch /System/Library/Extensions and also later rebooted with -f flag.

The DSDT patch is working from the first reboot - hence the new ESB2 AHCI instead of Intel ICH10
I have ATA/PATA disabled in my BIOS.
It's just that the drives are still reported as "Removable" in System Profiler and "External" in Disk Utility.

Hello,
I've just seen your DSDT and I think I know why your sata is still listed as AHCI and not ESB2

Open your DSDT with some text editor and search for Device (SAT1) . On top of this string you will find this :


Code:

                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x02)
                        {
                            "device-id",
                            Buffer (0x04)
                            {
                                0x22, 0x3A, 0x00, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }

            Device (SAT1)
            {
                Name (_ADR, 0x001F0005)......

Change the numbers highlighted in 81 and 26 .

After restart, if your sata is listed as ESB2 you can trash your ahciportinjector and IOAHCIBlockStorage kexts and remake the Extensions.mkext

I also recommend FileMerge.app to compare DSDT files easier. It helped me a lot and it came with developer tools ;)