Jump to content
xsmile

ASUS P8Z77-V LK

Recommended Posts

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 by Guest

10.9 @ Asus P8Z77-V LK [ALC892, ASM1042, RTL8168], Core i5-3570k, XFX HD 7870

Link to comment
Share on other sites

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

btn_donate_SM.gif
Link to comment
Share on other sites

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.

10.9 @ Asus P8Z77-V LK [ALC892, ASM1042, RTL8168], Core i5-3570k, XFX HD 7870

Link to comment
Share on other sites

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.

btn_donate_SM.gif
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

btn_donate_SM.gif
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

btn_donate_SM.gif
Link to comment
Share on other sites

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 by Guest

10.9 @ Asus P8Z77-V LK [ALC892, ASM1042, RTL8168], Core i5-3570k, XFX HD 7870

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 not

USB 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?

btn_donate_SM.gif
Link to comment
Share on other sites

@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

btn_donate_SM.gif
Link to comment
Share on other sites

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


9fo28p.jpg



i have the same board as xsmile. possible if i could use xsmile's dsdt?


thankyou

Link to comment
Share on other sites

@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.

10.9 @ Asus P8Z77-V LK [ALC892, ASM1042, RTL8168], Core i5-3570k, XFX HD 7870

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...
The popup will be closed in 15 seconds...