Contribute
Register

Jack sense gone after sleep

Status
Not open for further replies.
Joined
Oct 20, 2015
Messages
210
Motherboard
Xiaomi Air 13
CPU
Intel i5-6200u
Graphics
Intel HD 520
I have an issue with my audio jack. It works before sleep but after wake up it does not work anymore, my internal speakers do work after sleep.

My audio is enabled with a dummy AppleHDA (ALC269) and i'm using CodecCommander as well.

I thought CodecCommander fixes this issue. Is there anything else i can try to make it work after sleep?
 
Problem reporting:
Code:
Air-van-Mattias:~ mattiaspelgrims$ kextstat|grep -y acpiplat
   13    2 0xffffff7f831df000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 867C81BE-EA01-3A65-89F4-06D78E6514CA <12 11 7 6 5 4 3 1>
Air-van-Mattias:~ mattiaspelgrims$ kextstat|grep -y appleintelcpu
Air-van-Mattias:~ mattiaspelgrims$ kextstat|grep -y applelpc
  108    0 0xffffff7f82c9b000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <99 12 5 4 3>
Air-van-Mattias:~ mattiaspelgrims$ kextstat|grep -y applehda
   89    1 0xffffff7f81171000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (278.56) CFB0D0AE-F09A-3660-8F95-7A02FD5FBF07 <88 87 73 12 7 6 5 4 3 1>
  120    0 0xffffff7f81313000 0xb4000    0xb4000    com.apple.driver.AppleHDA (999.1.1fc1) A4EB06C9-A40A-39EF-9C4A-D7F23DB9A2F9 <119 89 88 87 77 73 6 5 4 3 1>
  121    0 0xffffff7f83125000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (278.56) 06C594F4-3E5D-3BF4-A783-90C741DAA3F0 <4 3>

Code:
Air-van-Mattias:~ mattiaspelgrims$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext SATA-100-series-unsupported.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmFirmwareRepo.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2SmartTouchPad.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext aDummyHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8100.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
KernelCache ID: 2784C47E319EE5F1C6D81BC4C82D8945
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>

Thanks!
 

Attachments

  • CLOVER.zip
    1.3 MB · Views: 88
  • ioreg.zip
    639.9 KB · Views: 60
  • RehabMan.zip
    45.4 KB · Views: 63
Problem reporting:
Code:
Air-van-Mattias:~ mattiaspelgrims$ kextstat|grep -y acpiplat
   13    2 0xffffff7f831df000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 867C81BE-EA01-3A65-89F4-06D78E6514CA <12 11 7 6 5 4 3 1>
Air-van-Mattias:~ mattiaspelgrims$ kextstat|grep -y appleintelcpu
Air-van-Mattias:~ mattiaspelgrims$ kextstat|grep -y applelpc
  108    0 0xffffff7f82c9b000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <99 12 5 4 3>
Air-van-Mattias:~ mattiaspelgrims$ kextstat|grep -y applehda
   89    1 0xffffff7f81171000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (278.56) CFB0D0AE-F09A-3660-8F95-7A02FD5FBF07 <88 87 73 12 7 6 5 4 3 1>
  120    0 0xffffff7f81313000 0xb4000    0xb4000    com.apple.driver.AppleHDA (999.1.1fc1) A4EB06C9-A40A-39EF-9C4A-D7F23DB9A2F9 <119 89 88 87 77 73 6 5 4 3 1>
  121    0 0xffffff7f83125000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (278.56) 06C594F4-3E5D-3BF4-A783-90C741DAA3F0 <4 3>

Code:
Air-van-Mattias:~ mattiaspelgrims$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext SATA-100-series-unsupported.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext CodecCommander.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmPatchRAM2.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BrcmFirmwareRepo.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2SmartTouchPad.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext aDummyHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8100.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
KernelCache ID: 2784C47E319EE5F1C6D81BC4C82D8945
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>

Thanks!

You might need a custom profile for your specific ALC269 codec. Look at the Info.plist in CodecCommander and note that there is a special configuration for ALC269VB, for example.
I was hoping to see subvendor/subcodec-id in ioreg, but I don't think it is there.
You will need to look at CodecCommander logs or your audio codec dump from Linux to determine the matching criteria (and to verify the correct node for the headphone).
 
You might need a custom profile for your specific ALC269 codec. Look at the Info.plist in CodecCommander and note that there is a special configuration for ALC269VB, for example.
I was hoping to see subvendor/subcodec-id in ioreg, but I don't think it is there.
You will need to look at CodecCommander logs or your audio codec dump from Linux to determine the matching criteria (and to verify the correct node for the headphone).
could this be it?

If not, how would i be able to check it in CodecCommander logs? Where can i find them?

edit: same result in DPCIManager and Windows 10 device properties

edit2: Fixed!
First i tried adding the sub vendor to ALC269VB in CodecCommander which did not work:
Code:
<string>Realtek ALC269VB</string>
<key>10ec_0269_HDA_1bab_1712</key>
Then i tried adding the sub vendor to ALC269 in CodecCommander which worked:
Code:
<string>Realtek ALC269</string>
<key>10ec_0269_HDA_1bab_1712</key>
Now my jack works after sleep, thanks for your help!
 

Attachments

  • subvendor.png
    subvendor.png
    136.5 KB · Views: 154
Last edited:
could this be it?

If not, how would i be able to check it in CodecCommander logs? Where can i find them?

edit: same result in DPCIManager and Windows 10 device properties

edit2: Fixed!
First i tried adding the sub vendor to ALC269VB in CodecCommander which did not work:
Code:
<string>Realtek ALC269VB</string>
<key>10ec_0269_HDA_1bab_1712</key>
Then i tried adding the sub vendor to ALC269 in CodecCommander which worked:
Code:
<string>Realtek ALC269</string>
<key>10ec_0269_HDA_1bab_1712</key>
Now my jack works after sleep, thanks for your help!

If you wanted it to work without modifications of the Info.plist, you could use this SSDT:
Code:
// This SSDT demonstrates a custom configuration for ALC269VB.
DefinitionBlock ("", "SSDT", 1, "hack", "ALC269VB", 0)
{
    External(_SB.PCI0.HDEF, DeviceObj)
    Name(_SB.PCI0.HDEF.RMCF, Package()
    {
        "CodecCommander", Package()
        {
            "Custom Commands", Package()
            {
                Package(){}, // signifies Array instead of Dictionary
                Package()
                {
                    // 0x21 SET_UNSOLICITED_ENABLE 0x83
                    "Command", Buffer() { 0x02, 0x17, 0x08, 0x83 },
                    "On Init", ">y",
                    "On Sleep", ">n",
                    "On Wake", ">y",
                },

            },
        },
    })
}
// EOF

I will consider adding the 10ec_0269_HDA_1bab_1712 entry to a future CodecCommander.kext build.
 
If you wanted it to work without modifications of the Info.plist, you could use this SSDT:
Code:
// This SSDT demonstrates a custom configuration for ALC269VB.
DefinitionBlock ("", "SSDT", 1, "hack", "ALC269VB", 0)
{
    External(_SB.PCI0.HDEF, DeviceObj)
    Name(_SB.PCI0.HDEF.RMCF, Package()
    {
        "CodecCommander", Package()
        {
            "Custom Commands", Package()
            {
                Package(){}, // signifies Array instead of Dictionary
                Package()
                {
                    // 0x21 SET_UNSOLICITED_ENABLE 0x83
                    "Command", Buffer() { 0x02, 0x17, 0x08, 0x83 },
                    "On Init", ">y",
                    "On Sleep", ">n",
                    "On Wake", ">y",
                },

            },
        },
    })
}
// EOF

I will consider adding the 10ec_0269_HDA_1bab_1712 entry to a future CodecCommander.kext build.
Thanks! I will stick to the Info.plist editing :)
 
Thanks! I will stick to the Info.plist editing :)

The SSDT is a better way as it is easier to update to new versions of CodecCommander when they come...
 
EDIT : oops, posted in wrong section. Created a new thread .
 
Last edited:
Status
Not open for further replies.
Back
Top