Contribute
Register

Audio - HDMI Audio AppleHDA [Guide]

Status
Not open for further replies.
below attached file with various reports.
Default framebuffer will not work. See Post #1, download [Guide]_AMD-hdmi_audio_v2.
Step 1: AMD HDMI Audio kext edits - Required
1. AppleHDA.kext - no edits required
2. Controller - edits required

Determine working framebuffer - test each framebuffer with HDMI connector for working video
If no HDMI audio; edit working framebuffer connectors for correct sense_id.

Step 2: OS X/AMD HDMI Audio - Done

For more information, download [Case_Studies]_AMD-HD7xxx_HDMI_Audio_v2.pdf
 
Hey toleda

Here's the ioreg and boot.log, had to boot with GE=Yes with this one.

I'm running off a raid0 dual ssd system partition, I sync everything with what I've got in /Extra

Not sure if this makes a difference, but thought I'd mention it.

Thanks toleda.
 

Attachments

  • R4 dsdt-dl.zip
    550.4 KB · Views: 83
  • boot.log
    8.8 KB · Views: 82
ioreg and boot.log, had to boot with GE=Yes with this one.
Post #127 shows GE=Y
The problem remains, something is injecting connector-type into HDAU.
Try the attached dsdt. Reply with new files including Boot.plist
 
Files attached as requested and here's my cuurent boot.plist

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>EthernetBuiltIn</key>
    <string>Yes</string>
    <key>GenerateCStates</key>
    <string>Yes</string>
    <key>GeneratePStates</key>
    <string>Yes</string>
    <key>Graphics Mode</key>
    <string>1920x1200x32</string>
    <key>GraphicsEnabler</key>
    <string>Yes</string>
#    <key>IGPEnabler</key>
#    <string>No</string>
    <key>Kernel Flags</key>
    <string>kext-dev-mode=1 rd=uuid boot-uuid=CE6C7595-9829-4E05-B140-A1DF705EB5F9 -v</string>
    <key>Timeout</key>
    <string>2</string>
    <key>UseKernelCache</key>
    <string>Yes</string>
    <key>Theme</key>
    <string>Default</string>
    <key>DropSSDT</key>
    <string>Yes</string>
</dict>
</plist>
 

Attachments

  • R4 dsdt-dl2.zip
    504.3 KB · Views: 77
  • boot 2.log
    8 KB · Views: 90
Hey Toleda

You've got me all excited there.

Did the hex edit with Hex Fiend and nothing. We went through this some time ago. (Hex Edit is easy to do in theory, but something was weird in Hex Fiend)

I don't understand. rebuild caches and all... nothing.

What app do you suggest?

Code:
sudo diskutil RepairPermissions / && sudo nvram boot-args="kext-dev-mode=1" && sudo kextcache -update-volume / && sudo kextcache -system-prelinked-kernel && ./sync

sync is my script to copy all I need on the ssd raid0

Code:
diskutil unmount /dev/disk0s3
diskutil unmount /dev/disk1s3
diskutil mount /dev/disk0s3
sudo rsync -vrl --delete /Extra/ /Volumes/Boot\ OS\ X/Extra
sudo rm -rf /Volumes/Boot\ OS\ X/com.apple.boot.R/System/Library/Caches/com.apple.kext.caches/Startup/*
sudo cp /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache /Volumes/Boot\ OS\ X/com.apple.boot.R/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache 
diskutil unmount /dev/disk0s3
diskutil mount /dev/disk1s3
sudo rm -rf /Volumes/Boot\ OS\ X/com.apple.boot.R/System/Library/Caches/com.apple.kext.caches/Startup/*
sudo cp /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache /Volumes/Boot\ OS\ X/com.apple.boot.R/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
sudo rsync -vrl --delete /Extra/ /Volumes/Boot\ OS\ X/Extra
diskutil unmount /dev/disk1s3

EDIT : More info I'm getting this in dmesg :

Sound assertion in AppleHDAController at line 2861
https://pikeralpha.wordpress.com/20...sh-v2-9-with-yosemite-support/comment-page-1/

You may see the following sound assertion in: /var/log/system.log (DP3)

“Sound assertion in AppleHDAController at line 2861“

Fixed by changing the connector-type data in the HDMI frame buffer from 0004 0000 to 0008 0000.

Sound assertion in AppleHDADriver at line 580
https://digitaldj.net/blog/2013/07/25/a-new-sound-assertion-in-mavericks/

If you trace it back in IDA, you find that an assertion is raised when accessing the IOService plane, looking for “MaximumBootBeepVolume”. This is related to the chime sound a real Mac makes when it turns on. Basically, we need to add this to our HDEF definition in DSDT.

So in your _DSM Package:

"MaximumBootBeepVolume", 0x4D

0x4D (77 dec) is the default value in a real iMac 12,2 and iMac13,2.

Huzzah, no more sound assertions and a clean Mavericks boot.

related? especially assertion 2861
 
Status
Not open for further replies.
Back
Top