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.

Here I have a similar but different behavior. If I have Name (_ADR, zero), then EAPDFix during the boot usually gives me "Timeout on response read". Solution is to reload EAPDFix.kext manually. If I take it off, then I don't get a timeout but sound doesn't work anymore: EAPDFix: Failed to find Audio device HDEF@1B.

Link to comment
Share on other sites

Here I have a similar but different behavior. If I have Name (_ADR, zero), then EAPDFix during the boot usually gives me "Timeout on response read". Solution is to reload EAPDFix.kext manually. If I take it off, then I don't get a timeout but sound doesn't work anymore: EAPDFix: Failed to find Audio device HDEF@1B.

 

How did you install my kext? Let me see your system log and ioreg with my kext installed.

 

friend'm new here. I wonder if your solution is also used for the mode "idle" audio? To prevent the same go to "sleep". The audio is always active.

My problem is "popping" sound boring, always rushes when any activity that requires the reproduction of sound.

 

I dont understand what you mean? Could you explain your problem clearly? 

Link to comment
Share on other sites

I dont understand what you mean? Could you explain your problem clearly? 

 

Yes I will explain.
I'm using injection mode by CloverEFI (On-The-Fly) with kext "DummyHDA".
The problem is. Whenever there is sound activity in the system, it is in "idle" mode. When I put a song, or play any notification, it comes out mode (idle), and comes to me with a very loud crack.
I was wondering if with that your solution, you can avoid a sound entering the mode of "rest" or "idle".
In CloverEFI has an option that is for it, the key "AFGLowPowerState", but does not work for me.
I dump my codec here at Linux, but do not know where I find the values to edit the kext "EAPDFix.kext".

 

 
 
Thanks buddy for any help. Sorry for any errors in the text. I used Google Translate.
Link to comment
Share on other sites

I can see your codec has EAPD in both Speaker and HP jack, do you have no sound from both after sleep? My solution is meant to enable this EAPD at boot(mostly it gets enabled using codec verb by AppleHDA) and after sleep so the sound will work fine. So i don't know my solution will be able to overcome your problem but give a try by using the Fix type 3 and your codec node values in my kext then see.
 
According to your codec dump, SPK is 0x14 and HP is 0x1B, CodecAddress is 2. Edit these values in my kext and enable Fix Type 3.
 
If this does not work then you can try the app Antipop: http://www.macupdate.com/app/mac/29024/antipopand see which can solve i think.

  • Like 1
Link to comment
Share on other sites

Friend. Edited the kext "EAPDFix" test in a testing facility with Yosemite 10.10.3. Currently in use SMBios iMac 13.1. Did not have that problem, running out of sound after the "sleep", but I realized that the audio stopped giving these "clicks" that I reported him. Not yet used this script "Antipop". I'm doing some tests.
Now where was really worked with the SMBios Mac Pro 6.1. This was no sound after the "sleep". Now I sound after the "sleep" with the kext "EAPDFix" installed.
Thanks. thank you very much

Link to comment
Share on other sites

I'm not sure if this is an EAPD issue or not, but I have the realtek ALC 282 audio codec. I got everything patched and working with DummyHDA and Clover and I have EAPDFix installed though I'm not sure yet if it's needed.

 

The issue is that when I boot up my laptop (and after I resume from sleep), the speakers don't work until after I play music or sound for 7 minutes or so (doesn't matter what device I'm playing it through whether it's bluetooth or headphones). However, the headphones do. 

 

My laptop has two separate speaker nodes: front speakers and subwoofer. Only the front speakers are EAPD, nothing else is (not even the headphones which share the output node with it). 

 

The weird thing is that both the subwoofer and the front speakers have this problem. 

 

Edit: Seems to be unrelated to EAPD as it occurs in linux too: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1366241

codec_dump2.txt

layout3.xml

Platforms.xml

Config Data.rtf

Link to comment
Share on other sites

Hello! 

 

i try to use this fix but it doesn't seems to work for me. My problem is. 

 

1. When i turn on OSX after a SHUTDOWN STATE everything works as it should.

2. After a long SLEEP STATE (with short SLEEP everything seem to be good) i lose sound from jack. What is strange that recognition of EAPD works. When i plug jack to the HP the laptop speeker is muted and the indication in System Prefs -> Sound changes from build-in to Headphone Port but there is no sound in Headphones.

3. When i try to reboot the system the problem is not solved.

4. Only shutdown and power on again solves the issue. 

 

Do You guys have any idea? What information do i need to provide?

 

PS.

i use the EAPDFix.kext -> the settings are: Adress: 0, HP: 0x21 -> 33, the rest seem to be correct

i use modded AppleHDA.kext

i use Clover bootloader

Link to comment
Share on other sites

This kext isn´t working on El Capitan anymore.

 

I got the following kernel panic during start:

Panic-Protokoll (Systemabstürze):

  Quelle:	/Library/Logs/DiagnosticReports/Kernel_2015-09-10-182634_HackintoshX4.panic
  Größe:	6 KB (6.439 Byte)
  Zuletzt geändert:	10.09.15, 18:26
  Letzte Einträge:	Anonymous UUID:       36E35D94-9A4F-41FF-5336-5EDCE4CA75CE

Thu Sep 10 18:26:34 2015

*** Panic Report ***
panic(cpu 3 caller 0xffffff8005dcdeca): "PHYSMAP_PTOV bounds exceeded, 0xffffff1ad2010068, 0xfffffe9b40000000, 0xfffffedb40000000"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3247.1.106/osfmk/i386/pmap.h:463
Backtrace (CPU 3), Frame : Return Address
0xffffff91f8f6bc50 : 0xffffff8005ce5357 
0xffffff91f8f6bcd0 : 0xffffff8005dcdeca 
0xffffff91f8f6bd40 : 0xffffff8005dcdb46 
0xffffff91f8f6bd90 : 0xffffff80062c689d 
0xffffff91f8f6bdd0 : 0xffffff7f88135e91 
0xffffff91f8f6be10 : 0xffffff7f881347f8 
0xffffff91f8f6be40 : 0xffffff7f88134777 
0xffffff91f8f6be60 : 0xffffff80062a3bdc 
0xffffff91f8f6bee0 : 0xffffff800629d212 
0xffffff91f8f6bf00 : 0xffffff8005d196ba 
0xffffff91f8f6bfb0 : 0xffffff8005dd14b7 
      Kernel Extensions in backtrace:
         org.emlydinesh.driver.EAPDFix(2.0.1)[5EA27FE0-A297-3D09-95C2-8149A1A4B5EE]@0xffffff7f88133000->0xffffff7f88138fff
            dependency: com.apple.driver.AppleHDAController(272.50)[7A5FAC87-3715-3982-8CCC-D4FA619D62C3]@0xffffff7f878fb000
            dependency: com.apple.iokit.IOHIDFamily(2.0.0)[353AFBA9-8775-34E3-BF8B-40D7AD2C500A]@0xffffff7f86b0b000
            dependency: com.apple.iokit.IOAudioFamily(203.8)[189C80CB-2EFA-31A9-9380-AD970C691BBC]@0xffffff7f8728b000

BSD process name corresponding to current thread: kernel_task
Boot args: kext-dev-mode=1 -v nvda_drv=1  

Mac OS version:
15A282a

Kernel version:
Darwin Kernel Version 15.0.0: Wed Aug 26 16:57:32 PDT 2015; root:xnu-3247.1.106~1/RELEASE_X86_64
Kernel UUID: 37BC582F-8BF4-3F65-AFBB-ECF792060C68
Kernel slide:     0x0000000005a00000
Kernel text base: 0xffffff8005c00000
__HIB  text base: 0xffffff8005b00000
System model name: MacPro3,1 (Mac-F42C88C8)

System uptime in nanoseconds: 5365776773
last loaded kext at 5119407666: com.nvidia.CUDA	1.1.0 (addr 0xffffff7f88170000, size 12288)
loaded kexts:
com.nvidia.CUDA	1.1.0
org.emlydinesh.driver.EAPDFix	2.0.1
com.intel.driver.EnergyDriver	2.0
com.insanelymac.IntelMausiEthernet	2.0.0
com.caiaq.driver.NIUSBHardwareDriver	2.6.0
com.metakine.handsoff.driver	2.3.6
org.hwsensors.driver.LPCSensors	1394
org.hwsensors.driver.GPUSensors	1394
org.hwsensors.driver.ACPISensors	1394
org.hwsensors.driver.CPUSensors	1394
org.netkas.driver.FakeSMC	1394
com.apple.driver.pmtelemetry	1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.iokit.IOBluetoothSerialManager	4.4.0f4
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.driver.AppleUpstreamUserClient	3.6.1
com.apple.driver.AppleMCCSControl	1.2.13
com.apple.driver.X86PlatformShim	1.0.0
com.apple.driver.AGPM	110.20.19
com.apple.driver.ApplePlatformEnabler	2.5.1d0
com.apple.driver.AppleHDAHardwareConfigDriver	272.50
com.apple.driver.AppleHV	1
com.apple.GeForce	10.0.6
com.apple.driver.AppleHDA	272.50
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.ACPI_SMC_PlatformPlugin	1.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport	4.4.0f4
com.apple.driver.AudioAUUC	1.70
com.apple.driver.AppleLPC	3.1
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.nvidia.NVDAStartup	10.0.6
com.apple.driver.AppleFIVRDriver	4.1.0
com.apple.filesystems.autofs	3.0
com.apple.iokit.SCSITaskUserClient	3.7.7
com.apple.driver.AppleFileSystemDriver	3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.BootCache	37
com.apple.iokit.IOAHCIBlockStorage	2.8.0
com.apple.driver.usb.AppleUSBEHCIPCI	1.0.1
com.apple.driver.AppleAHCIPort	3.1.5
com.apple.driver.AppleACPIButtons	4.0
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleHPET	1.8
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleAPIC	1.7
com.apple.nke.applicationfirewall	163
com.apple.security.quarantine	3
com.apple.security.TMSafetyNet	8
com.apple.iokit.IOSurface	108.0.1
com.apple.iokit.IOSerialFamily	11
com.apple.driver.CoreCaptureResponder	1
com.apple.driver.corecapture	1.0.4
com.apple.iokit.IOAcceleratorFamily2	203.7.1
com.apple.nvidia.driver.NVDAGK100Hal	10.0.6
com.apple.nvidia.driver.NVDAResman	10.0.6
com.apple.AppleGraphicsDeviceControl	3.11.31
com.apple.driver.DspFuncLib	272.50
com.apple.kext.OSvKernDSPLib	525
com.apple.driver.AppleSMBusController	1.0.14d1
com.apple.iokit.IOSMBusFamily	1.1
com.apple.iokit.IONDRVSupport	2.4.1
com.apple.driver.IOPlatformPluginLegacy	1.0.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport	4.4.0f4
com.apple.iokit.IOBluetoothFamily	4.4.0f4
com.apple.driver.AppleHDAController	272.50
com.apple.iokit.IOGraphicsFamily	2.4.1
com.apple.iokit.IOHDAFamily	272.50
com.apple.driver.AppleSMBusPCI	1.0.14d1
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.driver.AppleSMC	3.1.9
com.apple.driver.IOPlatformPluginFamily	6.0.0d7
com.apple.kext.triggers	1.0
com.apple.iokit.IOSCSIBlockCommandsDevice	3.7.7
com.apple.iokit.IOUSBMassStorageDriver	1.0.0
com.apple.driver.AppleUSBAudio	301.52
com.apple.iokit.IOAudioFamily	203.8
com.apple.vecLib.kext	1.2.0
com.apple.driver.usb.IOUSBHostHIDDevice	1.0.1
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.0.1
com.apple.driver.usb.AppleUSBHub	1.0.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice	3.7.7
com.apple.iokit.IOBDStorageFamily	1.8
com.apple.iokit.IODVDStorageFamily	1.8
com.apple.iokit.IOCDStorageFamily	1.8
com.apple.iokit.IONetworkingFamily	3.2
com.apple.driver.AppleUSBMergeNub	900.4.1
com.apple.driver.AppleXsanScheme	3
com.apple.iokit.IOAHCISerialATAPI	2.6.2
com.apple.iokit.IOSCSIArchitectureModelFamily	3.7.7
com.apple.driver.usb.AppleUSBEHCI	1.0.1
com.apple.iokit.IOAHCIFamily	2.8.0
com.apple.driver.usb.AppleUSBXHCIPCI	1.0.1
com.apple.driver.usb.AppleUSBXHCI	1.0.1
com.apple.iokit.IOUSBFamily	900.4.1
com.apple.iokit.IOUSBHostFamily	1.0.1
com.apple.driver.AppleUSBHostMergeProperties	1.0.1
com.apple.driver.AppleEFINVRAM	2.0
com.apple.driver.AppleEFIRuntime	2.0
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.driver.AppleKeyStore	2
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.DiskImages	414
com.apple.iokit.IOStorageFamily	2.1
com.apple.iokit.IOReportFamily	31
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleACPIPlatform	4.0
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOACPIFamily	1.4
com.apple.kec.Libm	1
com.apple.kec.pthread	1
com.apple.kec.corecrypto	1.0


Link to comment
Share on other sites

 

This kext isn´t working on El Capitan anymore.

 

It's working fine on my Installation. I'm using 10.11 GM and installed the kext after having booted with SIP disabled. Not a single KP so far and it works just like it did on Mavericks. Can't tell about Yosemite, never used it.

Link to comment
Share on other sites

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