Jump to content

[Closed] AppleHDA patching requests


plsh2me

Recommended Posts

  • Replies 390
  • Created
  • Last Reply

Top Posters In This Topic

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

it shows in your dump , your headphone requires EAPD , you need it when using EAPDFix kext 

 

Can you explain why in column 71D you put "0" at the end everythere. 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'."

71D is location Its better to set it as 0 which is unknown OS detects better like if internal Speaker BuiltIn or Line-In Port etc 

 

Its my mistake with I do usually, actually I make patches in bulk like working on 6-7 codecs at same time , sometimes make wrong patches with wrong codec , you can check my gitrepo with same error all the time  :-P

 

PS : every codec is different you can't follow guide for each  , this is good but not upto date I asked Dinesh make some changes and update with my experiences, this is great for start 

 

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

as Jake said use EAPDFix

Link to comment
Share on other sites

  • Moderators

try running this to see if EAPDFix is doing what it's suppose to be doing

log show --start 2017-07-17 |fgrep "EAPDFix"

sample:

kernel: (EAPDFix) EAPDFix: Background processing disabled before sleep

kernel: (EAPDFix) EAPDFix: Current AFG Power state 233.

kernel: (EAPDFix) EAPDFix: Speakers EAPD is down, Trying to power up...

kernel: (EAPDFix) EAPDFix: Codec verb sent successfully to power up EAPD.

kernel: (EAPDFix) EAPDFix: Background processing enabled after sleep

 

 

If still failed, try CodecCommander

Link to comment
Share on other sites

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)
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...