Jump to content

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


EMlyDinEsH

Recommended Posts

[solved] Answering my own issue. EAPDFix works now.

 

The problem is that when I was installing Mavericks, boot kept stalling at [PCI Configuration begin] and I couldn't see anything. npci=0x2000, npci=0x3000 were not working. The only thing that got me past that was to remove Name (_ADR, zero) from Device (PCI0)

        Device (PCI0)
        {
            Name (_HID, EisaId ("PNP0A08"))
            Name (_CID, EisaId ("PNP0A03"))
            Name (_ADR, Zero)     <<------------- had to remove this to get past [PCI Configuration begin]
            Method (^BN00, 0, NotSerialized)
            {
                Return (Zero)
            }

            Method (_BBN, 0, NotSerialized)
            {
                Return (BN00 ())
            }

            Name (_UID, Zero)
            Method (_PRT, 0, NotSerialized)
            {
                If (PICM)
                {
                    Return (AR00 ())
                }

I simply had to put Name (_ADR, zero) back. Now EAPDFix is working correctly:

0/23/14 8:10:08.000 AM kernel[0]: EAPDFix v2.0 Final Copyright (c) EMlyDinEsH (OSXLatitude) 2013-2014.
10/23/14 8:10:08.000 AM kernel[0]: EAPDFix: Fix type 1 enabled, will send the verb once to enable EAPD/Jack Sense at boot and after sleep.
10/23/14 8:10:08.000 AM kernel[0]: EAPDFix: Speakers has EAPD, Headphones has EAPD, Jack sense Fix Disabled.
10/23/14 8:10:10.000 AM kernel[0]: EAPDFix: Timeout on response read.
10/23/14 8:10:10.000 AM kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
10/23/14 8:10:10.000 AM kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.

Many thanks! Excellent work EMlyDinEsH!

Link to comment
Share on other sites

Update: Please See attachments 

 

 

EAPD.kext is preventing my machine from asleep. everything works as it should, but when I click on the asleep button the machine wake up right away. i captured the console messages below. attaches is the mod i made to the kext file.  any clue how to fix that? or what config I need to change? 

 

10 21:57:59 SamsungATIV700T kernel[0]: EAPDFix: Speakers has EAPD, Headphones has EAPD, Jack sense Fix Enabled.

Dec 10 21:57:59 SamsungATIV700T kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 10 21:57:59 SamsungATIV700T kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
Dec 10 21:59:39 SamsungATIV700T kernel[0]: EAPDFix: Timeout on response read.
Dec 10 21:59:43 SamsungATIV700T kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 10 21:59:43 SamsungATIV700T kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
Dec 10 22:00:51 SamsungATIV700T kernel[0]: EAPDFix: Timeout on response read.
Dec 10 22:00:55 SamsungATIV700T kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 10 22:00:55 SamsungATIV700T kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
Dec 10 22:01:49 SamsungATIV700T kernel[0]: EAPDFix: Timeout on response read.
Dec 10 22:01:53 SamsungATIV700T kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 10 22:01:53 SamsungATIV700T kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
Dec 10 22:03:11 SamsungATIV700T kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 10 22:03:11 SamsungATIV700T kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.

EAPDFix.kext.zip

Requested Files 2.zip

system.log.zip

Link to comment
Share on other sites

 

Update: Please See attachments 

 

 

EAPD.kext is preventing my machine from asleep. everything works as it should, but when I click on the asleep button the machine wake up right away. i captured the console messages below. attaches is the mod i made to the kext file.  any clue how to fix that? or what config I need to change? 

 

10 21:57:59 SamsungATIV700T kernel[0]: EAPDFix: Speakers has EAPD, Headphones has EAPD, Jack sense Fix Enabled.

Dec 10 21:57:59 SamsungATIV700T kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 10 21:57:59 SamsungATIV700T kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
Dec 10 21:59:39 SamsungATIV700T kernel[0]: EAPDFix: Timeout on response read.
Dec 10 21:59:43 SamsungATIV700T kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 10 21:59:43 SamsungATIV700T kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
Dec 10 22:00:51 SamsungATIV700T kernel[0]: EAPDFix: Timeout on response read.
Dec 10 22:00:55 SamsungATIV700T kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 10 22:00:55 SamsungATIV700T kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
Dec 10 22:01:49 SamsungATIV700T kernel[0]: EAPDFix: Timeout on response read.
Dec 10 22:01:53 SamsungATIV700T kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 10 22:01:53 SamsungATIV700T kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
Dec 10 22:03:11 SamsungATIV700T kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 10 22:03:11 SamsungATIV700T kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.

 

 

Why did enable JackSense Fix in plist? Try to disable this and install. After booting save a system log file then try to sleep and note down the time of it as well and save the log again then send me both files. Also send me your patched AppleHDA too.

 

How do you install my kext exactly? 

Link to comment
Share on other sites

Why did enable JackSense Fix in plist? Try to disable this and install. After booting save a system log file then try to sleep and note down the time of it as well and save the log again then send me both files. Also send me your patched AppleHDA too.

 

How do you install my kext exactly? 

I installed the Kext using Kext Wizard; followed by Repair permissions and Rebuild cache.  

EAPDFix.kext is installed under /S/L/E

 

Regarding JackSense, if I did't install it, I will have to toggle the volume up/down manually within 10sec after asleep to get sound working. I found that enabling JackSense does the volume toggle effect or similar effect that enables the sound on its own. However, sometime that doesn’t work and i have to reboot to get sound working but that’s 2/10. 

 

Attached are the new logs/AppleHDA 

 

LogFile Notes:

Disabled JackSense/rebooted/saved fresh log/last log entry Dec 13 15:18:05

Clicked asleep/wake the machine/saved log_after_asleep/ look after Dec 13 15:18:05

 

machine_wont_sleep.log.zip

around 16:38-42 I attempted to asleep, but the machine won't asleep. 

 

Files.zip

machine_wont_sleep.log.zip

Link to comment
Share on other sites

I tried to make this kext work and it does load at boot but sound does not get enabled after sleep.

I think I make a mistake in the config. Can anybody tell me what I do wrong?

 

I don't think IDT codecs ever needed EAPD Fix after sleep. Are you sure you have no sound from speakers after sleep?

Link to comment
Share on other sites

 

I installed the Kext using Kext Wizard; followed by Repair permissions and Rebuild cache.  

EAPDFix.kext is installed under /S/L/E

 

Regarding JackSense, if I did't install it, I will have to toggle the volume up/down manually within 10sec after asleep to get sound working. I found that enabling JackSense does the volume toggle effect or similar effect that enables the sound on its own. However, sometime that doesn’t work and i have to reboot to get sound working but that’s 2/10. 

 

Attached are the new logs/AppleHDA 

 

LogFile Notes:

Disabled JackSense/rebooted/saved fresh log/last log entry Dec 13 15:18:05

Clicked asleep/wake the machine/saved log_after_asleep/ look after Dec 13 15:18:05

 

machine_wont_sleep.log.zip

around 16:38-42 I attempted to asleep, but the machine won't asleep. 

 

 

I don't see anything related to EAPDFix between 16:38-42 and also sleep/wake logs. Its better if we do a debug session so i can get clear idea about your problem and help you as i can't keep up with the forum sometimes. so PM me for debug session details.

Link to comment
Share on other sites

I don't think IDT codecs ever needed EAPD Fix after sleep. Are you sure you have no sound from speakers after sleep?

 

After sleep I lose audio in both my internal speakers and in my headphone. The internal microphone keeps working fine. my codec dump only mentioned EAPD in the headphone and the internal speakers and in the headphone. 

Link to comment
Share on other sites

Im a multi boot user (Win7 / Yosemite) and i have a really weird problem with the rear green jack of my board.

When i boot directly into yosemite my sound works perfect but when i reboot from win7 to yosemite i lose sound from rear green which has EAPD.

This great kext works perfect for sleep, i do get sound after sleep but i still lose sound if i reboot from windows to mac

I have to shut down my pc and boot into mac in order to get proper  sound.

 

And another thing is that i get some errors like:

 

Dec 15 16:56:49 localhost kernel[0]: EAPDFix: Failed to find Audio device HDEF@1B.
Dec 15 16:56:49 localhost kernel[0]: EAPDFix: Failed to find Audio device HDEF@1B.
Dec 15 16:56:49 localhost kernel[0]: EAPDFix: Failed to find Audio device HDEF@1B.
Dec 15 16:56:49 localhost kernel[0]: EAPDFix: Failed to find Audio device HDEF@1B.
 
but then.....
 
Dec 15 16:56:49 localhost kernel[0]: EAPDFix v2.0 Final Copyright © EMlyDinEsH (OSXLatitude) 2013-2014.
Dec 15 16:56:49 localhost kernel[0]: EAPDFix: Fix type 1 enabled, will send the verb once to enable EAPD/Jack Sense at boot and after sleep.
Dec 15 16:56:49 localhost kernel[0]: EAPDFix: Speakers has EAPD, Headphones has no EAPD, Jack sense Fix Disabled.
Dec 15 16:56:50 localhost kernel[0]: EAPDFix: Timeout on response read.
Dec 15 16:56:50 localhost kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
Dec 15 16:56:50 localhost kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
Link to comment
Share on other sites

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