morpheousman Posted April 11, 2016 Author Share Posted April 11, 2016 codec_dump with linux live (ubuntu) with Terminal: cd ~/Desktop && mkdir CodecDump && for c in /proc/asound/card*/codec#*; do f="${c/\/*card/card}"; cat "$c" > CodecDump/${f//\//-}.txt; done && zip -r CodecDump.zip CodecDump Thank you. 790SFF_CodecDump.zip Link to comment Share on other sites More sharing options...
MacPeet Posted April 11, 2016 Share Posted April 11, 2016 Try this: Edit: File deleted - no longer relevant see post # 801 Install to S/L/E and rebuild Cache Inject with LayoutID 28 (Test ALC269VB for LineOut back, HP front, Mic front and Mic back) Note: no on_the_fly, no Kext-To-Patch with Clover, no realtekALC, no Voodoo and HDADisnabler or AppleHDADisnabler !!! 1 Link to comment Share on other sites More sharing options...
morpheousman Posted April 11, 2016 Author Share Posted April 11, 2016 Okay, so just try both kexts in S/L/E, and report back? Nothing else, no edits or patches in Clover? Both Kexts give me HDMI Sound only. Link to comment Share on other sites More sharing options...
MacPeet Posted April 11, 2016 Share Posted April 11, 2016 Try this: Edit: File deleted - no longer relevant see post # 801 2 Link to comment Share on other sites More sharing options...
morpheousman Posted April 12, 2016 Author Share Posted April 12, 2016 No luck. Am I supposed to be using an HDAEnabler kext? Any patches or setting in Clover I need to do? Link to comment Share on other sites More sharing options...
MacPeet Posted April 12, 2016 Share Posted April 12, 2016 No, not including patches in Clover. This is as Method 1 in 780 On the fly with Clover I do you later, first I need to know what works. Actually this HDA's would work. If you have Inject not working, then it does not go well. The best Inject with DSDT. Ok, this enabler and the three versions try again. But not both together Enabler, only individual with the appropriate HDA. Enabler.zip Link to comment Share on other sites More sharing options...
morpheousman Posted April 12, 2016 Author Share Posted April 12, 2016 No luck still. I can't help thinking I am doing something wrong. Link to comment Share on other sites More sharing options...
MacPeet Posted April 12, 2016 Share Posted April 12, 2016 I also do not understand. do you work with DSDT? Have you previously tried AppleHDAPatcher or something? Maybe there is still something in Clovers 10.11 folder or in L/E or ...? post your DSDT / config.plist (without Serial / MLB) 1 Link to comment Share on other sites More sharing options...
morpheousman Posted April 12, 2016 Author Share Posted April 12, 2016 II did play with the AppleHDAPater, but made no changes that I am aware of. Config.zip Link to comment Share on other sites More sharing options...
MacPeet Posted April 12, 2016 Share Posted April 12, 2016 HPET and LPC are not fixed, try Fix HPET and Fake LPC in Clovers config. check load with kextstat in the terminal whether AppleHPET and AppleLPC! This can not go like this: LayoutID 1 is 01,00,00,00 or LayoutID 28 is 1C,00,00,00 (not 0C - this is 12) Either Inject via DSDT (HDEF) and without EnablerKext and without 3 in Clover or without HDEF in DSDT and without 3 in Clover with EnablerKext or without HDEF in DSDT and without EnablerKext with 1 or 28 in Clover everything does not work with different values 1 Link to comment Share on other sites More sharing options...
MacPeet Posted April 12, 2016 Share Posted April 12, 2016 Make me a picture of the DPCIManager / PCI-List of the devices! I look at it. 1 Link to comment Share on other sites More sharing options...
morpheousman Posted April 12, 2016 Author Share Posted April 12, 2016 HPET and LPC are not fixed, try Fix HPET and Fake LPC in Clovers config. check load with kextstat in the terminal whether AppleHPET and AppleLPC! This can not go like this: 01.png 02.png LayoutID 1 is 01,00,00,00 or LayoutID 28 is 1C,00,00,00 (not 0C - this is 12) Either Inject via DSDT (HDEF) and without EnablerKext and without 3 in Clover, How, and where is the "3" in Clover? without HDEF in DSDT and without 3 in Clover with EnablerKext or This would require HDEF to be edited out of dsdt, and dsdt recompiled? without HDEF in DSDT and without EnablerKext with 1 or 28 in Clover Where do I put the 1 or 28 in Clover? everything does not work with different values Link to comment Share on other sites More sharing options...
polyzargone Posted April 12, 2016 Share Posted April 12, 2016 LayoutID 1 is 01,00,00,00 or LayoutID 28 is 1C,00,00,00 (not 0C - this is 12) Either Inject via DSDT (HDEF) and without EnablerKext and without 3 in Clover, How, and where is the "3" in Clover? without HDEF in DSDT and without 3 in Clover with EnablerKext or This would require HDEF to be edited out of dsdt, and dsdt recompiled? without HDEF in DSDT and without EnablerKext with 1 or 28 in Clover Where do I put the 1 or 28 in Clover? • Clover Configurator > Devices > Audio Inject = 1 or 28 (I think 3 is a typo) OR • DSDT > Device (HDEF) > layout-id = 01,00,00,00 (which means 1) or 1C,00,00,00 (which means 28). The DSDT must be opened with MaciASL and you just need to change the value and save. No more, no less. For instance : Device (HDEF) { Name (_ADR, 0x001B0000) // _ADR: Address OperationRegion (HDAR, PCI_Config, 0x4C, 0x10) Field (HDAR, WordAcc, NoLock, Preserve) { DCKA, 1, Offset (0x01), DCKM, 1, , 6, DCKS, 1, Offset (0x08), Offset (0x09), PMEE, 1, , 6, PMES, 1 } Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake { 0x0D, Zero }) Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg2, Zero)) { Return (Buffer (One) { 0x03 }) } Return (Package (0x06) { "layout-id", Buffer (0x04) { 0x1C, 0x00, 0x00, 0x00 }, "hda-gfx", Buffer (0x0A) { "onboard-1" }, "PinConfigurations", Buffer (Zero) {} }) } } OR • HDEnabler.kext = Just forget about this kext. You don't need it and you never did since you're using Clover Injection/DSDT Injection. This kext is really when you don't have these two methods available. Hope this help . Link to comment Share on other sites More sharing options...
morpheousman Posted April 12, 2016 Author Share Posted April 12, 2016 Well, few things I absolutely hate more than trying to edit a DSDT. I change the layout ID to a 1, and try to save, but I get caught in a constant loop that there are too many errors to be able to save. Link to comment Share on other sites More sharing options...
MacPeet Posted April 12, 2016 Share Posted April 12, 2016 try.zip Add your Serial / MLB again in config.plist! Test the respective DSDT with the respective test-HDA. Please without EnablerKext or all Voodoo Files !!! Incidentally, all tests with SIP 0x67 please 1 Link to comment Share on other sites More sharing options...
polyzargone Posted April 12, 2016 Share Posted April 12, 2016 Well, few things I absolutely hate more than trying to edit a DSDT. I change the layout ID to a 1, and try to save, but I get caught in a constant loop that there are too many errors to be able to save. I assume you're using 790_CLOVER.zip ? Correct ? It's because the DSDT you're using is not fixed. What's the errors ? This one for instance ? "Must be a multiple of alignment/granularity value" Try this one. It has LPC & HPET fixed, HDEF layout-id set to 1C (28) and it's error free. So now, if you want to use another layout-id, you'll just have to change the value and that's it. But we should work from a RAW DSDT that you can extract by hitting F4 at Clover boot screen. Files to post here can be found in EFI/CLOVER/ACPI/origin. PS : Still assuming you're using 790_CLOVER.zip, SSDT.aml in EFI/CLOVER/ACPI/patched is not needed IMHO. DSDT.aml.zip 1 Link to comment Share on other sites More sharing options...
morpheousman Posted April 12, 2016 Author Share Posted April 12, 2016 I tried the Layout ID 1, with layout 1 Kext, did the same for both layout id 28 kexts, used the corresponding DSDT, no luck. No HDAEnabler or Disabler, no Voodoo anything. If I try with an Enabler28.kext I assume you're using 790_CLOVER.zip ? Correct ? It's because the DSDT you're using is not fixed. What's the errors ? This one for instance ? "Must be a multiple of alignment/granularity value" Try this one. It has LPC & HPET fixed, HDEF layout-id set to 1C (28) and it's error free. So now, if you want to use another layout-id, you'll just have to change the value and that's it. But we should work from a RAW DSDT that you can extract by hitting F4 at Clover boot screen. Files to post here can be found in EFI/CLOVER/ACPI/origin. PS : Still assuming you're using 790_CLOVER.zip, SSDT.aml in EFI/CLOVER/ACPI/ is not needed IMHO. Yeah, just using the dsdt out of the 790 folder posted by Pepto. There is another thread here some where, and there is also a 790 dsdt being worked on, Pepto posted there asking for the dsdt, so I'm thinking this is either it ,or a version of it. So, this is growing pains. I did need to change out the Ethernet kext.It was very erratic, makes sense Pepto didn't catch it if he was using WIFI. Remember that slow-boot issue I could not figure out? The 35 to 45 second delay before Clover boot screen shows? It is my USB Bluetooth Dongle. Pull the thing out, and it fly's right to the Clover boot menu, then boots off the SSD in about another 25 seconds. I guess the Clover is trying to find a firmware to send to the BT Dongle? Wish I could just tell Clover to ignore the BT Dongle until later in the boot process. The usb BT dongle can be plugged in anytime after the Clover Boot menu, and will not delay boot process at all. I think you might have suggested this ethernet kext to someone here. IntelMausiEthernet-V2.0.0.zip Link to comment Share on other sites More sharing options...
MacPeet Posted April 12, 2016 Share Posted April 12, 2016 ok, try this with DSDT LayoutID 28: Edit: File deleted - no longer relevant see post # 801 Link to comment Share on other sites More sharing options...
polyzargone Posted April 12, 2016 Share Posted April 12, 2016 Well it seems that using patched DSDT with layout-id 1C (28) actually loads the AppleHDA's kexts, doesn't it ? If so, it would be a problem with patched AppleHDA.kext itself (MacPeet is still on the drawing board but I'm sure he will eventually fix that ). [EDIT] yes he is ! But TBH, I don't understand the Enabler thing … Remember that if you're using both Clover Configurator > Devices > Audio Inject = 28 AND fixed DSDT for 790, you must change both value OR don't use any Clover's audio device injection. In fact, you shouldn't use Clover's audio injection at all so the only thing you should care about is the layout-id value in DSDT. I know it's something complex but I have the feeling that you're mixing too many methods so it's very confusing for everybody. Choose one, whether it's Clover audio device injection, DSDT or Enabler but stick to it. Remember that they all do the same thing ! BTW, what about the RAW DSDT I was asking for ? 1 Link to comment Share on other sites More sharing options...
morpheousman Posted April 12, 2016 Author Share Posted April 12, 2016 ok, try this with DSDT LayoutID 28: Try_V4_AppleHDA_patched_Optiplex790_for_Capitan.kext.zip AppleHDA Sound For Optiplex 790 SFF, Courtesy of MacPeet. Thank you my friend! 3 Link to comment Share on other sites More sharing options...
polyzargone Posted April 12, 2016 Share Posted April 12, 2016 Yeah ! Great work MacPeet ! Once again Link to comment Share on other sites More sharing options...
morpheousman Posted April 12, 2016 Author Share Posted April 12, 2016 Well it seems that using patched DSDT with layout-id 1C (28) actually loads the AppleHDA's kexts, doesn't it ? If so, it would be a problem with patched AppleHDA.kext itself (MacPeet is still on the drawing board but I'm sure he will eventually fix that ). [EDIT] yes he is ! But TBH, I don't understand the Enabler thing … Remember that if you're using both Clover Configurator > Devices > Audio Inject = 28 AND fixed DSDT for 790, you must change both value OR don't use any Clover's audio device injection. In fact, you shouldn't use Clover's audio injection at all so the only thing you should care about is the layout-id value in DSDT. I know it's something complex but I have the feeling that you're mixing too many methods so it's very confusing for everybody. Choose one, whether it's Clover audio device injection, DSDT or Enabler but stick to it. Remember that they all do the same thing ! BTW, what about the RAW DSDT I was asking for ? What do you want the raw dsdt extracted with? I just extracted one with DCPIManager, but it show layout ID 28. Extracted another pre-edited with MaciASL. Pre-Edited DSDT.zip Link to comment Share on other sites More sharing options...
polyzargone Posted April 12, 2016 Share Posted April 12, 2016 What do you want the raw dsdt extracted with? Clover… As I said, hit F4 at Clover's boot menu. It will dump the ACPI tables in EFI/CLOVER/ACPI/origin which is where you will find the RAW DSDT.aml . Don't worry, Clover won't notify you it did. But now the problem is fixed, it's no longer necessary… Just out of curiosity . Link to comment Share on other sites More sharing options...
MacPeet Posted April 12, 2016 Share Posted April 12, 2016 Severe birth! Input Mic-front goes well? Please try this: Edit: File deleted - no longer relevant see post # 801 Link to comment Share on other sites More sharing options...
morpheousman Posted April 12, 2016 Author Share Posted April 12, 2016 Severe birth! Input Mic-front goes well? Headphone Out works. I am not sure about Microphone In.Nothing to test it with at the moment. So,I would need to reinstall the AppleHDA.kext after an Update, right? @Polyzargone, Extracted the raw DSDT, why are there over 20 other files in that folder? What do you mean, not sure if it matters at this point? WE are just starting to whip this 790 into shape, I mean, what am I paying you guys for? Raw DSDT.zip Link to comment Share on other sites More sharing options...
Recommended Posts