InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #151  
Old 09-10-2009, 05:33 AM
fishcow fishcow is offline
Puma
 
Join Date: Aug 2009
Posts: 25
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.
Attached Images
File Type: jpg Screen shot 2009-09-10 at 2.20.55 PM.jpg (9.1 KB, 100 views)
File Type: jpg Screen shot 2009-09-10 at 2.23.06 PM.jpg (13.4 KB, 55 views)
Attached Files
File Type: zip USB_SATA_DSDT.dsl.zip (27.6 KB, 81 views)
File Type: zip screenshots.zip (251.9 KB, 42 views)

Last edited by fishcow; 09-10-2009 at 06:52 AM. Reason: adding screenshots
Reply With Quote
  #152  
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
  #153  
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
  #154  
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
  #155  
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
  #156  
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
  #157  
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
  #158  
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
  #159  
Old 09-10-2009, 04:18 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
3x 500GB SATA Hard Drives
SATA DVD Drives
8GB Memory


Thank You.
Reply With Quote
  #160  
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



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


Last edited by lancelotu; 09-10-2009 at 04:29 PM.
Reply With Quote
Reply