kidalive Posted May 15, 2014 Share Posted May 15, 2014 I recently build a PC with MSI Z87-G41 PC Mate and i5-4670K installed Mavericks with Clover Bootloader. The graphics is enabled by default but no audio. This mb has a Alc887-VD on it. I tried to patch DSDT and compile but get some errors I cannot find a fix. Please check it out, any one here can shed me some light will be appreciated. dsdt.dsl.zip There are two errors shown below. If (LEqual (Arg1, 0x02)) { If (OBFF) { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00 }) } Else { Return (Buffer (0x10) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) } } If (LEqual (T_0, 0x0D)) { If (LEqual (Arg2, 0x2E)) { If (Arg1) { Store (One, C1LE) /* \C1LE */ } Else { Store (Zero, C1LE) /* \C1LE */ } } If (LEqual (Arg2, 0x4E)) { If (Arg1) { Store (One, C2LE) /* \C2LE */ } Else { Store (Zero, C2LE) /* \C2LE */ } }I solved the compiling errors by applying toleda's 8series compile clean patch and deleting 4 lines of errors promoted, then I can compile with a few warnings show up. The dsdt compiling issues are solved now let's focus on the Hd4600+alc8877vd HDMI audio, I tried 3 methods of toleda but utterly failed. Now I updated to 10.9.3. Any one here with similar combo make some progress? Link to comment Share on other sites More sharing options...
toleda Posted May 15, 2014 Share Posted May 15, 2014 I tried to patch DSDT and compile but get some errors I cannot find a fix. Fix: From the same repo you did the HDMI audio edits, select Patch/8series-Clean Compile/Apply/Close/Compile. 4 errors left, delete the four lines in the dsdt/Compile/Save. Note: Method DTGP is not required with the HDMI audio edits and can be removed Issue: the HDMI audio edits specify the desktop framebuffer. Verify working framebuffer: IOReg/GFX0@2/AAPL,ig-platform-id Edit for mobile framebuffer: From: 0x03, 0x00, 0x22, 0x0D To (select and test, if no video try the next, etc.) 1. 0x07, 0x00, 0x26, 0x0D 2. 0x05, 0x00, 0x26, 0x0A 3. 0x06, 0x00, 0x26, 0x0A Link to comment Share on other sites More sharing options...
kidalive Posted May 16, 2014 Author Share Posted May 16, 2014 Fix: From the same repo you did the HDMI audio edits, select Patch/8series-Clean Compile/Apply/Close/Compile. 4 errors left, delete the four lines in the dsdt/Compile/Save. Note: Method DTGP is not required with the HDMI audio edits and can be removed Issue: the HDMI audio edits specify the desktop framebuffer. Verify working framebuffer: IOReg/GFX0@2/AAPL,ig-platform-id Edit for mobile framebuffer: From: 0x03, 0x00, 0x22, 0x0D To (select and test, if no video try the next, etc.) 1. 0x07, 0x00, 0x26, 0x0D 2. 0x05, 0x00, 0x26, 0x0A 3. 0x06, 0x00, 0x26, 0x0A It`s not working with my DSDT. Deleting the 4 lines of errors shows up more errors. My original DSDT get from latex Intel ACPI attached. Please help me fix the but and add IGPU device, it is absent in my DSDT. dsdt.dat.zip Link to comment Share on other sites More sharing options...
toleda Posted May 16, 2014 Share Posted May 16, 2014 It`s not working with my DSDT. Deleting the 4 lines of errors shows up more errors. Operator error. See toleda/audio_hdmi_8series For the second time, apply 8series-Clean Compile. It works on the dsdts in Post #1 and Post #3. Why did you start another thread on the exact same dsdt issue? Link to comment Share on other sites More sharing options...
kidalive Posted May 16, 2014 Author Share Posted May 16, 2014 Operator error. See toleda/audio_hdmi_8series For the second time, apply 8series-Clean Compile. It works on the dsdts in Post #1 and Post #3. Why did you start another thread on the exact same dsdt issue? I will change the topics of that thread. Sorry to bother you but I applied 8series-Clean fix but then encounters 4 errors shown below. What`s wrong with my DSDT? My config.plist also attached. config.plist.zip Link to comment Share on other sites More sharing options...
toleda Posted May 16, 2014 Share Posted May 16, 2014 I will change the topics of that thread. Sorry to bother you but I applied 8series-Clean fix but then encounters 4 errors shown below. What`s wrong with my DSDT? Post #2, 4 errors left, delete the four lines in the dsdt. Compile/Save. Graphics and Devices are missing for config.plist Link to comment Share on other sites More sharing options...
kidalive Posted May 16, 2014 Author Share Posted May 16, 2014 Post #2, 4 errors left, delete the four lines in the dsdt. Compile/Save. Graphics and Devices are missing for config.plist Yes after applying the patch you mentioned there are 4 errors show up and deleting them will make more errors show up. Do you mean I have to edit config.plist to enable audio instead of DSDT patch? Link to comment Share on other sites More sharing options...
toleda Posted May 16, 2014 Share Posted May 16, 2014 Yes after applying the patch you mentioned there are 4 errors show up and deleting them will make more errors show up. Do you mean I have to edit config.plist to enable audio instead of DSDT patch? I would not instruct you do do something that I did not test. My result: 4 errors left, delete the four lines in the dsdt. Compile/Save. For onboard audio, dsdt edits are not required. For HDMI audio, either dsdt edits or an ssdt required. Link to comment Share on other sites More sharing options...
kidalive Posted May 16, 2014 Author Share Posted May 16, 2014 I would not instruct you do do something that I did not test. My result: 4 errors left, delete the four lines in the dsdt. Compile/Save. Screen Shot 2014-05-16 at 11.14.07 AM.png For onboard audio, dsdt edits are not required. For HDMI audio, either dsdt edits or an ssdt required. I saw you have 4 edits to the Kext-to-Patch section, should I include 4 of them or a part of them with my HD4600? Link to comment Share on other sites More sharing options...
toleda Posted May 16, 2014 Share Posted May 16, 2014 I saw you have 4 edits to the Kext-to-Patch section, should I include 4 of them or a part of them with my HD4600? Do you plan to enable HDMI audio? Lets try to stay on topic. Does your dsdt compile? Link to comment Share on other sites More sharing options...
kidalive Posted May 17, 2014 Author Share Posted May 17, 2014 No, as I mentioned earlier after applying the 8 series clean compile patch with maciasl 4 errors would show up, delete the 4 lines would bring more errors. It won't work this way. Have you tried yourself? Link to comment Share on other sites More sharing options...
kidalive Posted May 17, 2014 Author Share Posted May 17, 2014 I compiled my DSDT finally and used a DSDT like below. But no HDMI audio with stock AppleHDA. DSDT.zipDSDT.zip clover config.rar Link to comment Share on other sites More sharing options...
toleda Posted May 17, 2014 Share Posted May 17, 2014 I compiled my DSDT finally and used a DSDT like below. But no HDMI audio with stock AppleHDA. You did not do anything. This is artur-pt's work. Give credit. Have you tried yourself? See Post #8. Operator error. Link to comment Share on other sites More sharing options...
kidalive Posted May 19, 2014 Author Share Posted May 19, 2014 Do you plan to enable HDMI audio? Lets try to stay on topic. Does your dsdt compile? Do you plan to enable HDMI audio? Lets try to stay on topic. Does your dsdt compile? Yes I plan to make my HDMI audio working. I already did what you instructed to compile the dsdt with some warnings thought but compiled. After completing compilingbI applies the Hdef and Igpu hacks and ex edit the appleintelazul but no luck.I also tried your cover hack me this to patch the Apple heading roller bit failed again. Link to comment Share on other sites More sharing options...
Recommended Posts