Jump to content

EAPD/Jack sense Fix (No sound and jack sense issue after sleep)


EMlyDinEsH

Recommended Posts

Some entries in your DSDT patch doesn't make any sense. There's no such property as IOAudioPower state on HDEF. Specifying device-type is not required, HDEF is already treated as being built-in by default and you are missing MaximumBootBeepVolume which will results in sound assertions in your console. Specifying AFGLowPowerState on most codecs (ALC269 most certainly) will result in complete audio loss after first sound is played. 

 

i removed to related in AFGLowPowerState. and

i found hex code to fix sensor jack in yosemite

4585E47414

to

4585E47514

 

 

but i listen to music after 30sec, music is very flat. unplug, try plug. sound is originally back

 

edit: codeccommander is working :)

Link to comment
Share on other sites

Happy birthday Dinesh!

Unfortunately, your kext fails even at cold boot, with either 3 or 5 sec interval. The log is cold boot  + one iteration of LID sleep/wake. No sound before or after sleep.

 

Thanks, sorry for the very late repay as i was busy and way for a while. I see you made some progress in this to look for a good solution. Can we have a discussion at Skype about the above issue in my kext and your new solution? so i can take a look what i can do and test.

Link to comment
Share on other sites

I told you it was a problem with your pinconfig and not the kext itself. 

To see if jack sense problem would be gone try the following patch with clover (valid for 10.9.4 and 10.9.5):

01cccfbb2f.png

Also, try disabling Generate Stream and set Simulate Headphones to 0. You should see fully working sound before and after with no extra notifications and additional EAPD updates with 30 second delays .. I'm working towards finding a universal solution to this problem, but being alone on this kind of sucks..  

 

your solution is best.

i try to find jack sense code in lion, ml and mavericks 10.9 10.9.1

there is different structure compared in mavericks 10.9.4~10.9.5 and yosemite.

how can i find hex code? already did you find hex code about jack sense?

Link to comment
Share on other sites

I'm still having internal speakers not powering on after wake. Using a patched AppleHDA 2.6.3, ALC269VB, OSX 10.9.5. Tried with Codec Commander, EAPDfix(fixes 1-4), patched IOAudioFamily, rolled back IOAudioFamily. Console reports successful EAPD wake (either CC or EAPDfix) but speakers are still powered down. Internal Mic & Headphone jack still work after wake.

 

Also getting some sound assertions in AppleHDADriver & AppleHDAController.

 

Files:Archive.zip

(AppleHDA, System Log, IOREG, & codec dump)

 

Relevant part of DSDT:

I don't know if the stuff above the DSM patch needs to be there.

  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)
                {
                    Store (Package (0x06)
                        {
                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }, 

                            "layout-id", 
                            Buffer (0x04)
                            {
                                0x1C, 0x00, 0x00, 0x00
                            }, 

                            "PinConfigurations", 
                            Buffer (Zero) {}
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }


Kind of off topic, I was also wondering how dual use jacks get recognized. My headphone jack is also my external mic but has no relevant pin config that I can see.

 

My system is an Asus S300ca.

Link to comment
Share on other sites

*** Edit *** : Issue solved in my next post. All is good now.

 

This is a terrific project, especially for the ALC269 that has an EAPD chip. Thanks for helping so many of us.

 

I'm on Mavericks 10.9.5 with stock patched AppleHDA v2.5.3. Unfortunately, EAPD fix v2 and 1.7.1 are not working for me. I keep getting:

EAPDFix: Failed to find Audio device HDEF@1B
EAPDFix: Failed to find Audio device HDEF@1B
EAPDFix: Failed to find Audio device HDEF@1B

I don't know where else to look. That seems correct.

post-67100-0-35407000-1414047473_thumb.png

post-67100-0-11507900-1414047505_thumb.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...