InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 09-10-2009, 09:13 AM
Snoc Snoc is offline
Cheetah
 
Join Date: Aug 2009
Posts: 14
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.
Attached Files
File Type: zip DSDTFiles.zip (42.8 KB, 1270 views)

Last edited by Snoc; 09-10-2009 at 09:22 AM.
Reply With Quote
  #2  
Old 09-10-2009, 12:41 PM
fishcow fishcow is offline
Puma
 
Join Date: Aug 2009
Posts: 25
Quote:
Originally Posted by Snoc View Post
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
Reply With Quote
  #3  
Old 01-10-2010, 08:40 PM
cyborg28 cyborg28 is offline
Cheetah
 
Join Date: Jan 2010
Posts: 1
Quote:
Originally Posted by Snoc View Post
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
Many Many Thanks.

I have spent 3 Days trying to follow this:

[GUIDE] Snow Leopard on P5KE WIFI P5K-E 64bit vanilla, 2nd UPDATE. NOW WITH RC3.

But could only get sound working via DSDT Patching. Sleep would not work no matter what I tried.

I used your DSDT.aml file straight up with no changes now sound, sleep and HDD icons are working right.

If others have a P5K-E Wifi I suggest trying this DSDT file FIRST!!!

I am not a programmer or expert by any means, but I have been Hackingshing since 10.4.8 and this Snow Leopard is the most Trouble I have had.

Thanks again!

Cyborg.

P5K-E Wifi BIOS 1202 +C2Q6600 (Sound Network HDD, IDE DVD, jmicron Sleep all working. Wifi Not Tested.) Working via Guide link + Snoc DSDT
XFX 8800GT 512MB / G92 Working Via EFI_Studio

Last edited by cyborg28; 01-10-2010 at 09:20 PM.
Reply With Quote
  #4  
Old 09-10-2009, 11:45 AM
fishcow fishcow is offline
Puma
 
Join Date: Aug 2009
Posts: 25
Thank you for your reply Snoc.
I will try them and report back
Reply With Quote
  #5  
Old 09-10-2009, 02:54 PM
Snoc Snoc is offline
Cheetah
 
Join Date: Aug 2009
Posts: 14
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
Reply With Quote
  #6  
Old 09-10-2009, 03:55 PM
fishcow fishcow is offline
Puma
 
Join Date: Aug 2009
Posts: 25
Quote:
Originally Posted by Snoc View Post
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.
Attached Images
File Type: jpg Screen shot 2009-09-11 at 12.42.35 AM.jpg (9.5 KB, 35 views)
File Type: jpg Screen shot 2009-09-11 at 12.44.57 AM.jpg (10.8 KB, 12 views)
Attached Files
File Type: zip SS folder.zip (221.1 KB, 33 views)
Reply With Quote
  #7  
Old 09-10-2009, 04:25 PM
lancelotu lancelotu is offline
Jaguar
 
Join Date: Jul 2009
Posts: 58
Quote:
Originally Posted by fishcow View Post
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

Last edited by lancelotu; 09-10-2009 at 04:29 PM.
Reply With Quote
  #8  
Old 09-10-2009, 04:41 PM
fishcow fishcow is offline
Puma
 
Join Date: Aug 2009
Posts: 25
Quote:
Originally Posted by lancelotu View Post
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
Thanks - but that was the old DSDT - prior to doing Snoc's suggested extra USB and new SATA . I made sure to delete the old SATA.
See new screen shots and you will see that I am getting ESB2 - but my HDDs are still seen as Removable media . . dunno why.
I've been using BBEdit (trial) with folding and file comparison - got that hint from another thread.
New DSDT attached.
Attached Files
File Type: zip USB_SATA_DSDT2.dsl.zip (27.6 KB, 44 views)

Last edited by fishcow; 09-10-2009 at 04:46 PM.
Reply With Quote
  #9  
Old 09-10-2009, 04:11 PM
johnbell johnbell is offline
Cheetah
 
Join Date: Sep 2009
Posts: 3
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.

Last edited by johnbell; 09-10-2009 at 04:14 PM.
Reply With Quote
  #10  
Old 09-10-2009, 04:16 PM
johnbell johnbell is offline
Cheetah
 
Join Date: Sep 2009
Posts: 3
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.
Reply With Quote
Reply