- Joined
- Jul 18, 2011
- Messages
- 297
- Motherboard
- Z77X-UP5 TH
- CPU
- 3570K
- Graphics
- R9 270X
- Mac
- Classic Mac
- Mobile Phone
Completed
Processor (with speed-stepping) | ✓ |
|
Graphics | ✓ |
|
Sleep | ✓ |
|
Backlight | ✓ |
|
USB | ✓ |
|
SATA | ✓ |
|
Ethernet | ✓ |
|
Audio | ✓ |
|
Card Reader | ╳ |
|
Trackpad | ✓ |
|
Keyboard | ✓ |
|
Battery | ✓ |
|
Doing this over again, better this time. I got Mac OS going barely enough to get me through the semester and now I have some time to re-do things.
Power Management and MSR: 0xE2
If you want to fix power management using the BIOS method, use CodeRush's tool. http://www.insanelymac.com/forum/topic/285444-uefipatch-uefi-patching-utility/page-76#entry2031914
You will need to flash the patched BIOS using "afuwinx64 bios-pmpatched /gan".
If you DON'T want to patch your BIOS, set up Clover appropriately (With pm kext patching).
Clover Configuration
Basic install is pretty straightforward. Clone base system and packages onto a usb drive as you normally would and install clover as usual. System configuration directory for this machine will be "/EFI/EFI/CLOVER/OEM/GS70 2OD/".
The only thing you need to make sure you have is Intel graphics injection with an ig-platform-id of "0x0a260005". I used the MacBookPro11,2 SMBIOS. This will give you proper speed-step and AGPM later. You may also need dart=0 as Vt-d can't be disabled from BIOS.
In the Clover kexts folder, you'll only need the bare essentials.
- FakeSMC
- PS2
- ACPI Battery Manager
- ACPI Backlight
Don't add the ACPI tables yet.
If you get stuck unable to boot after installation, go in with safe mode, go through setup and then reboot normally.
Both integrated and discrete graphics are recognised and loaded. GTX 765M works only through the DisplayPorts and presumably HDMI, though I haven't tested. Both DisplayPorts output fine and drive 2560x1600 without issues. The ACPI tables have been fixed for disabling the GTX should you want to. There are two DSDTs; DSDT.aml, which has the GTX disabled and DSDTnvidia.aml, which does not. To switch between the two, simply redirect the file accordingly in the Clover 'DSDT Fix Mask' menu.
If you have have problems with the camera, Fn-F6 just like Windows. The power to it is controlled by the EC. I suppose it could be permanently enabled by writing to the appropriate register in EC._REG but I can't real be bothered. I rarely use the camera on my current MacBook Pro as it is.
ACPI Configuration
Before adding the ACPI tables, DUMP YOUR OWN. That means all of it. Then, download origin.zip below (these are my untouched unfixed tables) and do a diff against them. Region addresses are highly susceptible to change, even through BIOS option and of course system memory changes. If you do not do this step, there's a good chance things will not work.
Once you have found the differences, download finalDSL.zip. Open up my DSDT.dsl and DSDR(PEGP_Disabled).dsl. These two are identical except the latter has a few lines to disable the GPU. Update the region addresses as needed and compile. Save DSDT.dsl as DSDTnvidia.aml and DSDT(PEGP_disabled).dsl as DSDT.aml.
This next step is very important. You will do a diff for the SSDTs as well but only for SSDT-10/11. These two have been modified slightly in order to correctly disable the GPU. Copy over your own SSDT-1/8/9 amls untouched. Once you have updated the addresses for SSDT-10/11, compile them and save them as .aml files.
Lastly, head over to pikeralpha's github and grab SSDTPRGen. Generate yourself a CPU SSDT and save it to Clover.
Before restarting, rename all the SSDTs in Clover such that you have:
SSDT
SSDT-1
SSDT-2
...
SSDT-n
The order doesn't matter, just make sure the first one is SSDT not SSDT-0. Don't forget to drop OEM SSDT.