Jump to content

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


EMlyDinEsH

Recommended Posts

hey why you install E/L?
 
codeccommander.kext support ROOT/L/E. you can check commit in codeccommander.kext
 
i know EAPDFIX not support ROOT/L/E.
 
try to install EAPDFIX in S/L/E or EFI CLOVER.
 
attach log and clover log
 
add 1.
your kext is not clear. also you have to check applehda269 kext duplication in all system folders.
 
 
add 2.
you have to cleary delete all sound kext. and you should be download attached by me.
 
and installl S/L/E or Clover Folder with EAPDFix 2.2
 
and feedback with log and clover log

Sherlocks_AppleHDA269.kext.zip

Link to comment
Share on other sites

Sorry sherlock thanks for your comments/help but I don't understand your english.
Also, why do you post your HDA injector kext without your system spec, or which nodes you have ?
 
I have been doing hackingtoshes or over 5 years so I know what I am doing (most of the time) and know how to install/uninstall kexts (manually via terminal command line and via automated utilities like kext utility).
 
Why do I install kexts in /Library/Extensions ?
Because, since Yosemite, you can and should install NON-Apple kexts there.
I have several hacks and in all them running El Capitan, I install FakeSMC, AppleHDAxxx, USB Injectors, etc, etc in /L/E as they are all non-Apple kexts and they all work.
 
There's no need to put kexts in Clover/kexts folder - saves time (slightly) at boot time as there's no need to inject kexts into the kernel cache (that's how Clover kext injection works).
 
CodecCommander.kext works very well in /L/E folder (I did not read anywhere that states it should NOT be installed in /L/E nor that it does NOT support installation in /L/E).
 
Anyway, as a test, I uninstalled codeccommander.kext from /L/E and installed epadfix.kext (V2.2) into /S/L/E. On reboot, I have sound like before. HP works fine. BUT...after waking from sleep, I have no sound from speakers. HP's work fine.
 
Here's relevant system logs (there's nothing relevant in Clover logs):

29/02/2016 14:16:32.343 com.apple.kextd[45]: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/EAPDFix.kext"
29/02/2016 14:16:33.274 com.apple.kextd[45]: kext signature failure override allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/EAPDFix.kext"
29/02/2016 14:16:33.000 kernel[0]: EAPDFix v2.2 Final Copyright (c) EMlyDinEsH <www.osxlatitude.com> 2013-2016.
29/02/2016 14:16:33.000 kernel[0]: EAPDFix: OS X Version 10.11
29/02/2016 14:16:33.461 com.apple.kextd[45]: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/EAPDFix.kext"
29/02/2016 14:16:33.000 kernel[0]: EAPDFix: EAPD Capabale for output Node 0x14
29/02/2016 14:16:33.830 com.apple.kextd[45]: kext signature failure override allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/EAPDFix.kext"
29/02/2016 14:16:34.000 kernel[0]: EAPDFix: Using Fix type 1, will send the codec verb to enable EAPD/Jack Sense
29/02/2016 14:16:34.000 kernel[0]: EAPDFix: Headphone Node 0x21, Speaker Node 0x1e, External Mic Node 0x1b, Internal Mic Node 0x12
29/02/2016 14:16:34.000 kernel[0]: EAPDFix: Speakers has EAPD, Headphones has no EAPD, Jack sense Fix Disabled
29/02/2016 14:16:34.000 kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
29/02/2016 14:16:34.000 kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
29/02/2016 14:18:23.000 kernel[0]: considerRebuildOfPrelinkedKernel org.emlydinesh.driver.EAPDFix triggered rebuild
29/02/2016 14:23:07.000 kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
29/02/2016 14:23:07.000 kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
29/02/2016 14:23:20.858 com.apple.kextcache[460]: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext EAPDFix.kext

Two issues I see with eapdfix.kext:
1. It should be installable in /L/E (as well as /S/L/E) - should be an easy fix. Also, why is it using IOProviderClass EAPDHIKeyboardDevice and not IOHDACodecFunction ?
2. it's auto detecting nodes incorrectly (see log and speaker node 0x14 and 0x1E).

Link to comment
Share on other sites

i tested all eapdfix since made eapdfix with dinesh long time ago. eapd 2.2 is no problem with me and other tester
 
codeccommander support l/e folder
 
here is commit
https://bitbucket.org/RehabMan/os-x-eapd-codec-commander/commits/4011b1a79207178af9d523891b37bf7fccaf52b4
 
eapdfix officially not support l/e. only can clover or s/l/e.
 
your log is not contain to need check problem.
you have to attache system log.
system log have to contain first boot log and after wake log.
 
also i want to your codec dump.

Link to comment
Share on other sites

i tested all eapdfix since made eapdfix with dinesh long time ago. eapd 2.2 is no problem with me and other tester

 Well, v2.2 does NOT work for at least two people.

Just because it works for you does not mean there is no problem with v2.2.

 

codeccommander support l/e folder

I know. I told you it supports installation in /L/E -- like all non-Apple kexts should support.

 

eapdfix officially not support l/e.

- why not ???? 

All non-apple kext should support installation in /L/E

 

only can clover or s/l/e.

- well, as I said it does not work in /S/L/E. Even though audio works from boot, there's no audio after wake.

 

see attached system.log and codec dump

 

BTW, I have solved my problem by using codeccommander.kext but I am replying here to help Dinesh fix his kext.

system.log.zip

codec_dump.txt.zip

Link to comment
Share on other sites

 Well, v2.2 does NOT work for at least two people.

Just because it works for you does not mean there is no problem with v2.2.

 

I know. I told you it supports installation in /L/E -- like all non-Apple kexts should support.

 

- why not ???? 

All non-apple kext should support installation in /L/E

 

- well, as I said it does not work in /S/L/E. Even though audio works from boot, there's no audio after wake.

 

see attached system.log and codec dump

 

BTW, I have solved my problem by using codeccommander.kext but I am replying here to help Dinesh fix his kext.

 

first we test audio inject kext.

 

then we confirm problem.

 

i made ALC271x injection kext all support 10.6~10.11.4 beta 4. i already test injection file.

 

you have to change layoutid 28 from 1

 

if you have dsdt, change layout blow

 

 

           Method (_DSM, 4, NotSerialized)

            {
                Store (Package (0x0E)
                    {
                        "AAPL,slot-name", 
                        Buffer (0x09)
                        {
                            "Built In"
                        }, 
 
                        "name", 
                        Buffer (0x1E)
                        {
                            "Realtek High Definition Audio"
                        }, 
 
                        "model", 
                        Buffer (0x0F)
                        {
                            "Realtek ALC271X"
                        }, 
 
                        "device_type", 
                        Buffer (0x11)
                        {
                            "Audio Controller"
                        }, 
 
                        "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)
            }

 

you have to remove all sound injection file. then you have to install attached alc271x in s/l/e with eapdfix2.2

 

important

1.you install attached files in s/l/e

2.layoutid 28

with eapdfix 2.2

 

 

feedback with first boot system log and after wake up boot log.

Sherlocks_AppleHDA271X.kext.zip

Link to comment
Share on other sites

 Well, v2.2 does NOT work for at least two people.

Just because it works for you does not mean there is no problem with v2.2.

 

I know. I told you it supports installation in /L/E -- like all non-Apple kexts should support.

 

- why not ???? 

All non-apple kext should support installation in /L/E

 

- well, as I said it does not work in /S/L/E. Even though audio works from boot, there's no audio after wake.

 

see attached system.log and codec dump

 

BTW, I have solved my problem by using codeccommander.kext but I am replying here to help Dinesh fix his kext.

 

I see a bug in my driver for your codec in scanning nodes because of SPDIF ping config. I have to debug a little to fix this, so i'll PM you a debug kext later today. Thanks for sharing your logs and dump.

Link to comment
Share on other sites

Sorry sherlock thanks for your comments/help but I don't understand your english.

Also, why do you post your HDA injector kext without your system spec, or which nodes you have ?

 

I have been doing hackingtoshes or over 5 years so I know what I am doing (most of the time) and know how to install/uninstall kexts (manually via terminal command line and via automated utilities like kext utility).

 

Why do I install kexts in /Library/Extensions ?

Because, since Yosemite, you can and should install NON-Apple kexts there.

I have several hacks and in all them running El Capitan, I install FakeSMC, AppleHDAxxx, USB Injectors, etc, etc in /L/E as they are all non-Apple kexts and they all work.

 

There's no need to put kexts in Clover/kexts folder - saves time (slightly) at boot time as there's no need to inject kexts into the kernel cache (that's how Clover kext injection works).

 

CodecCommander.kext works very well in /L/E folder (I did not read anywhere that states it should NOT be installed in /L/E nor that it does NOT support installation in /L/E).

 

Anyway, as a test, I uninstalled codeccommander.kext from /L/E and installed epadfix.kext (V2.2) into /S/L/E. On reboot, I have sound like before. HP works fine. BUT...after waking from sleep, I have no sound from speakers. HP's work fine.

 

Here's relevant system logs (there's nothing relevant in Clover logs):

29/02/2016 14:16:32.343 com.apple.kextd[45]: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/EAPDFix.kext"
29/02/2016 14:16:33.274 com.apple.kextd[45]: kext signature failure override allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/EAPDFix.kext"
29/02/2016 14:16:33.000 kernel[0]: EAPDFix v2.2 Final Copyright (c) EMlyDinEsH <www.osxlatitude.com> 2013-2016.
29/02/2016 14:16:33.000 kernel[0]: EAPDFix: OS X Version 10.11
29/02/2016 14:16:33.461 com.apple.kextd[45]: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/EAPDFix.kext"
29/02/2016 14:16:33.000 kernel[0]: EAPDFix: EAPD Capabale for output Node 0x14
29/02/2016 14:16:33.830 com.apple.kextd[45]: kext signature failure override allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/System/Library/Extensions/EAPDFix.kext"
29/02/2016 14:16:34.000 kernel[0]: EAPDFix: Using Fix type 1, will send the codec verb to enable EAPD/Jack Sense
29/02/2016 14:16:34.000 kernel[0]: EAPDFix: Headphone Node 0x21, Speaker Node 0x1e, External Mic Node 0x1b, Internal Mic Node 0x12
29/02/2016 14:16:34.000 kernel[0]: EAPDFix: Speakers has EAPD, Headphones has no EAPD, Jack sense Fix Disabled
29/02/2016 14:16:34.000 kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
29/02/2016 14:16:34.000 kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
29/02/2016 14:18:23.000 kernel[0]: considerRebuildOfPrelinkedKernel org.emlydinesh.driver.EAPDFix triggered rebuild
29/02/2016 14:23:07.000 kernel[0]: EAPDFix: Speakers EAPD is down, Trying to power up...
29/02/2016 14:23:07.000 kernel[0]: EAPDFix: Codec verb sent successfully to power up EAPD.
29/02/2016 14:23:20.858 com.apple.kextcache[460]: kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext EAPDFix.kext

Two issues I see with eapdfix.kext:

1. It should be installable in /L/E (as well as /S/L/E) - should be an easy fix. Also, why is it using IOProviderClass EAPDHIKeyboardDevice and not IOHDACodecFunction ?

2. it's auto detecting nodes incorrectly (see log and speaker node 0x14 and 0x1E).

 

I'm working on a fix as i got the issue. EAPDHIKeyboardDevice is meant for jack sense fix in old versions  (still keeping it as reference and might be useful in some cases for some one) to simulate Mute/Un-mute bezel pop up to start the audio stream.

 

EDIT: Check your PM for beta test please.

Link to comment
Share on other sites

Old version works ? Which codec you have ? send me your system log please with my kext installed after sleep.

ALC 270, version 2.1 works well, I am using it without problems, will install 2.2 and post system.log later.

Link to comment
Share on other sites

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