Jump to content

enable SATA HotPlug


dawiinci
 Share

15 posts in this topic

Recommended Posts

I want to use HotPlug for an internal SATA on my ASUS P5Q. The installation is vanilla with a modified Bios and these KEXTS in /Extra/Extensions. I use the main SATA ports.

 

/Extra/Extensions/IOAHCIBlockStorageInjector.kext

/Extra/Extensions/fakesmc.kext

/Extra/Extensions/OpenHaltRestart.kext

 

The problem is that the drive doesn't show up if I activate it. When I eject and disable it I get stability problems. I can activate it but I need to restart.

Link to comment
Share on other sites

AHCI is enabled. I use the Bios from juzzi and I don't use a DSDT.aml.

 

If ESB2 means I had the orange icons - that's true. Could IOAHCIBlockStorageInjector.kext disable HotPlug?

ESB2 --> HotPlug fail

IOAHCIBlockStorageInjector.kext --> Hot Plug ok :D

Link to comment
Share on other sites

I try to use Chameleon RC5 r699. Maybe this will fix something.

 

I don't know about ESB2 but would it help to use DSDT.aml on a vanilla system with a modified Bios?

send me your DSDT

 

run on terminal

 

perl -e 'open(CMD, "ioreg -lw0 \| grep DSDT|") or die; while(<CMD>) { chomp; if($_ =~ /\"DSDT\.?\d?\"=<([^>]*)>/) { $buff = $1; open(PIP, "|xxd -r -p > ~/Desktop/dsdt.aml") or die; print PIP "$1"; } }'

Link to comment
Share on other sites

Here it is:

*removed*

 

Thanks for your help.

 

Edit:

Btw. I installed chameleon 2.0 RC5 r699. It still doesn't work. However once I connect the drive the beachball appears and the system freezes for some seconds. At least I don't have to use OpenHaltRestart.kext anymore.

 

Is there any way to find out if the CPU saves energy?

I added the new GenerateCStates and GeneratePStates from RC5 but it's difficult to say if there is an improvement.

Link to comment
Share on other sites

I uninstalled IOAHCIBlockStorageInjector.kext but still not working.

 

The SATA is on AHCI, and the HDD is working properly. I just have to power it on before boot. But this is not HotPlug.

 

Your DSDT.aml didn't work with the modded BIOS nor with the vanilla BIOS. To be sure I placed the file in /Extra and in /.

Link to comment
Share on other sites

Is there anything else I can try?

 

look at the bios

 

an example

my motherboard I need to turn in two places

if I did not activate these two locations

hotplug not working

 

SATA RAID/AHCI MODE = AHCI

Onboard Sata/Ide Ctrl Mode = AHCI

ahci.jpg

 

read the motherboard manual

Link to comment
Share on other sites

P5Q series boards do not need a patched BIOS in order to run OS X.

 

I wish someone would just nuke the posts and threads where this information comes from.

Didn't know that, I just remember that I wasn't able to run Leopard without cpus=1.

 

 

look at the bios

 

an example

my motherboard I need to turn in two places

if I did not activate these two locations

hotplug not working

 

SATA RAID/AHCI MODE = AHCI

Onboard Sata/Ide Ctrl Mode = AHCI

 

read the motherboard manual

 

I have enabled all AHCI options. The P5Q only has one. Still no hotplug.

Link to comment
Share on other sites

 Share

×
×
  • Create New...