Contribute
Register

Lion HDMI Audio - Part 3a: Kext Edits - AMD

Status
Not open for further replies.
Re: Part 3a: Lion HDMI Audio Kext Edits - AMD

toleda said:
I believe in cautious as well. I don't know why your 5770 is not making HDMI audio. Please attach a current IOReg with a HDMI device plugged in. I'd like screenshots of 1. Profiler/Graphics and 2. Preferences/Sound/Output. Remind me which motherboard audio codec you have. We can try the HDMI audio on the 460 anytime. Some code is added and applehda is patched.
Current IOReg with HDMI connected is the Lion-10.7.1 I attached a couple of posts back, bur will post it again with profiler graphics and pref/sound/output when I get home tonight.
 
Re: Part 3a: Lion HDMI Audio Kext Edits - AMD

OK, here is a new IOREG + some screen shots of finder, preferences and profiler. Let me know what you make of it.
 

Attachments

  • X58A-UD7-HDMI.zip
    2.4 MB · Views: 91
Re: Part 3a: Lion HDMI Audio Kext Edits - AMD

Going Bald said:
OK, here is a new IOREG + some screen shots of finder, preferences and profiler. Let me know what you make of it.

Your IOReg values are the same as as I get with 5870 and with the 5770 I tested. Two experiments.

1. Please try the AppleHDA.kext attached. It is edited for 889 on board and gives HDMI audio with my 6870.

2. If I doesn't work, let try editing the Ati5000Controller.kext Vervet framebuffer as shown.

Sapphire 5770

Original

Personality: Vervet
ConnectorInfo count in decimal: 4
Disk offset in decimal 167264
0000000 00 04 00 00 00 04 00 00 00 71 00 00 12 04 04 02
0000010 04 00 00 00 14 00 00 00 00 71 00 00 01 12 01 04
0000020 00 02 00 00 14 00 00 00 00 71 00 00 00 00 06 03
0000030 00 08 00 00 00 02 00 00 00 71 00 00 22 05 05 01

Try this: switch line 3 and line 4. Boot with: AtiPorts=3 ATIConfig=Vervet

Your edited Vervet Framebuffer should look like this:

Personality: Vervet
ConnectorInfo count in decimal: 4
Disk offset in decimal 167264
0000000 00 04 00 00 00 04 00 00 00 71 00 00 12 04 04 02
0000010 04 00 00 00 14 00 00 00 00 71 00 00 01 12 01 04
0000020 00 08 00 00 00 02 00 00 00 71 00 00 22 05 05 01
0000030 00 02 00 00 14 00 00 00 00 71 00 00 00 00 06 03

Good luck.
 

Attachments

  • AppleHDA.kext.zip
    1.4 MB · Views: 202
Re: Part 3a: Lion HDMI Audio Kext Edits - AMD

toleda said:
Your IOReg values are the same as as I get with 5870 and with the 5770 I tested. Two experiments.

1. Please try the AppleHDA.kext attached. It is edited for 889 on board and gives HDMI audio with my 6870.
:thumbup: AppleHDA.kext works. Houston, we have audio! Read you 5 by 5.
 
Hi. Can you show some pictures for your steps:
1. In terminal, run ./radeon_bios_decode < HD5XXX.vbios.bin (example: HD5770.bin).
2. Identify HDMI sense_id (answer = 5).
3. Run IOReg.
4. Search ATY.
5. Identify Frambuffer (Vervet).
6. Locate HDMI connector (00 08) (answer = 1).
7. HDMI sense_id not HDMI connector_id.
8. Edit ATI5000Controller Binary.
a. HexEdit/Find: 00 08 00 00 00 02 00 00 00 01 00 00 22 05 05 01
b. HexEdit/Replace: 00 08 00 00 00 02 00 00 00 01 00 00 22 05 05 05 2 Times
 
hi toleda

spent quite a bit of time on this
think my brain has stopped working out of frustration

i have a p67a ud3 b3 889 audio
asus 5770 (extracted bin file with gpu-z)

the applehda kext given to going bald the 889 one

i think i have everything ok down till kext editing but i still don't feel comfortable at it
but I've spent too long at it to quit

could you look at my attachments to see if I've done something wrong

help appreciated

nige2000
 

Attachments

  • terminal.rtf
    1.3 KB · Views: 138
  • dsdt.aml
    15.8 KB · Views: 126
  • nige2000.zip
    644.1 KB · Views: 74
nige2000 said:
hi toleda

could you look at my attachments to see if I've done something wrong

help appreciated

nige2000
There is nothing wrong. You have the info you need. I'd give you the answer but I know you can finish this successfully. Here's a hint, refer to the "amd_hd_5xxx.....case_studies" attachment and review the Gigabyte HD 5770 example. To success.
 
is it the ati frame buffer kext edit to from 01 to 05 can't try it at the minute try later
just after realizing its the frame buffer kext that needs editing as well as the apple hda

can i assume that everything I've done so far is correct or do i have to redo anything
 
Status
Not open for further replies.
Back
Top