Jump to content
4 posts in this topic

Recommended Posts

HDMI audio in Lion

 

P8H67i-Deluxe/HD6870/10.7.1/GE=Y/AppleHDA.kext_v2.1.x

 

DSDT Edits:

 

			Device (PEGP)
		{
			Name (_ADR, 0x00010000)	 /** Verify display  address  **/
			Name (_PRW, Package (0x02)
			{
				0x09, 
				0x05
			})

			Device (GFX0)
			{
				Name (_ADR, Zero)
				Name (_SUN, One)
				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x02)
						{
							"hda-gfx", 
							Buffer (0x0A)
							{
								"onboard-1"
							}
						}, Local0)
					  DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}
			}

			Device (HDAU)
			{
				Name (_ADR, One)
				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x02)
						{
							"hda-gfx", 
							Buffer (0x0A)
							{
								"onboard-1"
							}
						}, Local0)
					  DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}
			}
		}

 

If you have a Sapphire HD 6870 and use the Duckweed Framebuffer, no kext editing is required. With the DSDT edit above, HDMI audio works out of the box in Lion.

 

Please see this post for editing the HD 6870 Framebuffer bcc9

 

For the Sapphire HD 6870, the analysis follows:

 

./radeon_bios_decode < hd6870.bin

 

ATOM BIOS Rom:

SubsystemVendorID: 0x174b SubsystemID: 0xe177

IOBaseAddress: 0x0000

Filename: 177X1308.S4A

BIOS Bootup Message:

BARTS XT HYNIX/ELPIDA GDDR5 32Mx32 BIOS

 

PCI ID: 1002:6738

Connector at index 0

Type [@offset 44215]: DisplayPort (10)

Encoder [@offset 44219]: INTERNAL_UNIPHY2 (0x21)

i2cid [@offset 44343]: 0x90, OSX senseid: 0x1

Connector at index 1

Type [@offset 44225]: DisplayPort (10)

Encoder [@offset 44229]: INTERNAL_UNIPHY2 (0x21)

i2cid [@offset 44370]: 0x91, OSX senseid: 0x2

Connector at index 2

Type [@offset 44235]: HDMI-A (11)

Encoder [@offset 44239]: INTERNAL_UNIPHY1 (0x20)

i2cid [@offset 44397]: 0x93, OSX senseid: 0x4

Connector at index 3

Type [@offset 44245]: DVI-D (3)

Encoder [@offset 44249]: INTERNAL_UNIPHY1 (0x20)

i2cid [@offset 44424]: 0x95, OSX senseid: 0x6

Connector at index 4

Type [@offset 44255]: DVI-I (2)

Encoder [@offset 44259]: INTERNAL_UNIPHY (0x1e)

i2cid [@offset 44461]: 0x94, OSX senseid: 0x5

Connector at index 5

Type [@offset 44265]: DVI-I (2)

Encoder [@offset 44269]: INTERNAL_KLDSCP_DAC1 (0x15)

i2cid [@offset 44461]: 0x94, OSX senseid: 0x5

 

 

ATI6000Controller_v7.4.10

GE=Y

 

Personality: Duckweed

ConnectorInfo count in decimal: 4

Effective address for ConnectorInfo table in dec: 159904 (0x270a0)

Location in dec: 500764 (0x7a41c)

0000000: 0004 0000 0403 0000 0001 0000 1204 0401

0000010: 0004 0000 0403 0000 0001 0000 2205 0502

0000020: 0008 0000 0402 0000 0001 0000 1102 0304

0000030: 0002 0000 0402 0000 0001 0000 0000 0605

 

Perfect Choice

AtiConfig=Duckweed

HDMI and DP sense_ids match Duckweed Framebuffer

No edits required

 

Credit: bcc9 fb_editing

 

Good luck.

  • 4 weeks later...
Where can I download the "Duckweed Fframebuffer"?

I have the same problem, no audio over HDMI, and I don't understand what I should do or what you mean with the post above... :(

 

Duckweed is in Ati6000Controller.kext. See bcc9 post. Lion hdmi audio requires the dsdt edits and kext edits described above for the Sapphire HD6870 Vapor-X. Framebuffer edits are different by manufacturer. 6870 hdmi audio device ids are supported natively in Lion.

×
×
  • Create New...