Contribute
Register

Audio - HDMI Audio AppleHDA [Guide]

Status
Not open for further replies.

toleda

Moderator
Joined
May 20, 2010
Messages
24,092
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
Here you go
1. Back up SSDT-1.aml (or SSDT.aml, if installed)
2. MaciASL/File/Open/SSDT-1, Copy:
Scope (_SB.PCI0.PEG0) ....
Method (_SB.PCI0.PEG0.PEGP._DSM, 4, NotSerialized) ....
3. Paste both into SSD-1 into the space before Method (_SB.PCI0.HDEF._DSM, 4, NotSerialized)
4. Rename (pasted PEG0 to PEG1) as shown:
Scope (_SB.PCI0.PEG1)
Method (_SB.PCI0.PEG1.PEGP._DSM, 4, NotSerialized)
5. Compile, etc.
 
Joined
Mar 17, 2011
Messages
422
Motherboard
GA-Z77X-D3H rev1.1
CPU
i5 2500K SandyBridge
Graphics
2x XFX HD 6870 DualFan
Mac
Classic Mac
Mobile Phone
  1. iOS
1. Back up SSDT-1.aml (or SSDT.aml, if installed)
2. MaciASL/File/Open/SSDT-1, Copy:
Scope (_SB.PCI0.PEG0) ....
Method (_SB.PCI0.PEG0.PEGP._DSM, 4, NotSerialized) ....
3. Paste both into SSD-1 into the space before Method (_SB.PCI0.HDEF._DSM, 4, NotSerialized)
4. Rename (pasted PEG0 to PEG1) as shown:
Scope (_SB.PCI0.PEG1)
Method (_SB.PCI0.PEG1.PEGP._DSM, 4, NotSerialized)
5. Compile, etc.
I cannot compile as i get this error:93, 4090, Existing object has invalid type for Scope operator (_SB.PCI0.PEG0 [Untyped])
This i get it with your unchanged SSDT-1.aml file.Making the copy/paste changes you suggest simply doubles the error. I'll attach the SSDT-1.aml file i used.Any thoughts? Thank you again!
//LE: i disassembled SSDT-1.aml with iasl and i noticed this line "External (_SB_.PCI0.PEG0, DeviceObj)" in the .dsl file,i added "External (_SB_.PCI0.PEG1, DeviceObj)" and it successfully compiled.Reboot and no 2nd HDMI output yet.
 

Attachments

  • SSDT-1.aml
    492 bytes · Views: 68
  • SSDT-1.aml
    738 bytes · Views: 53
  • Screen Shot 2015-06-10 at 14.46.47.png
    Screen Shot 2015-06-10 at 14.46.47.png
    49.8 KB · Views: 46
Joined
Nov 4, 2012
Messages
9
Motherboard
Asus H97I-Plus
CPU
Intel i3 4170T
Graphics
Radeon R360
Mac
Classic Mac
Mobile Phone
Hi,

Toleda thanks a lot, I´ve been able to have now audio via my HDMI port. My only issue it´s that every time that I switch off the tv, the system hangs no screen and I need to reboot it. Any idea of what did I miss ?

Thanks
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,092
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
Here you go:
Remove: Method (_SB.PCI0.PEG1.PEGP._DSM, 4, NotSerialized) ...
Add: Device (GFX0) ... to Scope (_SB.PCI0.PEG1) as shown:
Code:
    Scope (_SB.PCI0.PEG1)
    {
        Device (GFX0)
        {
            Name (_ADR, One)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03
                    })
                }


                Return (Package (0x0A)
                {
                    "@0,connector-type", 
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00
                    }, 


                    "@1,connector-type", 
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00
                    }, 


                    "@2,connector-type", 
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00
                    }, 


                    "@3,connector-type", 
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00
                    }, 


                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-2"
                    }
                })
            }
        }


        Device (HDAU)
....
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,092
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
every time that I switch off the tv, the system hangs no screen and I need to reboot it.
Intel HD46000 driver crashes on non native hardware when HDMI turned on (hot plug), no fix.
Workaround, try DP or add receiver.
 
Joined
Nov 4, 2012
Messages
9
Motherboard
Asus H97I-Plus
CPU
Intel i3 4170T
Graphics
Radeon R360
Mac
Classic Mac
Mobile Phone
Status
Not open for further replies.
Top