sweeney3744 Posted June 14, 2014 Share Posted June 14, 2014 Ex,, For layout=12, layout-id/0x0c, 0x00, 0x00, 0x00 Reply with new IOReg. I used the code above in my DSDT (0x0c, 0x00, 0x00, 0x00) still nothing. I don't know if that's the right layout though... I don't know what that would be for 1... Trey’s Mac Pro.zip Link to comment Share on other sites More sharing options...
toleda Posted June 15, 2014 Author Share Posted June 15, 2014 I don't know if that's the right layout though. Attach the AppleHDA.kext. Link to comment Share on other sites More sharing options...
sweeney3744 Posted June 15, 2014 Share Posted June 15, 2014 Attach the AppleHDA.kext. AppleHDA.kext.zip Link to comment Share on other sites More sharing options...
toleda Posted June 15, 2014 Author Share Posted June 15, 2014 Attach the AppleHDA.kext. The AppleHDA is edited for 892. Find and install a 662 edited AppleHDA.kext. Edit layout0id is required. Reply with new IOReg. Link to comment Share on other sites More sharing options...
sweeney3744 Posted June 15, 2014 Share Posted June 15, 2014 Attach the AppleHDA.kext. The AppleHDA is edited for 892. Find and install a 662 edited AppleHDA.kext. Edit layout0id is required. Reply with new IOReg. I attached the AppleHDA.kext too just in case... ioreg_hda.zip Link to comment Share on other sites More sharing options...
toleda Posted June 15, 2014 Author Share Posted June 15, 2014 I attached the AppleHDA.kext too just in case... It is a 10.8.5 AppleHDA.kext, try dsdt/HDEF/layout-id/ 0x0c, 0x00, 0x00, 0x00. Link to comment Share on other sites More sharing options...
sweeney3744 Posted June 16, 2014 Share Posted June 16, 2014 It is a 10.8.5 AppleHDA.kext, try dsdt/HDEF/layout-id/ 0x0c, 0x00, 0x00, 0x00. IT WORKED! FINALLY! Thank you for all your help! You are the best toleda! Link to comment Share on other sites More sharing options...
Memphiz Posted June 19, 2014 Share Posted June 19, 2014 Hi there - i am running Yosemite 10.10 DP1 on an ASUS p8p67 LE with ALC982 codec, Core i7 2600 and ASUS GTX 650. I've patched the native original AppleHDA.kext with AppleHDA8Series.sh (went through without errors). Kext Version is AppleHDA.kext 2.6.5 and AppleHDA892.kext 1.2.0. The kext gets loaded and i hear a plop in the speakers but no audio devices are listed in systemsettings. $ dmesg | grep HDA Sound assertion in AppleHDAController at line 1384 Sound assertion in AppleHDADriver at line 1508 Sound assertion in AppleHDADriver at line 2154 Sound assertion in AppleHDADriver at line 194 Sound assertion in AppleHDADriver at line 1052 Attached find my DSDT.aml, IOReg and SysInfo Screenshot. I hope this is enough information for not beeing ignored like stated in the pdf and someone has an idea what to try next. This audio setup works fine on 10.9.3 btw... DSDT.aml.zip ioreg.zip Link to comment Share on other sites More sharing options...
toleda Posted June 19, 2014 Author Share Posted June 19, 2014 Kext Version is AppleHDA.kext 2.6.5 and AppleHDA892.kext 1.2.0. What bootloader? Attach both kexts. Link to comment Share on other sites More sharing options...
Memphiz Posted June 19, 2014 Share Posted June 19, 2014 Hi - thx for the quick reply I am using Chameleon v2.2svn r2380. Find attached the kexts. org.chameleon.Boot.plist: http://pastebin.com/VH251pGe AppleHDA.zip Link to comment Share on other sites More sharing options...
toleda Posted June 20, 2014 Author Share Posted June 20, 2014 I am using Chameleon v2.2svn r2380. Find attached the kexts. What are you using for Audio ID injection? It does not appear AppleHDA892 is loading, Rebuild kernel cache and reply with copy of Console/All Messages. Link to comment Share on other sites More sharing options...
Memphiz Posted June 20, 2014 Share Posted June 20, 2014 I have injected the HDEF with audio id 1 via maciasl and your repo at https://raw.github.com/toleda/audio_ALCinjection/master Attached find dmesg and bdmesg (chameleon) logs - console sadly crashes for me as soon as i start it (i suspect yosemite buginess here) Thx for sticking with me dmesg.zip Link to comment Share on other sites More sharing options...
toleda Posted June 20, 2014 Author Share Posted June 20, 2014 Attached find dmesg and bdmesg (chameleon) logs - console sadly crashes for me as soon as i start it (i suspect yosemite buginess here) Not kernel cache. Download, install and run http://sourceforge.net/projects/dpcimanager/Rebuild Kernel Cache. Attach the log. Link to comment Share on other sites More sharing options...
Memphiz Posted June 24, 2014 Share Posted June 24, 2014 Here you go - though i am pretty sure it uses the kernel cache ... if i boot with "-v" it doesn't show the load of each kext but instead nearly instantly goes to the kernel messages ... I figured you might want to have the log from kextcreation - here it is (the rebuild cache in DPCIManager didn't do/output anything in its log - so i did it manually): http://pastebin.com/BvVr3kfa dmesg2.zip Link to comment Share on other sites More sharing options...
toleda Posted June 25, 2014 Author Share Posted June 25, 2014 here it is (the rebuild cache in DPCIManager didn't do/output anything in its log Did not wait long enough for DPCIManager. Link to comment Share on other sites More sharing options...
Memphiz Posted June 25, 2014 Share Posted June 25, 2014 Yeah you are right (now i see what it does - it only touches the extensions dir and lets kextd do its magic ...) - here is the log from DPCIManager: http://xbmclogs.com/show.php?id=234746 (pastebin was down - just another pasty site...) Link to comment Share on other sites More sharing options...
toleda Posted June 25, 2014 Author Share Posted June 25, 2014 Yeah you are right (now i see what it does - it only touches the extensions dir and lets kextd do its magic System Information/Extensions, attach screenshot showing AppleHDA... kexts. Link to comment Share on other sites More sharing options...
Memphiz Posted June 26, 2014 Share Posted June 26, 2014 Here are the screenshots Geladen : Ja - means loaded, Geladen : Nein - means not. screenshots.zip Link to comment Share on other sites More sharing options...
toleda Posted June 26, 2014 Author Share Posted June 26, 2014 Here are the screenshots Geladen : Ja - means loaded, Geladen : Nein - means not. AppleHDA892 no loading is the problem. kernel cache says it is allowing invalid signature and doesn't say allowing to load. Try removing AppleHDA892.kext and install with Kext Utility. Reply with new IOReg, boot log and System Information/Extensions screenshot (1 image is fine). Link to comment Share on other sites More sharing options...
zhka Posted July 3, 2014 Share Posted July 3, 2014 Hello, Need some help with DSDT injection, or something else... I have a notebook MSI GT70-0ND with native Mac 10.9.3 (patched for mbr). AppleHDA.kext patched using script from rep. for my codec (ALC892); changed pins speakers <> headphones; in DSDT added _DSM method for HDEF device (layout ID:1). Bootloader - Clover (Clover_v2k_r2721). Now: When in Clover's config.plist > Audio > Inject > 1 - sound appears (image) When in Clover's config.plist > Audio > Inject > No - there is no sound. Codec field in DPCIManager is empty. In 892.zip: patched AppleHDA, DSDT, clover's config.plist and 2 ioregs (with/without injected audio via clover). Thanks in advance. 892.zip Link to comment Share on other sites More sharing options...
toleda Posted July 3, 2014 Author Share Posted July 3, 2014 When in Clover's config.plist > Audio > Inject > 1 - sound appears (image) The injection methods and guides are noted in Post #1: use only one. With Clover injection, dsdt/HDEF edit is unnecessary. With Clover injection, is there sound? Attached is a 10.9.1 892 laptop AppleHDA.kext. Try it. if working, it can be updated to current. AppleHDA.kext-892_laptop.zip Link to comment Share on other sites More sharing options...
zhka Posted July 3, 2014 Share Posted July 3, 2014 The injection methods and guides are noted in Post #1: use only one. With Clover injection, dsdt/HDEF edit is unnecessary. With Clover injection, is there sound? Attached is a 10.9.1 892 laptop AppleHDA.kext. Try it. if working, it can be updated to current. I understand, I just tried some variations: Injected Clover + DSDT without _DSM = working sound Without Clover injection + DSDT with _DSM = no sound Seems like system can't write layout-id value from DSDT. With attached kext there is no sound: Clover injection No + DSDT with _DSM method. Sound injected in Clover works fine, but I need to get it from DSDT. Link to comment Share on other sites More sharing options...
toleda Posted July 3, 2014 Author Share Posted July 3, 2014 Sound injected in Clover works fine, but I need to get it from DSDT. Post #1, see [Guide]-Add_or_Edit_HDEF-dsdt.pdf. Edit dsd/HDEF/layout-id to 0x01, 0x00, 0x00, 0x00 Link to comment Share on other sites More sharing options...
zhka Posted July 3, 2014 Share Posted July 3, 2014 Thanks for the quick reply. DSDT was patched before I wrote first post above. It's in attached archive (892.zip). Screen of the system with patched DSDT: Here is HDEF section from DSDT: Device (HDEF) { Name (_ADR, 0x001B0000) OperationRegion (HDAR, PCI_Config, 0x4C, 0x10) Field (HDAR, WordAcc, NoLock, Preserve) { DCKA, 1, Offset (0x01), DCKM, 1, , 6, DCKS, 1, Offset (0x08), , 15, PMES, 1 } Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0D, 0x04)) } Method (_DSM, 4, NotSerialized) { If (LEqual (Arg2, Zero)) { Return (Buffer (One) { 0x03 }) } Return (Package (0x06) { "layout-id", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "PinConfigurations", Buffer (Zero) {}, "hda-gfx", Buffer (0x0A) { "onboard-1" } }) } } Solved: In Clover's config I found <key>FixHDA_8000</key> which is set to <true/>. I have changed it to <false/> and sound appears using DSDT. Link to comment Share on other sites More sharing options...
MacFaulty Posted July 7, 2014 Share Posted July 7, 2014 Hi there, I used your DSDT guide with the patches in your repository (Audio ID 1 and also tried ID 2), but it's not working. I use Clover r2742? (I know for sure it's current latest version) and don't have any Devices/Audio/Inject (because I used DSDT method). If I download a pre-patched AppleHDA for my chipset (ALC898), it does work, so it's not the hardware itself. Only thing is I have patched my DSDT with your patch from your repository and it's not working. My Audio Codec: ALC898 Motherboard: GA-Z77X-UD5H rev. 1.0. CPU: Intel Core i7-3770. GPU: Radeon R9 290X (fully working with netkas driver package from Yosemite). O/S: Mavericks 10.9.4 (also tried 10.9.3 AppleHDA.kext, which is in archive). What to do? I only don't get to see Audio devices in Settings -> Sound preference panes (my AirPlay is present, though). System Profiler also tells me Audio is there (Hardware -> Audio pane -> Intel HD Audio with several line outs and speaker and such). I also followed your guide for no audio devices, but it didn't solve it. I would like to know what I may have done wrong and/or why it just isn't working. If you need more info, don't hesitate to ask. Thanks for providing such a great product! P.S. Attachments: All requested files. If the wrong AppleHDA is present, then I made a mistake, will try to re-upload another one. I tried vanilla AppleHDA from 10.9.3 and 10.9.4. files.zip Link to comment Share on other sites More sharing options...
Recommended Posts