TROUBLESHOOT: NO AUDIO AFTER INSTALLING PATCHED APPLEHDA KEXTS

CHAPTER 7 : TROUBLESHOOT: NO AUDIO AFTER INSTALLING PATCHED APPLEHDA KEXTS 

This post is  a part of my AppleHDA Patching guide, However, this post alone can be used to TroubleShoot when no audio from installing Patched AppleHDA

Requirements:

  1. Supported Versions of OS X for which Kext has been Patched.
  2. Determining The Number Layout_Id/Audio_Id which we used in ( Patching Layout.xml and Paltforms.xml).

Methods for Injection Of Your Layou_ID or Audio_Id

1 - Clover/Config.plist/Devices/Audio/Inject=Audio_ID
2 - Chameleon Installer/Customize/Setting/HDEF Layout/
3 - HDAEnablerX.kext (where "X" corresponds to the number of Audio_ID / desired Layout_ID)
4 - DSDT/HDEF/Layout_id = Audio_id

Note: Use only one of the methods described above.


Method 1 : Clover/Config.plist/Devices/Audio/Inject=Audio_ID

Clover Bootloader has Audio/Layout Inject method which is much better and easy to use. For this we need PlistEditorPro or Clover Configurator or Xcode or BBEedit to modify Config.plist as follow :
clover

Screen Shot 2015-03-24 at 7.37.20 pm



Method 2 :Chameleon Installer/Customize/Setting/HDEF Layout/

Like Clover we can also Chameleon Bootloader to inject Layout_ID .Use Chameleon Wizard app is much easy to do with it like follow :

Chameleon

Method 3 :HDAEnalers's Kext
For those who do not use DSDT and or do not know how to inject yourLayout_ID through this, here is an alternative.Credits for Kabyl for all HDAEnabler's
Just Download HDAEnalers Kext Here and Install it using iKext or other tools you use and After installation repair permissions and rebuild caches..

Method 4 :DSDT/HDEF/Layout_id = Audio_id
For our standard onboard sound card be recognized by OS X must add the device to our HDEF DSDT.aml. For this we use the following patches: HDEF or AZAL to HDEF in both DTGP method has to be present in our DSDT.aml. We use the DSDT Editor or MacIasl to apply the patches correctly
Device (HDEF)
            {
                Name (_ADR, 0x001B0000)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "layout-id",
                            Buffer (0x04)
                            {
                                0x01 0x00, 0x00, 0x00
                            },

                            "PinConfigurations",
                            Buffer (Zero) {}

                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
Method (DTGP, 5, NotSerialized)
    {
        If (LEqual (Arg0, Buffer (0x10)
                {
                    /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
                    /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                }))
        {
            If (LEqual (Arg1, One))
            {
                If (LEqual (Arg2, Zero))
                {
                    Store (Buffer (One)
                        {
                            0x03
                        }, Arg4)
                    Return (One)
                }

                If (LEqual (Arg2, One))
                {
                    Return (One)
                }
            }
        }

        Store (Buffer (One)
            {
                0x00
            }, Arg4)
        Return (Zero)
    }

Now corresponding to changing Layout_ID = as desired in DSDT.aml like this Troubleshoot ::  No Audio/Sound After Restart 

Now after restart if you not received audio or sound this means have to check following will ensure whats the main cause of it ..

Things we need to check to troubleshoot problems :
  1. Injected Audio/Layout_ID properly
  2. PinConfigurations or Verb Commands  working
  3. No Outputs or Inputs Device in System PreferancePane/Sound
  4. No desired output and Inputs in System PreferancePane

For  Injected Audio/Layout_ID properly and PinConfigurations or Verb Commands  working 

For this we needs to goto Finder -About This Mac-System Report -Audio Pane like Below:

Screen Shot 2015-03-24 at 7.59.05 pm Screen Shot 2015-03-24 at 7.59.30 pm

if you found everything is working as in above Screenshot then you need to refer to another method to troubleshot ..

Note : For ALC887-VD i have injected Layout_ID=1 which i used in Patching Layout and Platforms.xml file 

No Outputs or Inputs Device in System PreferancePane/Sound

if you are not getting Outputs and Inputs devices in System PreferancePane/Sound then you have to use a different Binary Patch for your Codec . just read whole  AppleHDA BINARY PATCHING and do which suites you best ..

Note: Easiest way to Binary Patching to Use bcc9 script Binary Patching Script 

No desired output and Inputs in System PreferancePane 

This you are getting a Sound a but not getting  Outputs and Inputs as Hardware  or Manufactured , the reason is behind you have not patched Platforms.xml as your Pinconfiguration or VerbCommands .. Now just read this topic in whole PATCHING XML  ( PATHMAPS AND LAYOUT )FILES. and set your Outputs and Inputs as Hardware or desired you want..

 

Thank You

4 Responses

  1. Daniel 1 year ago
    • Deepak 1 year ago
  2. Papaozi 1 year ago
    • Deepak 1 year ago

Add Comment