xsmile Posted December 27, 2012 Share Posted December 27, 2012 (edited) You can find an updated guide at: http://www.insanelymac.com/forum/topic/285697-asus-p8z77-v-lk --- Hi, this is a small guide to get as much as possible out of this motherboard. The focus is set on the board itself, not pluggable devices like CPUs or GPUs, meaning you will have to add the video card to the DSDT if needed and create an SSDT for your processor. All links and attachments are collected at the bottom of this post. General: To get the system booting you optimally need a patched BIOS and a FakeSMC.kext. The patched BIOS allows Mac to use its native power management. This way you won't need any additional or patched extensions like AppleACPIPlatform. or NullCPUPowerManagement.kext. Additionally some boot loader; I use Clover but there are alternatives as well. Chameleon might be easier to setup first. BIOS patch: Use PMPatch by CodeRush to modify your BIOS image and Flash Toolkit (FTK) to flash it. More info in the link section. Read carefully! BIOS settings: Initially I set most of the options to "manual" to ensure Mac won't have any problems recognising them. It seems the CPU section works quite well with an X.M.P. profile, too. 1) Ai Tweaker - Internal PLL Overvoltage: Disabled - EPU Power Saving Mode: Disabled 2) Ai Tweaker \ CPU Power Management - SpeedStep: Enabled - Turbo: Enabled 3) Advanced \ CPU Configuration \ CPU Power Management Configuration - Enable all states and package support --- for Clover UEFI boot: --- 4) Boot \ Compatibility Support Module (CSM) - disable if your video card got an EFI BIOS / GOP - otherwise prioritise UEFI devices 5) Boot \ Secure Boot - OS Type: Other OS <- otherwise Clover will not start 6) Boot \ Full Screen Logo - disable for native resolution without CsmVideo plugin DSDT: As of 10.8.3 this board works quite well including Sleep without DSDT modifications. I used an iMac13,1 DSDT as a guideline for most of the changes. Changes made to the DSDT extracted from BIOS v0908 with iasl 20100915 include: - USB3 Intel ports backwards compatibility (credits to Mieze) - Rearranged interrupts (IRQNoFlags) for TIMR, RTC and HPET - HDEF "layout-id" 1 for use with patched AppleHDA - HDMI audio (theoretically), didn't test - ASMedia USB3 controller automatic Wake fix - Ethernet device properties (still requires an additional driver) - Added MCHC (DRAM controller) device - Added IMEI (Intel Management Engine Interface) device - Removed PS2 keyboard, PS2 mouse, Serial Port (you probably should disable them in BIOS) - OSYS variable set to 07D2 (Windows 2001) - Cosmetic device name changes - Fixed errors and warnings, added optimisations - Added DTGP method I highly recommend not to use my DSDT without revaluation. Search for: - "SystemMemory" - "Name (RAMB," .. and replace these lines with the ones you got from your own self-extracted DSDT table. Use a new iasl version if possible to compile the .dsl file. Ethernet: The built in ethernet chip Realtek RTL8168 needs an additional extension. Lnx2Mac created a driver for it. It's available at his blog. One some boots I get a local IP though. This seems to occur randomly and sadly I didn't find a solution yet besides reloading the extension. Sound: The sound chip ALC892 needs a patched AppleHDA.kext and a way to inject the layout-id, preferably via DSDT. Attached is a modified AppleHDA.kext from 10.8.2 by toleda which works very well including front panel and microphone. USB3 ASMedia: The ASM1042 USB3 chip also needs its own drivers. Luckily CalDigit provides a driver set which just requires a small modification. Edit CalDigitUSBxHCI.kext/Info.plist. Delete IOPCISecondaryMatch: <key>IOPCISecondaryMatch</key> <string>0x01942188 0x01952188</string> Replace IOPCIMatch to match your device/vendor ID, in this case 10421B21: <key>IOPCIMatch</key> <string>0x10421B21</string> The 2 ASMedia ports are on the left side of the Ethernet port. Sleep: Sleep started working with ML 10.8.3. I didn't investigate further. --- Have fun setting things up. Link section: (Bootloader) Chameleon: http://www.insanelym...taller-binaries (Bootloader) Clover: http://www.insanelym...2-instructions/ (BIOS) Power management patch: http://www.insanelym...tching-utility/ , http://hardforum.com...d.php?t=1726429 (Section 5) (DSDT) Editor: http://www.insanelym...or-and-patcher/ (Ethernet) extension: http://lnx2mac.blogs...osx-driver.html (FakeSMC) extension: https://bitbucket.org/kozlek/hwsensors/downloads (Sound) extension: http://applelife.ru/...8z77m-pro.38014 (USB3) extension: http://www.caldigit....08&viewlocale=1 AppleHDA_id_1.zip DSDT_12.zip Edited March 27, 2013 by Guest Quote 10.9 @ Asus P8Z77-V LK [ALC892, ASM1042, RTL8168], Core i5-3570k, XFX HD 7870 Link to comment Share on other sites More sharing options...
Mirone Posted December 28, 2012 Share Posted December 28, 2012 My ASUS P8Z77-V LK BIOS v0908 is patched with an unlocked MSR.I use v10.8.3 with the latest Chameleon revision and as few modified extensions as possible - at least I hope so. They include: - FakeSMC and plugins by kozlek - RealtekRTL81xx for ethernet Also enabled TRIM for the SSD. What is not working: - Sound Realtek ALC889 - USB3 ASM1042 (- Normal boot without sleep trick due to Radeon 7870 video card) Besides, there is a warning during boot saying: Dec 27 17:14:41 localhost kernel[0]: WARNING: IOPlatformPluginUtil : getCPUIDInfo: this is an unknown CPU model 0x3a Dec 27 17:14:41 localhost kernel[0]: -- power management may be incomplete or unsupported I use an iMac13,1 SMBios file generated by Chameleon Wizard. I guess this is just a cosmetic issue? Attached is a freshly disassembled DSDT w/o modifications and the send_me package as noted in the request thread. Huge thanks to everyone willing to help me! Currently I'm going through some DSDT patch threads and trying to understand what belongs where. Hey try this:Arquivar.zip Quote Link to comment Share on other sites More sharing options...
xsmile Posted December 28, 2012 Author Share Posted December 28, 2012 Hi Mirone, thanks for your help! I didn't notice any changes though. May I ask which modifications you applied to the DSDT? Are you sure I need an SSDT file? I believe I read somewhere that Ivy Bridge has no need for it. Quote 10.9 @ Asus P8Z77-V LK [ALC892, ASM1042, RTL8168], Core i5-3570k, XFX HD 7870 Link to comment Share on other sites More sharing options...
Mirone Posted December 28, 2012 Share Posted December 28, 2012 Hi Mirone, thanks for your help! I didn't notice any changes though. May I ask which modifications you applied to the DSDT? Are you sure I need an SSDT file? I believe I read somewhere that Ivy Bridge has no need for it. I corrected your dsdt and put a tb audio kext for your test results and return with me. Quote Link to comment Share on other sites More sharing options...
irex01 Posted January 1, 2013 Share Posted January 1, 2013 i have same board as xsmile. i wonder if i can use this dsdt for my board. does it have HDMI enable and airplay? thank in advance PS: possible if someone helps me edit dsdt to make airplay (HD4000) work with ati 6850. Please, i have no clue to do it Quote Link to comment Share on other sites More sharing options...
Mirone Posted January 1, 2013 Share Posted January 1, 2013 i have same board as xsmile. i wonder if i can use this dsdt for my board. does it have HDMI enable and airplay? thank in advance PS: possible if someone helps me edit dsdt to make airplay (HD4000) work with ati 6850. Please, i have no clue to do it ?Hdmi requires other issues. run_me run the app and send me the folder send_me. Quote Link to comment Share on other sites More sharing options...
irex01 Posted January 1, 2013 Share Posted January 1, 2013 where do i find run_me app, i run a search on forum and didnt find any run_me app Quote Link to comment Share on other sites More sharing options...
Mirone Posted January 1, 2013 Share Posted January 1, 2013 I corrected your dsdt and put a tb audio kext for your test results and return with me. http://Olarila.com/apps/RunMe.zip Quote Link to comment Share on other sites More sharing options...
irex01 Posted January 1, 2013 Share Posted January 1, 2013 sry, it takes so long. i struggle with PKs and nullcpu, appleACPIPlatform... here is send me.zip. i am having issue relate to usb ports ( usb2 or 3) whenever i boot successfully to mountain lion, plug in usb to usb2 or usb3 port, system hand/freeze. no clue what happen. i cant use airplay as well. whenever i set definition to iMac12,2 no airplay at all even i enabled HD4000 with memory 64mb in bios, if change to mac mini 5.1, Airplay pop up, but after reboot, it's gone, and never come back. sleep and wake doesnt work, as well as shutdown iam using asus p8z77-v lk bios 0904 (modified rom) and i7 3770 , ati 6850 as main graphic card, Please help me out on this , thank you so much , Send me .zip Quote Link to comment Share on other sites More sharing options...
Mirone Posted January 1, 2013 Share Posted January 1, 2013 sry, it takes so long. i struggle with PKs and nullcpu, appleACPIPlatform... here is send me.zip. i am having issue relate to usb ports ( usb2 or 3) whenever i boot successfully to mountain lion, plug in usb to usb2 or usb3 port, system hand/freeze. no clue what happen. i cant use airplay as well. whenever i set definition to iMac12,2 no airplay at all even i enabled HD4000 with memory 64mb in bios, if change to mac mini 5.1, Airplay pop up, but after reboot, it's gone, and never come back. sleep and wake doesnt work, as well as shutdown iam using asus p8z77-v lk bios 0904 (modified rom) and i7 3770 , ati 6850 as main graphic card, Please help me out on this , thank you so much , Try this:DSDT.aml.zip Quote Link to comment Share on other sites More sharing options...
irex01 Posted January 1, 2013 Share Posted January 1, 2013 thank you, so i need to do clean installation again? cuz i already install everything with old dsdt Quote Link to comment Share on other sites More sharing options...
Mirone Posted January 1, 2013 Share Posted January 1, 2013 thank you, so i need to do clean installation again? cuz i already install everything with old dsdt so changing the dsdt. Quote Link to comment Share on other sites More sharing options...
irex01 Posted January 1, 2013 Share Posted January 1, 2013 i replace dsdt in extra with the new dsdt. what change would it be? can u explain .? Quote Link to comment Share on other sites More sharing options...
Mirone Posted January 1, 2013 Share Posted January 1, 2013 i replace dsdt in extra with the new dsdt. what change would it be? can u explain .? Replace dsdt in extra folder. Quote Link to comment Share on other sites More sharing options...
xsmile Posted January 1, 2013 Author Share Posted January 1, 2013 (edited) I updated my first post with some new info. @Mirone: Can you please explain which section you patched and why? I really would like to know the exact modifications / patches. Edited January 1, 2013 by Guest Quote 10.9 @ Asus P8Z77-V LK [ALC892, ASM1042, RTL8168], Core i5-3570k, XFX HD 7870 Link to comment Share on other sites More sharing options...
irex01 Posted January 1, 2013 Share Posted January 1, 2013 Ok. I changed it, test: Sleep working now. Thank you USB is now work but strange thing happen. Whenever I plug external hard drive, flash USB won't get connected, please help me with it Usb3 did not fully functioning, some port work other not Possible to enable AirPlay with dsdt? Quote Link to comment Share on other sites More sharing options...
Mirone Posted January 1, 2013 Share Posted January 1, 2013 Ok. I changed it, test: Sleep working now. Thank you USB is now work but strange thing happen. Whenever I plug external hard drive, flash USB won't get connected, please help me with it Usb3 did not fully functioning, some port work other not Possible to enable AirPlay with dsdt? I did notUSB 3.0 = Works? Usb 2.0 = Works? Airplay I need to know the manufacturer. I need more information. and which port you plug the external hd? Quote Link to comment Share on other sites More sharing options...
irex01 Posted January 2, 2013 Share Posted January 2, 2013 I plug external hard drive at black panel, 4 usb3 near Ethernet port, sry, idk how to find port # Usb2 working fine now thank you so much What kind of info do you need for AirPlay? Quote Link to comment Share on other sites More sharing options...
Mirone Posted January 2, 2013 Share Posted January 2, 2013 @Mirone:Hope you don't mind if I overextend a bit and write about other non DSDT related things which are necassary to get things running. @all: Here is my current progress: - Sound is fixed - Still got no decent solution for the ASM1042 USB3 ports. The Intel ones do work without any modifications though. - Ivy Bridge seems to need some modifications to get Turbo and Speedstep working. I'm currently looking into it. All links are collected at the bottom of this post. Attached is an AppleHDA.kext I got from applelife.ru (refer to the links) and my DSDT patch collection. Remove the video card section from it if you don't need it. You will get an error when you try to decompile and compile your modified DSDT. Replace the backslash with a double backslash in the sound section to fix it. To get the system running you need a patched BIOS ROM (do a CMOS reset after flashing it) and a FakeSMC.kext. Additionally some boot loader; I use the latest Chameleon Enoch version with just GraphicsEnabler=Yes and a preset resolution. The patched BIOS allows Mac to use its native power management. This way you won't need a patched NullCPUPowerManagement. or AppleACPIPlatform.kext. All you need to boot Mac it the FakeSMC which you can get from kozlek's HWSensors package. I also set an iMac13,1 SMBios. The built in ethernet chip Realtek RTL8168 needs an additional extension. Lnx2Mac created a driver for it. One some boots I get a local IP though and have to reboot. This seems to occur randomly and sadly I didn't find a solution yet. The sound chip ALC892 will need a patched AppleHDA.kext and a way to inject the layout-id, preferably via DSDT. The extension works fine with ML 10.8.3. Additionally you may need to edit it with your own pin configuration. The ASM1042 USB3 chip also needs its own drivers. Luckily CalDigit provides an official driver set. Sadly my ML doesn't boot with them. I can load them manually after boot though and they work fine. My DSDT patch also contains a provisional sleep fix for this chip. The i5-3570k CPU doesn't enter Turbo mode and Speedstep doesn't work either yet. Currently the patch just changes the CPU driver as it is used in the original iMacs. You probably won't notice any changes expect some new verbose boot info. Additionally you will need to add your own SSDT files. I will add more info on this later. Sleep started working with ML 10.8.3. That's all for now. I will post again in case I make any more progress. ---- (Bootloader) Chameleon: http://www.insanelymac.com/forum/topic/231075-chameleon-22svn-official-pkg-installer-binaries (Bootloader) Chameleon Wizard: http://www.insanelymac.com/forum/topic/257464-chameleon-wizard-utility-for-chameleon/ (BIOS) patched ROM: http://www.tonycrapx86.com/dsdt/43486-asus-1155-patched-bios-repository-96.html#post520148 (DSDT) editor: http://www.insanelymac.com/forum/topic/223205-dsdt-editor-and-patcher/ (Ethernet) extension: http://lnx2mac.blogspot.de/p/realtekrtl81xx-osx-driver.html (FakeSMC) extension : https://github.com/kozlek/HWSensors/tree/master/Installer (Sound & CPU) extension & patch: http://applelife.ru/threads/asus-p8z77m-pro.38014 (Sound) pin configuration: http://www.projectosx.com/forum/index.php?showtopic=465 (USB3) extensions: http://www.insanelymac.com/forum/topic/273244-usb-30-card-asm1042-os-x-drivers-from-highpointmac , http://www.caldigit.com/KB/index.asp?KBID=108&viewlocale=1 Try This: Arquivar.zip Quote Link to comment Share on other sites More sharing options...
Mirone Posted January 2, 2013 Share Posted January 2, 2013 I plug external hard drive at black panel, 4 usb3 near Ethernet port, sry, idk how to find port #Usb2 working fine now thank you so much What kind of info do you need for AirPlay? Try this:Arquivar.zip Quote Link to comment Share on other sites More sharing options...
irex01 Posted January 2, 2013 Share Posted January 2, 2013 i use ur newest dsdt but still. problem still present. here is picture of that 2 ports the two usb3 port next to ethernet still wont work with external HD or USB i have the same board as xsmile. possible if i could use xsmile's dsdt? thankyou Quote Link to comment Share on other sites More sharing options...
xsmile Posted January 2, 2013 Author Share Posted January 2, 2013 @irex01: Hi again These are the ASMedia USB3 ports. You need drivers for the ASM1042 chipset, check my first post for instructions. They will work without any DSDT edits, you may get Sleep problems though. Quote 10.9 @ Asus P8Z77-V LK [ALC892, ASM1042, RTL8168], Core i5-3570k, XFX HD 7870 Link to comment Share on other sites More sharing options...
irex01 Posted January 2, 2013 Share Posted January 2, 2013 I have sleep working. Iduno way to do now Quote Link to comment Share on other sites More sharing options...
Mirone Posted January 2, 2013 Share Posted January 2, 2013 i use ur newest dsdt but still. problem still present. here is picture of that 2 ports the two usb3 port next to ethernet still wont work with external HD or USB i have the same board as xsmile. possible if i could use xsmile's dsdt? thankyou instal 2 kexts.Usb 3.0.zip Quote Link to comment Share on other sites More sharing options...
irex01 Posted January 2, 2013 Share Posted January 2, 2013 after i install those 2 kexts, screen now turn white, how do i remove them now? Quote Link to comment Share on other sites More sharing options...