Contribute
Register

[Success] i5 2500K - Zotac Z77- ITX - Mountain Lion

Status
Not open for further replies.
I am sure it must be. I did that with the HD 3000 guide, mapping it to port 5 (two HDMI ports 5 and 6 can choose one or the other not both). Surely must be similar for HD 4000....
 
Miramar,
For the HD 3000 the shifting of HDMI to go to the proper HDMI audio port needed edits to the AppleIntelSNBGraphicsFB.kext which of course is not what HD 4000 uses. I think that uses instead the AppleIntelFramebufferCapri.kext.
I had a quick look at the binary inside that and can see that it is very similar to the sandy bridge HD 3000 kext around the connector table (i.e. the bit to change).

What I mean is that for my changes under HD 3000 I needed this part of Toledas guide Reproduced below:


Code:
c. macmini5,1 For port-number 0x5
AppleIntelSNBGraphicsFB Binary
Note: Lion 10.7.2 with AppleIntelSNBGraphicsFB.kext_v7.12.9)



macmini5,1 - original
0000078: 0002 0300 0000 0000 ffff ffff ............
0000084: 0205 0000 0004 0000 0700 0000 ............
0000090: 0304 0000 0004 0000 0900 0000 ............
000009c: 0406 0000 0008 0000 0600 0000 ............

Address removed:
macmini5,1 - original
00 02 03 00 00 00 00 00 ff ff ff ff
02 05 00 00 00 04 00 00 07 00 00 00
03 04 00 00 00 04 00 00 09 00 00 00
04 06 00 00 00 08 00 00 06 00 00 00

Expected result:
macmini5,1 - edited
00 02 03 00 00 00 00 00 ff ff ff ff
02 05 00 00 00 08 00 00 06 00 00 00
03 04 00 00 00 04 00 00 07 00 00 00
04 06 00 00 00 04 00 00 09 00 00 00

AppleIntelSNBGraphicsFB Binary Edits
Find the first entry of the framebuffer table (there is a second entry for 32 bit, ignore)

1. Find: 00 02 03 00 00 00 00 00 ff ff ff ff /* No Changes

2. Find: 02 05 00 00 00 04 00 00 07 00 00 00 /* Should be next to entry above
Replace: 02 05 00 00 00 08 00 00 06 00 00 00

3. Find: 03 04 00 00 00 04 00 00 09 00 00 00 /* Should be next to entry above
Replace: 03 04 00 00 00 04 00 00 07 00 00 00

4. Find: 04 06 00 00 00 08 00 00 06 00 00 00 /* Should be next to entry above
Replace: 04 06 00 00 00 04 00 00 09 00 00 00

5. Save

Now the AppleIntelCapriFramebuffer binary is not quite the same but it DOES include this section:

02 05 00 00 00 04 00 00 07 00 00 00
03 04 00 00 00 04 00 00 07 00 00 00
04 06 00 00 00 04 00 00 07 00 00 00

which looks a bit too similar to the connector table for the HD 3000 kext to just be coincidence. However, it looks like there is a lot of reference there to what might be port "7" in the info which I see from the Toleda thread for the 4000 seems to be the active port. I don't know if it would be oversimplifying matters, but might it be worth trying just changing the 07 to 05 and seeing if it activates HDMI audio there (providing you have all the other DSDT edits done correctly). It is a long shot, but what do you think? I doubt it'll do the job, but I would bet this is part of the section of code that does control the routing to the different ports and some sort of edit to it may well be the key.

If you want to give it a try let me know or discuss with Toleda as he is really the guru for all this stuff.
 
I see Toleda already gave you some good advice over on the HD 4000 thread with some possible frame buffer edits - looks like I was probably looking at the wrong part of the connector table. Anyway I hope you get the right edit that works out for you!

If you need any help editing the binary let me know. Otherwise, good luck!!!
 
minihack, I really appreciate the help you've been giving me. As you read in Toleda's thread, he's replied with a simple hex edit to the Capri kext. I'm happy with HDMI Audio only on Displayport now that I've got an DP/HDMI adaptor so I probably won't be editing it. Trying to keep the system as Vanilla as possible. I'm going to try what Toleda suggested, delete one of the sound outputs, and see if I can get another HDMI Audio out on a second connector.

That was was probably the last problem I've had with the system. Everything is working well now. Just tested a few more things:

-HDMI audio works only through the DP
-Auto sleep works.
-Line Out analog audio works (Orange audio jack)
-Bluetooth seems to be OK. Apple Wireless Keyboard OK. Pairing an iPhone OK. But Console is logging lots of "AppleBluetoothHCIControllerUSBTransport kIOUSBHighSpeedSplitError", I think, after wake from sleep and, I believe, at the system boot also.

I'm also using my own DSDT now with 2 edits, Toleda's HDEF and HD4000 HDMI audio. I noticed that the pStates are now "MSRDumper PStatesReached: 16 22 25 33 34 36" This looks better right?
 
All looks very good.

I wouldn't worry too much about the console errors as long as the system seems to be working well. It might just be a feature of using the good old DBT-120 on this board.

Might be useful for others if you wanted to post your own DSDT up to the thread now you have working HD 4000 audio via DP.
 
All looks very good.

I wouldn't worry too much about the console errors as long as the system seems to be working well. It might just be a feature of using the good old DBT-120 on this board.

Might be useful for others if you wanted to post your own DSDT up to the thread now you have working HD 4000 audio via DP.
Bluetooth seems to be working ok despite the console errors.

I'm just about to DSDT the AR9285. I'll post the DSDTs after that. Hope I get it working.

Update: OK, adding AR9285 to DSDT is successful.

Here're are my DSDTs. Hopefully, these will be useful to somebody.

The DSDTs are for the Zotac Z77ITX-A-E with Stock BIOS 2k120605. I've included 3 DSDTs in the archive.
(Please note that with a stock BIOS, you will need a patched AICPUPM to avoid a KP at startup)

dsdt-HDEF.aml
This dsdt contains edits to enable Realtek 892 analog audio output and SPDIF. Nothing else.
dsdt-HDEF-HDMI4000.aml
As above including edits for HD4000 HDMI audio. HDMI audio out via DisplayPort connector only. I'm using an i5 3570K.
dsdt-HDEF-HDMI4000-AR9285.aml
As above with edits for the bundled Azurewave Atheros AR9285 WiFi card. (168c,2b)

Cheers!
 

Attachments

  • dsdt-miramar-Zotac-Z77ITX.zip
    42.1 KB · Views: 79
Many thanks Miramar, I have added your files and notes to the first post to help others find them quickly.:)
 
Many thanks Miramar, I have added your files and notes to the first post to help others find them quickly.:)
Thanks for that. Just did one more thing to make it the near perfect hackintosh. Created a Recovery Partition (which doesn't actually work), just to get "Find my Mac" working.

Also tested WOL wake from sleep over Ethernet as well as Wifi works.

And as a bonus to us, something that 99.884% of real Macs can't do, WOL wake from power-off works. In the Apple world, remote power-on is part of something called LOM or Lights Out Management which I think is only supported by Xserves and Mac Pros.

Update: "Find My Mac" works but its setting in System Prefs is unchecked on every reboot. Any ideas or fixes for this?
Update: "Find My Mac" prob solved with this post.
 
Here're are my DSDTs. Hopefully, these will be useful to somebody.

Miramar and minhack, this thread has been very helpful. I was able to use the dsdt-HDEF-HDMI4000-AR9285.am DSDT you posted on my H77ITX-B-E mobo + i5 3570K CPU. Your DSDT enabled analog audio and Wifi on my board, although HDMI audio did not work. I am going to try to get HDMI audio working and then create my own DSDT for the H77 board, to keep the ball rolling...

thanks again for all the help! :D
 
Miramar and minhack, this thread has been very helpful. I was able to use the dsdt-HDEF-HDMI4000-AR9285.am DSDT you posted on my H77ITX-B-E mobo + i5 3570K CPU. Your DSDT enabled analog audio and Wifi on my board, although HDMI audio did not work. I am going to try to get HDMI audio working and then create my own DSDT for the H77 board, to keep the ball rolling...

thanks again for all the help! :D

No problems. I've replied to your H77ITX thread. Hope we can get yours sorted out soon. Also check my thread here where I've detailed my Z77ITX build. It's working really well. miramar's Zomac: Zotac Z77ITX - i5 3570K - HD4000 - Mini-ITX - Mountain Lion
 
Status
Not open for further replies.
Back
Top