Jump to content

Romandas

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Romandas

  1. Hello,

    Laptop AppleHDA audio plays just fine before sleep mode, but I cannot make sound work after sleep mode. Laptop configs: Nvidia MCP79 chipset, ALC888S-VD codec, HDEF adress in DSDT: 0x00080000, OS 10.12.5. I try to use EAPDFix v2.3.5 using Fix types 1 to 3, but kernel gives this even before sleep mode..

    kernel: (EAPDFix) EAPDFix: Failed to find Audio device HDEF

    In CodecCommander change log is written:

    "Add support for nVidia MCP79/MCP7A HDA controllers that do not report EAPD state when reading response from IRR. A workaround is applied if such a chipset is detected to limit PIO count to 4, which is enough to keep speaker and headphone EAPDs enabled in 10.9.2+"

    I think that's the problem. I will try to get work CodecCommander, but if you have sugestions with EAPDFix I will try it also, because it's doesn't work with default CodecCommander.

    Archive.zip

    AppleHDA.kext.zip

    card0-codec#0.txt

  2. Without success, no sound after entering from sleep mode. Maybe due to specific Nvidia MCP79 chipset it can't find HDEF.
    Log after PC boot with settings used from previous message.


    kernel: (EAPDFix) EAPDFix: Failed to find Audio device HDEF.
    kernel: (EAPDFix) EAPDFix v2.3.5 Copyright (c) EMlyDinEsH <www.osxlatitude.com> 2013-2016.
    kernel: (EAPDFix) EAPDFix: OS X version 10.12.6
    kernel: (EAPDFix) EAPDFix: Using Fix type 3, will do background status check to enable Jack sense and EAPD when its disabled
    kernel: (EAPDFix) EAPDFix: Internal Mic node 0x12, Capabalities 0x20, Config 0x99a30940
    kernel: (EAPDFix) EAPDFix: Front Mic node 0x18, Capabalities 0x373e, Config 0x3a19c30.
    kernel: (EAPDFix) EAPDFix: Line In node 0x1a, Capabalities 0x373e, Config 0x381343f.
    kernel: (EAPDFix) EAPDFix: Line Out node 0x1e, Capabalities 0x14, Config 0x3451120.
    kernel: (EAPDFix) EAPDFix: Codec has no EAPD nodes.
    kernel: (EAPDFix) EAPDFix: Speakers has no EAPD, Headphones has no EAPD, Desktop Codec Yes
    kernel: (EAPDFix) EAPDFix: Background processing enabled at boot
    

    After PC got from sleep:

    kernel: (EAPDFix) EAPDFix: Background processing disabled before sleep
    kernel: (EAPDFix) EAPDFix: Current AFG Power state 233.
    kernel: (EAPDFix) EAPDFix: Background processing enabled after sleep

    With Codec commander no success also, but I not studied it well yet. And seems like it finds HDEF.

          
    kernel: (CodecCommander) CodecCommander: Version 2.6.3 starting on OS X Darwin 16.6.
    kernel: considerRebuildOfPrelinkedKernel prebuild rebuild has expired
    kernel: (CodecCommander) CodecCommander: CodecCommanderPowerHook::init
    kernel: (CodecCommander) CodecCommander: CodecCommanderPowerHook::probe
    kernel: (CodecCommander) CodecCommander: CodecCommanderPowerHook::start
    kernel: (CodecCommander) CodecCommander: Configuration
    kernel: (CodecCommander) CodecCommander: ...Check Infinite: false
    kernel: (CodecCommander) CodecCommander: ...Check Interval: 1000
    kernel: (CodecCommander) CodecCommander: ...Perform Reset: true
    kernel: (CodecCommander) CodecCommander: ...Perform Reset on External Wake: true
    kernel: (CodecCommander) CodecCommander: ...Perform Reset on EAPD Fail: true
    kernel: (CodecCommander) CodecCommander: ...Send Delay: 300
    kernel: (CodecCommander) CodecCommander: ...Update Nodes: true
    kernel: (CodecCommander) CodecCommander: ...Sleep Nodes: true
    kernel: (CodecCommander) CodecCommander: no CodecCommander found with child iterator
    kernel: (CodecCommander) CodecCommander: Initializing
    kernel: (CodecCommander) CodecCommander: Probe
    kernel: (CodecCommander) CodecCommander: IntelHDA::initialize
    kernel: (CodecCommander) CodecCommander: Device memory @ 0xf0880000, size 0x00004000
    kernel: (CodecCommander) CodecCommander: Memory mapped at @ 0xffffff8114a8c000
    kernel: (CodecCommander) CodecCommander: Evaluating device "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@8" [10de:0ac0].
    kernel: (CodecCommander) CodecCommander: ....CodecVendor Id: 0x10ec0888
    kernel: (CodecCommander) CodecCommander: ....Codec Address: 0
    kernel: (CodecCommander) CodecCommander: ....Subsystem Id: 0x10250160
    kernel: (CodecCommander) CodecCommander: ....PCI Sub Id: 0x10250160
    kernel: (CodecCommander) CodecCommander: ....Output Streams: 1
    kernel: (CodecCommander) CodecCommander: ....Input Streams: 0
    kernel: (CodecCommander) CodecCommander: ....Bidi Streams: 4
    kernel: (CodecCommander) CodecCommander: ....Serial Data: 2
    kernel: (CodecCommander) CodecCommander: ....x64 Support: 0
    kernel: (CodecCommander) CodecCommander: ....Codec Version: 1.0
    kernel: (CodecCommander) CodecCommander: Configuration
    kernel: (CodecCommander) CodecCommander: ...Check Infinite: false
    kernel: (CodecCommander) CodecCommander: ...Check Interval: 3000
    kernel: (CodecCommander) CodecCommander: ...Perform Reset: true
    kernel: (CodecCommander) CodecCommander: ...Perform Reset on External Wake: true
    kernel: (CodecCommander) CodecCommander: ...Perform Reset on EAPD Fail: true
    kernel: (CodecCommander) CodecCommander: ...Send Delay: 300
    kernel: (CodecCommander) CodecCommander: ...Update Nodes: true
    kernel: (CodecCommander) CodecCommander: ...Sleep Nodes: true
    kernel: (CodecCommander) CodecCommander: Getting EAPD supported node list.
    kernel: (CodecCommander) CodecCommander: SendCommand: node 0x00, verb 0x000f00, payload 0x04.
    kernel: (CodecCommander) CodecCommander: SendCommand: (w) --> 0x000f0004
    kernel: (CodecCommander) CodecCommander: executePIO(enter), ioDelayCount: 0
    kernel: (CodecCommander) CodecCommander: executePIO(busy wait), ioDelayCount: 0
    kernel: (CodecCommander) CodecCommander: executePIO(status wait), ioDelayCount: 0
    kernel: (CodecCommander) CodecCommander: SendCommand: (r) <-- 0x00000000
    kernel: (CodecCommander) CodecCommander: getAudioRoot not able to determine audio root node
    kernel: (CodecCommander) CodecCommander: SendCommand: node 0xff, verb 0x000f00, payload 0x04.
    kernel: (CodecCommander) CodecCommander: SendCommand: (w) --> 0x0fff0004
    kernel: (CodecCommander) CodecCommander: executePIO(enter), ioDelayCount: 0
    kernel: (CodecCommander) CodecCommander: executePIO(busy wait), ioDelayCount: 0
    kernel: (CodecCommander) CodecCommander: executePIO(status wait), ioDelayCount: 0
    kernel: (CodecCommander) CodecCommander: ExecutePIO Invalid result received.
    kernel: (CodecCommander) CodecCommander: SendCommand: (r) <-- 0xffffffff
    kernel: (CodecCommander) CodecCommander: IntelHDA::initialize
    kernel: (CodecCommander) CodecCommander: Device memory @ 0xf0880000, size 0x00004000
    kernel: (CodecCommander) CodecCommander: Memory mapped at @ 0xffffff8114a8c000
    kernel: (CodecCommander) CodecCommander: Evaluating device "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@8" [10de:0ac0].
    kernel: (CodecCommander) CodecCommander: ....CodecVendor Id: 0x10de0007
    kernel: (CodecCommander) CodecCommander: ....Codec Address: 3
    kernel: (CodecCommander) CodecCommander: ....Subsystem Id: 0x10de0101
    kernel: (CodecCommander) CodecCommander: ....PCI Sub Id: 0x10250160
    kernel: (CodecCommander) CodecCommander: ....Output Streams: 1
    kernel: (CodecCommander) CodecCommander: ....Input Streams: 0
    kernel: (CodecCommander) CodecCommander: ....Bidi Streams: 4
    kernel: (CodecCommander) CodecCommander: ....Serial Data: 2
    kernel: (CodecCommander) CodecCommander: ....x64 Support: 0
    kernel: (CodecCommander) CodecCommander: ....Codec Version: 1.0
    kernel: (CodecCommander) CodecCommander: stopping due to codec profile Disable flag
    kernel: (CodecCommander) CodecCommander: Stopping...
    kernel: (CodecCommander) CodecCommander: setPowerState 2
    kernel: (CodecCommander) CodecCommander: --> awake(2)
    
  3. Hi, Thanks for your efforts. I tested it. It didn't work as it should, but i modified it and - internal speakers, headphones, internal mic, external mic, line in - all work now. Was recording with Audacity to test. It's a fully working AppleHDA driver for Acer Aspire 5737Z in Mac OS Sierra. Yee!!! :) I'm attaching it.

    Inputs2.png

    I was studying the guide in this forum, and i noticed you changed some verb values differently.

    Can you explain why in column 71D you put "0" at the end everywhere. Because in guide is written "For internal devices like speakers etc., we use the jack color value as '0'(unknown) and need to Jack sense value of '1'."

    "A0" It's clear  - it's for ambient noise filter. I also put "A0" not "81" for external mic and it detects it. Put "SignalProcessing" in Layouts.xml under Line in and Mic, so I have ambient noise filter working for internal/external mics and for line in.

    Why you changed "03" to "01"?

    I know "03" means "External on primary chassis". "01" means - Internal. But does it make sense changing to "01"?

    verbs.png

    Also I didn't notice any difference for internal speakers and headphones when using only 01470C02 or both "01470C02 01570C02". So it seems 01570C02 is not needed although it's in Linux dump under headphones.

     

    The only one problem with sound at this moment is that it stops after resuming from sleep.

    AppleHDA.kext_ALC888S-VD.zip

  4. Thanks. Tested all 4 variants, but no sound. Internal mic works.

    sound.png

    But I made a big progress playing with pin layouts and verbs myself (found that Acer Aspire 5930G as my 5737z also has ALC888S-VD and same number of jacks) - now my headphones or internal speakers are playing! Sound is clear. Soundcard autodetects headphones.

    Also found that EAPD verb "01470C02" is necessary. Now i have to fix/test external mic and line-in.

    P.S. For those who want to use this AppleHDA.kext with Sierra or Capitan these patches using Clover to AppleHDA are nessesary  - 8b19d411 replace to 8808ec10, 8319d411 replace to 00000000, 8a19d411 replace to 00000000, or sound will not work.

    mixas_Model.png

    AppleHDA.kext_ALC888S-VD.zip

  5. Hi 

    I found you on AppleALC thread 

    I thought you got it fixed 

     

    you should try AppleALC which has too many layout for ALC888 

    if none of them works for you , don't worry I will make working here 

     

    GoodLuck :)

    Hi,

    Yes, I wrote there, because I saw a guy, who successfully set up the same codec using AppleALC, but on desktop board. So his setup didn't suit me.

    But today following your advice, I got some BIG progress, I tested all AppleALC layouts and the last ones worked (internal speakers), but partially, because headphones, mic jack doesn't work. Spdif haven't test. Sound from internal speakers doesn't go off, when I plug headphones. Also it seems that internal microphone works on layout 28 (amplitude bar reacts). Layout 29 mic doesn't work at all, only sound from internal speakers, so layout 28 is best.

    I think It's huge, because after so many time spent on experimenting, reading and with no little sound I was starting to think, that my laptop is very special and nobody would help me with it's sound. I was checking AppleALC a week before, but didn't come to layouts 28; 29.

    Here are results from todays testing:

    AppleALC.png

    After this partially successful test I also created AppleHDA.kext (with layout 28) from AppleALC resources. It works the same as tested AppleALC. I attached it. Also attached patches in clover for AppleHDA are mandatory.

     

    So now maybe you could help me to make jacks work?

    Patches_to_include_in_Clover.plist.zip

    AppleHDA.kext_ALC888S-VD.zip

  6. Thanks, but It didn't work.. Even volume bar has no preferences. I put my disassembled DSDT, Clover config list and IOreg export and system boot log with that driver booted. I use Kext Utility to import kexts. I restored clean mac os from backup before importing this AppleHDA.kext.

     

    DSDT.zip

    config.plist.zip

    IOReg.zip

    System boot log.zip

    DarwinDumper_3.0.3_24.06_09.48.52_MacBookPro7,1_Clover_X64_4077_Sierra_16F73_romandas.zip

×
×
  • Create New...