RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,011
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
[Guide] Lenovo Y50
HDMI-audio on Haswell has several requirements:
- the device at address 0x00030000, usually called B0D3, must be renamed to HDAU
- the resulting HDAU device must be recognized by AppleHDAController (config.plist patches required if not natively recognized)
- your framebuffer must be patched for HDMI-audio (there are patches in my default config.plist (disabled) files: https://github.com/RehabMan/OS-X-Clover-Laptop-Config). It is trial/error to determine which port your HDMI is connected (actually, they are positional and you can tell by looking at ioreg).
- patched AppleHDA is required (sometimes VoodooHDA works, but my experience has been not good)
- you have to inject "hda-gfx"="onboard-1" for IGPU/HDEF/HDAU objects. This is usually done with DSDT/SSDT edits (_DSM methods)
Hi RehabMan. I am following this guide for what I'm trying to do.
I'm getting stuck at the DSDT (or SSDT in my case patching).
Code:[COLOR=#9F9F9F][FONT=Verdana]Device (HDAU)[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]{[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]Name (_ADR, One)[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]Method (_DSM, 4, NotSerialized)[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]{[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]Store (Package (0×0[/FONT][/COLOR][COLOR=#FF0000][FONT=Verdana]4[/FONT][/COLOR][COLOR=#9F9F9F][FONT=Verdana])[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]{[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]“hda-gfx”,[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]Buffer (0x0A)[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]{[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]“onboard-1″[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]}[/FONT][/COLOR][COLOR=#FF0000][FONT=Verdana], "layout-id", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]}, Local0)[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]Return (Local0)[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]}[/FONT][/COLOR] [COLOR=#9F9F9F][FONT=Verdana]}[/FONT][/COLOR]
So if I'm correct I must:
1. Delete the DSM patch from my DSDT HDEF device (used for AppleHDA)
2. Apply that patch to the SSDT-4 HDAU device
My problem:
1. Well apparently that code has errors.
I copied just the DSM method and had an error in MacIASL. If you'll try it you will get them too.
2. I must integrate it somehow to the patch I already have that inject 0a0c
3. I see in DSDT-4 IGPU > PNLF the same exact patch, should both be the same ?
Can you look at that patch and paste me a working patch ? (with both the things that I get in this method and my old method that inject 0a0c).
I uploaded my SSDT and DSDT (the ones before I started working with this patch).
Thanks!
HDMI-audio on Haswell has several requirements:
- the device at address 0x00030000, usually called B0D3, must be renamed to HDAU
- the resulting HDAU device must be recognized by AppleHDAController (config.plist patches required if not natively recognized)
- your framebuffer must be patched for HDMI-audio (there are patches in my default config.plist (disabled) files: https://github.com/RehabMan/OS-X-Clover-Laptop-Config). It is trial/error to determine which port your HDMI is connected (actually, they are positional and you can tell by looking at ioreg).
- patched AppleHDA is required (sometimes VoodooHDA works, but my experience has been not good)
- you have to inject "hda-gfx"="onboard-1" for IGPU/HDEF/HDAU objects. This is usually done with DSDT/SSDT edits (_DSM methods)