Hot Plugging To Your SATA Ports

About:

This guide will explain how to add Hot Plugging to your SATA ports. This DSDT will enable you to swap any of your SATA drives under Mac OS X. Many of you have asked for this and feel free to ask any questions.

Guide:

1. Use IOreg to locate the SATA port address:

2. Open up your DSDT.aml in your editor of your choice

3. Locate the Address of your SATA Ports in your DSDT.aml:

Device (ASME)
{
Name (_ADR, Zero)

Device (PRT0)
{
Name (_ADR, Zero)

}
Device (PRT1)
{
Name (_ADR, 0x00010000)
}
}

4. Add the code in Bold to your code:

Device (ASME)
{
Name (_ADR, Zero)
Method (_HPP, 0, NotSerialized)
{
Return (Package (0x04)
{
0x08,
0x40,
One,
Zero
})
}
Device (PRT0)
{
Name (_ADR, Zero)
Method (_EJ0, 1, NotSerialized)
{
}
}
Device (PRT1)
{
Name (_ADR, 0x00010000)
Method (_EJ0, 1, NotSerialized)
{
}
}
}

5. Now compile your DSDT and you should not receive any errors. Now save your DSDT to your desktop as DSDT.aml

6. Copy your newly created DSDT and paste it over your current DSDT located in your Extra Folder located at the root of your drive

7. Restart your system and you should now have Hot Swapping enabled on your SATA Ports.

Note this must be done to every SATA device in the DSDT if you wish to have all posts enabled for Hot Swaping

12 Responses to Hot Plugging To Your SATA Ports

  1. Shiloh says:

    Can you please make .rtf or a .aml for me to download so I can get the spacing right?

    Thanks!

  2. mandro71 says:

    This code can be used for Marvell 9128 PCIe SATA 6Gb, I is specific Asmedia.
    thanks

  3. mandro71 says:

    Thanks for the reply
    Each chipset mean “SATA 3 6GB”

  4. kuebeker says:

    Tried it and MAC OSPN down not process _HPP or _EJx.

    Hav you got this to work? If so can I get a cope of the DSDT it was used in and what Mac model you used in your SMBios?

  5. Tobsn says:

    Hi,
    I could relly need your help since I’m not into hacking and coding. I try to make esata on an GA-Z68x-UD3H-B3 hot swappable, but I don’t find the port in the DSDT editor. I already found the port in IOreg, but it seems not to appear in the editor 😦 Can you help me out somehow? I want that god damn thing to be hot swappable!

    Thanks in advance

    Tobsn

  6. Tobsn says:

    Any chance to get this to work? I located the eSATA as port 5 but can’t find it in the DSDT since there are just two ports listed as SATA ports.

    Cheers

    T

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s