Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,375 posts in this topic

Recommended Posts

On 3/27/2020 at 11:00 PM, LunairsmAlpha said:

i have problem with applealc on opencore as it doesnt work even with layout id that proven work under clover

 

i use oc 0.5.6, applealc 1.4.7, macos mojave 10.14.5

 

my device is lenovo B40 | i3 5005U | Realtek ALC 235

 

i use layout id 3 --> mirone alc235 codec with resethda and afglowpowerstate enabled on clover

 

this is my clover config 

https://1drv.ms/u/s!ApcQm0L9RYS5iro5qyhp4sbz6A6GAQ

 

this is my oc config 

https://drive.google.com/file/d/127sfe3zahcnm-hBSJWXFYSHPf1zBCmhO/view?usp=drivesdk

 



You need to add IRQFlag 0,8,11,15 to HPET then Delete IRQFlag from IPIC, RTC and TIMR in your DSDT

 

image.png.690f88c5650b63dbdc9790ebed98259e.png 

Link to comment
Share on other sites

4 hours ago, LunairsmAlpha said:

after using this solution, sometimes it works sometimes it doesnt


Then it mean caused by other. I have Broadwell notebook and there is no problem with audio,, IRQ Flags about HPET, IPIC, TIMR and RTC is important for Broadwell and below.

Make sure you used latest Lilu.kext and AppleALC.kext

Link to comment
Share on other sites

3 hours ago, Andres ZeroCross said:


Then it mean caused by other. I have Broadwell notebook and there is no problem with audio,, IRQ Flags about HPET, IPIC, TIMR and RTC is important for Broadwell and below.

Make sure you used latest Lilu.kext and AppleALC.kext

can i ask ur oc config of that broadwell machine so i can identify the problem by comparing the configuration file?

Link to comment
Share on other sites

Hi, I cannot compile the AppleALC master version, updated as of today, with Lilu master, updated as of today.

XCode: 11.4 (11E146)

Mac Os: 10.15.4 (19E266)

 

Error:

ResourceConverter: Invalid usage
Program ended with exit code: 1

 

Let me know if you need more info.

 

The same happens with Whatevergreen, same error.

 

It seems related to this new XCode or mac os 10.15.4, reverting changes back to my last successful compilation doesn't fix the issue.

 

UPDATE: reverting back to XCode 11.3.1, will update if it will fix

UPDATE2: definetly a problem of the new XCode 11.4, DO NOT update, 11.3.1 works ok

UPDATE3: you can use also the new Xcode 11.4, but you must download swift package 5.1.3 (swift-5.1-DEVELOPMENT-SNAPSHOT-2020-01-28-a-osx.pkg)

1-Install the swift package

2-Open Xcode --> Top menu --> Xcode --> Toolchains --> Swift 5.1 Snapshot 2020-01-28 (a)

3- Open terminal and run

export TOOLCHAINS=swift

 

Edited by ghost8282
Link to comment
Share on other sites

Hi my codec is CX8200 I'm using layout id 23 and it's working fine for speaker and internal mic, but it doesn't work for external mic, I tried the ssdt-cx8200.aml which was reccomended before but it completely shuts down my whole audio and the input and output devices in sys prefs disappear. It used to work fin on high sierra so I know it's possible, but it's not working ok with mojave, can you help me with this pls? 

 

codec_dump.txt

Link to comment
Share on other sites

Unfortunately non of the alcid given for my alc236 codec  works  ( no sound from headphones / DP monitor and internal speakers )

but codec is visible in the catalina and mojave and everything looks just fine.

Also i did not manage to load any version of voodoohda ( from clover from sle or le ) it just does not load!! Also f8 button flom clover - no dump And HdaCodecDump start
No audio devices were found (Not Found)

The only way for me was linux - so dump attached but i do not know how to create my platform and layout from this dump. ( everywhere only tutorials for VooDoo+GetDumpXML - AppleHDA - but it s not my case)   Please add new layout for alc236 AppleALC  - Dell INSPIRON 2IN1 5590 I3-10110U

Thank You

codec.txt

codec2.txt

Link to comment
Share on other sites

I need help in customizing AppleAlc based on (https://github.com/toleda/audio_ALC_guides/blob/master/Customization.pdf).

 

I can get my PCI SPDIF to work under ALC887 layout ID 99 but then I lose the other jacks. My board has :

 

1805555270_h97-hd3layout.png.dacfdfb28d11d8abeced5e6e264031fd.png

 

 

Meaning if I use ALC887, layout ID 99, I don't see the above colored ports.

 

I was hoping to customize a new layout based on layout ID 7 or 1 which can see the above ports but add SPDIF-2.

 

I need more handholding regarding the steps below provider by Toleda:

 

1861414892_Screenshot2020-04-07at2_48_06PM.thumb.png.5cb6c6c3a2bfb619ed17475d91202d72.png

 

 

I have done:

 

Install Xcode

Install Github Desktop

Clone Github - acidanthera/AppleALC

Lilu is installed

Stuck at steps to do AppleALC compile......

 

Thanks.

 

 

 

 

Thanks.

 

 

Edited by mengshi
Link to comment
Share on other sites

10 minutes ago, mengshi said:

I need help in customizing AppleAlc based on (https://github.com/toleda/audio_ALC_guides/blob/master/Customization.pdf).

 

I can get my PCI SPDIF to work under ALC887 layout ID 99 but then I lose the other jacks. My board has :

 

1805555270_h97-hd3layout.png.dacfdfb28d11d8abeced5e6e264031fd.png

 

 

Meaning if I use ALC887, layout ID 99, I don't see the above colored ports.

 

I was hoping to customize a new layout based on layout ID 7 or 1 which can see the above ports but add SPDIF-2.

 

I need more handholding regarding the steps below provider by Toleda:

 

I have done:

 

Install Xcode

Install Github Desktop

Clone Github - acidanthera/AppleALC

Lilu is installed

Stuck at steps to do AppleALC compile......

 

Thanks.

 

 

 

 

Thanks.

 

 

 

Take a look to Acidanthera/AppleALC Repo, the laster release is out :)

 

To build AppleALC (Lilu plugin), You need Lilu debug kext (copy/paste) to AppleALC directory, before to build.

Link to comment
Share on other sites

3 hours ago, Matgen84 said:

 

Take a look to Acidanthera/AppleALC Repo, the laster release is out :)

 

To build AppleALC (Lilu plugin), You need Lilu debug kext (copy/paste) to AppleALC directory, before to build.

 

OK. Did that and AppleALC compiled susccessful from the cloned GitHub repo.

 

Apparently I can use Pin Configurator to do the customization. Any hand holding for this here? I'm not sure what the steps are...... Thanks

Link to comment
Share on other sites

Hi guys,

I have the MSI z97 gaming 5 with ALC1150.   I am using AppleALC and have audio working but no microphone.  When I switch to VoodooHDA I get microphone working but no HDMI audio from my gfx card (RX570).  I think the problem is some layout, but I've tried all the possible layouts (1,2,3,5,7,11) and still no mic.  If anyone can point me in the right direction I'd appreciate it!

Link to comment
Share on other sites

1 hour ago, hackintosher77 said:

If anyone can point me in the right direction 

I am not the one who can help you, but i am sure that you have to add dump from working Voodoo - so somebody could help you. (Link to russian resource https://www.applelife.ru/threads/applehda-zvuk-delaem-resursy-po-dampu-voodoohda.2719529/  just do not know where the english link) 

Actually if you lucky that script may fix your problem automatically 

1) GetDumpXML >> Platforms.xml
correct
2) LayoutN.xml - change codec id and number

I am in same situation and waiting for help - but in my case i am not even able to make voodoo dump since voodooHDA does not load on my new notebook ))

Edited by pakhan
Link to comment
Share on other sites

1 minute ago, hackintosher77 said:

You have audio but no microphone?

it doesn't matter that much what i have - manipulations always the same, anyway)

But with you - it could be easy done since you may create  GetDumpXML >> Platforms.xml

from the working boot with voodooHDA ( appleHDA and appleALC disabled )

Link to comment
Share on other sites

The report is meant to contain:

1. Laptop model/Motherboard model - DELL INSPIRON 5590 2IN1 I3-10110U 
2. Codec name Realtek ALC3204 Vendor Id: 0x10ec0236
3. Layout used with the info what works for you (ideally if you try them all)  - tried all for alc 236 - no sound from any source but i can see sound icon and codec in the system 
4. OS X versions you tried 10.14 and 10.15
5. Autogenerated Info.plist  - attached I

infoNOW.plist - made with  Codec-Info-AppleALC V3.command if a  boot with 13 layout but no sound

Info.plist  - made with PinConfigurator after VerbSanitize

codec1.txt & codec2.txt -  linux dump of ALC3204  and HDMI CODECS

Please since VoodooHDA on my laptop refuses to start under any condition - help me to make it work with appleALC 

codec1.txt

codec2.txt

InfoNOW.plist

Info.plist

Link to comment
Share on other sites

On 4/7/2020 at 8:45 AM, mengshi said:

I need help in customizing AppleAlc based on (https://github.com/toleda/audio_ALC_guides/blob/master/Customization.pdf).

 

I can get my PCI SPDIF to work under ALC887 layout ID 99 but then I lose the other jacks. My board has :

 

1805555270_h97-hd3layout.png.dacfdfb28d11d8abeced5e6e264031fd.png

 

 

Meaning if I use ALC887, layout ID 99, I don't see the above colored ports.

 

I was hoping to customize a new layout based on layout ID 7 or 1 which can see the above ports but add SPDIF-2.

 

I need more handholding regarding the steps below provider by Toleda:

 

1861414892_Screenshot2020-04-07at2_48_06PM.thumb.png.5cb6c6c3a2bfb619ed17475d91202d72.png

 

 

I have done:

 

Install Xcode

Install Github Desktop

Clone Github - acidanthera/AppleALC

Lilu is installed

Stuck at steps to do AppleALC compile......

 

Thanks.

 

 

 

 

Thanks.

 

 

 

Ok, SPDIF works with ID99.


The colored connections work with which ID ¿¿¿

 

Solvable with new codec and new ID.

 

Which computer is it at all ¿¿¿


They do not give any hardware info, no signature !!!

 

A codec dump from a Linux Live version is always better.


We can do more with that.

Link to comment
Share on other sites

Hi!

 

I'm trying to get AppleALC 1.4.8 working on my CX20757 (layout-id = 3) in macOS Catalina 10.15.4. Whenever I try to use AppleALC at all via boot argument alcid=3 my boot hangs indefinitely right after the AppleALC kext is loaded, eventually rebooting after several minutes (I haven't timed it.) Removing alcid means boot continues successfully.

 

Where should I start looking in order to fix this?

 

EFI.zip

 

(This is on Clover, BTW)

 

EDIT: Solved thanks to /u/HackinDoge:

I'm now using the DSDT Fixes FixHPET, FixIPIC, and FixRTC (tbh I may not need all of them, I'll have to test.) I narrowed it down to those three by checking out a config.plist someone else put together for the same machine as my own.

Edited by mattcurtis
Link to comment
Share on other sites

I'm facing up with this problem: I dual boot macOS 10.15.4 and Windows 10. After boot to Windows and then return to macOS, my audio isn't working anymore. After several reset, it works again.

I'm using ASUS Vivobook S530UN boot with OpenCore

Audio Codec: ALC256

Layout-id: 13

 

Link to comment
Share on other sites

48 minutes ago, tunglamvghy1210 said:

I'm facing up with this problem: I dual boot macOS 10.15.4 and Windows 10. After boot to Windows and then return to macOS, my audio isn't working anymore. After several reset, it works again.

I'm using ASUS Vivobook S530UN boot with OpenCore

Audio Codec: ALC256

Layout-id: 13

 

Enable ResetHDA in Clover config.plist and retry (I'm guessing you're using Clover as you mentioned dual booting).

Link to comment
Share on other sites

4 hours ago, DarkindyRise said:

Enable ResetHDA in Clover config.plist and retry (I'm guessing you're using Clover as you mentioned dual booting).

No. I'm using OpenCore. I switch to Windows using UEFI Boot Option.

So how to ResetHDA on OpenCore?

I see some posts show that Add Custom Command to CodecCommander kext to fix it? But I dont know how to fix ALC256 (in the post is ALC1150)

 

Link to comment
Share on other sites

Howdy!  I posted a while back and still haven't been able to resolve my problem so I thought I'd try again as this is the last mile of my 10th Gen Hackintosh laptop build.  It's going to be a fairly long post, so I'll start with the TL;DR version which is that there is 400 series support in AppleALC and I can get my audio device to appear in macOS but I'm not getting any sound out of it.  I've been working on a custom layout but have thus far been unsuccessful.  I recognize that I won't have any mic support as the microphone array is Intel SST and that's completely fine.

 

Now to the more detailed part.  In Windows this is my device tree:

 

image.png.d04cf92f85cd6404b31a18b0479ce60e.png

 

The microphone array won't be supportable from what I've learned, but the speakers are connected to the Realtek Audio device, so there seems to be hope here.

 

My codec is recognized on the 400 series bus as a Realtek ALC285.

image.thumb.png.10171d56115e065f1c6f6f7bfa6160cd.png

 

I've done a codec dump from the very latest beta of Ubuntu 20.04 to make sure I have the latest kernel bits, here's the output:

 

Codec: Realtek ALC285
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0285
Subsystem Id: 0x17aa3818
Revision Id: 0x100002
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=3, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x3c 0x3c]
  Converter: stream=1, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x3c 0x3c]
  Converter: stream=1, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x27 0x27]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0d [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40000000: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x02
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x02* 0x03 0x06
Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x04a11040: [Jack] Mic at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00013734: IN OUT EAPD Detect
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02* 0x03
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40600001: [N/A] Modem Line at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x0, Sequence = 0x1
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=142
Node 0x21 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x04211020: [Jack] HP Out at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x02 0x03*
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 5
     0x19 0x1a 0x1b 0x1d 0x13
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 5
     0x19 0x1a 0x1b 0x1d 0x12
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x12* 0x13 0x18

In going through the dump I can see that my internal audio is at 0x14 and the output device is 0x02, and my jack is 0x21 and 0x03.  I'm using a copy of layout 21 which already has these node ids configured.

 

Node IDs 20/2 and 33/3

 

When I pull my codec into Pin Configurator, I get quite a lot of information about the codec which is mostly not useful so I've removed everything that I don't need and sanitized the verbs with the built-in functionality.

 

Default:

image.thumb.png.885c8824e86d4ff86ab6093c4449e32e.png

 

Sanitized:

image.thumb.png.30dac309ca55ce56990b2e9e3006f326.png

 

I've exported the output to PinConfigs.kext creating layout 61, added the layout to ALC285/Info.plist, and the required Platforms61.xml and layout61.xml.  AppleALC builds perfectly, and I can load it on macOS but like the other layouts I've tried, I still get no audio.

image.thumb.png.730e6b803c4cb4568647dc4b3960a64d.png

image.png.350c3cc64e670aa194c9ffe780b7b6fd.pngimage.png.367ed576918fe75171e122e0fc4e33c9.png

 

Here's the debug log with it loading, it seems to be the same no matter what layout I choose.  To me, it looks like it's starting up just fine.

 

AppleALC debug log:

Timestamp                       Thread     Type        Activity             PID    TTL
2020-04-09 13:30:42.680316-0700 0x73       Default     0x0                  0      0    kernel: (kernel) AppleALC      init: @ (DBG) AppleALC bootstrap DBG-148-2020-04-09
2020-04-09 13:30:55.410563-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC     iokit: @ (DBG) getOSData vendor-id has 8086 value
2020-04-09 13:30:55.410570-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC     iokit: @ (DBG) getOSData device-id has 2C8 value
2020-04-09 13:30:55.410576-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC     iokit: @ (DBG) getOSData revision-id has 0 value
2020-04-09 13:30:55.410582-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC     iokit: @ (DBG) getOSData alc-layout-id has 3D value
2020-04-09 13:30:55.410590-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) found 2 audio controllers
2020-04-09 13:30:55.410596-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) validating 0 controller 8086:3E9B:2
2020-04-09 13:30:55.410601-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 0 mod 1002:AAC8
2020-04-09 13:30:55.410615-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 1 mod 1002:AAE8
2020-04-09 13:30:55.410631-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 2 mod 1002:AB08
2020-04-09 13:30:55.410636-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 3 mod 1022:1457
2020-04-09 13:30:55.410641-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 4 mod 1022:1487
2020-04-09 13:30:55.410646-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 5 mod 1022:15E3
2020-04-09 13:30:55.410651-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 6 mod 8086:C0C
2020-04-09 13:30:55.410656-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 7 mod 8086:F04
2020-04-09 13:30:55.410667-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 8 mod 8086:8CA0
2020-04-09 13:30:55.410672-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 9 mod 8086:8D20
2020-04-09 13:30:55.410677-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 10 mod 8086:8D21
2020-04-09 13:30:55.410682-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 11 mod 8086:9DC8
2020-04-09 13:30:55.410687-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 12 mod 8086:A171
2020-04-09 13:30:55.410692-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 13 mod 8086:A2F0
2020-04-09 13:30:55.410696-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 14 mod 8086:A1F0
2020-04-09 13:30:55.410705-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 15 mod 8086:A348
2020-04-09 13:30:55.410710-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 16 mod 10DE:E0F
2020-04-09 13:30:55.410715-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 17 mod 10DE:FB0
2020-04-09 13:30:55.410720-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 18 mod 10DE:FB8
2020-04-09 13:30:55.410724-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 19 mod 10DE:FB9
2020-04-09 13:30:55.410729-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 20 mod 10DE:FBA
2020-04-09 13:30:55.410734-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 21 mod 10DE:FBB
2020-04-09 13:30:55.410739-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 22 mod 10DE:FBC
2020-04-09 13:30:55.410744-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 23 mod 10DE:10EF
2020-04-09 13:30:55.410749-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 24 mod 10DE:10F0
2020-04-09 13:30:55.410753-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 25 mod 10DE:10F1
2020-04-09 13:30:55.410758-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 26 mod 8086:2C8
2020-04-09 13:30:55.410767-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) validating 1 controller 8086:2C8:0
2020-04-09 13:30:55.410772-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 0 mod 1002:AAC8
2020-04-09 13:30:55.410777-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 1 mod 1002:AAE8
2020-04-09 13:30:55.410782-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 2 mod 1002:AB08
2020-04-09 13:30:55.410787-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 3 mod 1022:1457
2020-04-09 13:30:55.410795-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 4 mod 1022:1487
2020-04-09 13:30:55.410800-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 5 mod 1022:15E3
2020-04-09 13:30:55.410805-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 6 mod 8086:C0C
2020-04-09 13:30:55.410810-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 7 mod 8086:F04
2020-04-09 13:30:55.410814-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 8 mod 8086:8CA0
2020-04-09 13:30:55.410819-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 9 mod 8086:8D20
2020-04-09 13:30:55.410827-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 10 mod 8086:8D21
2020-04-09 13:30:55.410832-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 11 mod 8086:9DC8
2020-04-09 13:30:55.410837-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 12 mod 8086:A171
2020-04-09 13:30:55.410842-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 13 mod 8086:A2F0
2020-04-09 13:30:55.410851-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 14 mod 8086:A1F0
2020-04-09 13:30:55.410857-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 15 mod 8086:A348
2020-04-09 13:30:55.410865-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 16 mod 10DE:E0F
2020-04-09 13:30:55.410870-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 17 mod 10DE:FB0
2020-04-09 13:30:55.410875-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 18 mod 10DE:FB8
2020-04-09 13:30:55.410879-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 19 mod 10DE:FB9
2020-04-09 13:30:55.410884-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 20 mod 10DE:FBA
2020-04-09 13:30:55.410889-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 21 mod 10DE:FBB
2020-04-09 13:30:55.410894-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 22 mod 10DE:FBC
2020-04-09 13:30:55.410899-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 23 mod 10DE:10EF
2020-04-09 13:30:55.410904-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 24 mod 10DE:10F0
2020-04-09 13:30:55.410909-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 25 mod 10DE:10F1
2020-04-09 13:30:55.410914-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing to 26 mod 8086:2C8
2020-04-09 13:30:55.410922-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) found mod for 1 controller
2020-04-09 13:30:55.410927-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
2020-04-09 13:30:55.410933-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) handling 1 controller 8086:2C8 with 2 patches
2020-04-09 13:30:55.413450-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
2020-04-09 13:30:55.413457-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) handling 1 controller 8086:2C8 with 2 patches
2020-04-09 13:30:55.413464-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking patch 0 for 11 kext (com.apple.driver.AppleHDAController)
2020-04-09 13:30:55.413471-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) applying patch 0  for 11 kext (com.apple.driver.AppleHDAController)
2020-04-09 13:30:55.413746-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking patch 1 for 11 kext (com.apple.driver.AppleHDAController)
2020-04-09 13:30:55.413753-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) applying patch 1  for 11 kext (com.apple.driver.AppleHDAController)
2020-04-09 13:30:55.414371-0700 0x5a4      Default     0x0                  0      0    kernel: (kernel) AppleALC     iokit: @ (DBG) getOSData alc-delay was not found
2020-04-09 13:30:56.446009-0700 0x5b3      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) IOHDACodecDevice::executeVerb with parameters a1 = 0, a2 = 3840, a3 = 4 failed with result = e00002d6
2020-04-09 13:30:56.452045-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) found analog codec IOHDACodecDevice
2020-04-09 13:30:56.452055-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) storing codec info for 10EC:285:100002
2020-04-09 13:30:56.452064-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ failed to find IOHDACodecVendorID, retrying 0
2020-04-09 13:30:56.452071-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) found supported Realtek ALC285 codec revision 0x100002
2020-04-09 13:30:56.452078-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller
2020-04-09 13:30:56.452084-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) handling 1 controller 8086:2C8 with 2 patches
2020-04-09 13:30:56.452090-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) will route resource loading callbacks
2020-04-09 13:30:56.452096-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking patch 0 for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.452103-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) applying patch 0  for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.452532-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking patch 1 for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.452538-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking patch 2 for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.452544-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) applying patch 2  for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.457059-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking patch 3 for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.457065-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) applying patch 3  for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.457399-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking patch 4 for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.457406-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) applying patch 4  for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.458874-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking patch 5 for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.458881-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) applying patch 5  for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.460394-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking patch 6 for 10 kext (com.apple.driver.AppleHDA)
2020-04-09 13:30:56.465036-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC     iokit: @ (DBG) getOSData layout-id has 7 value
2020-04-09 13:30:56.465048-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) initializePinConfig AppleHDACodecGeneric received hda 0xFFFFFF804261E250, config 0xFFFFFF8042A1F3C0 config name AppleHDAHardwareConfigDriver apple layout 7 codec 10EC0285 layout 61
2020-04-09 13:30:56.465063-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) discovered HDAConfigDefault with 446 entries
2020-04-09 13:30:56.465209-0700 0x6f6      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) current config entry has boot 1, wake 1, reinit 1
2020-04-09 13:30:56.784725-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) layoutLoadCallback 2 0 1 15073 1
2020-04-09 13:30:56.784731-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) resource-request arrived layout
2020-04-09 13:30:56.784738-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking codec 10EC:285:100002
2020-04-09 13:30:56.784743-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) selecting from 5 files
2020-04-09 13:30:56.784748-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing 0 layout B/3D
2020-04-09 13:30:56.784753-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing 1 layout 15/3D
2020-04-09 13:30:56.784758-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing 2 layout 1F/3D
2020-04-09 13:30:56.784762-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing 3 layout 34/3D
2020-04-09 13:30:56.784767-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing 4 layout 3D/3D
2020-04-09 13:30:56.784771-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) found layout at 4 index
2020-04-09 13:30:56.784776-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) layoutLoadCallback done 2 0 1 1629 1
2020-04-09 13:30:56.808430-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) platformLoadCallback 3 0 1 14921 1
2020-04-09 13:30:56.808437-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) resource-request arrived platform
2020-04-09 13:30:56.808443-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) checking codec 10EC:285:100002
2020-04-09 13:30:56.808448-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) selecting from 5 files
2020-04-09 13:30:56.808453-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing 0 layout B/3D
2020-04-09 13:30:56.808458-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing 1 layout 15/3D
2020-04-09 13:30:56.808462-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing 2 layout 1F/3D
2020-04-09 13:30:56.808467-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing 3 layout 34/3D
2020-04-09 13:30:56.808471-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) comparing 4 layout 3D/3D
2020-04-09 13:30:56.808476-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) found platform at 4 index
2020-04-09 13:30:56.808491-0700 0x2b4      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) platformLoadCallback done 3 0 1 438 1
2020-04-09 13:30:59.137309-0700 0x1a9      Default     0x0                  0      0    kernel: (kernel) AppleALC       alc: @ (DBG) power change AppleHDADriver at AppleHDACodecGeneric from 1 to 2 in from pin 1 sleep 0

What's super interesting is that it appears as though it's working, volume up/down, mute appear to work.  The internal speakers and headphones switch when I plug something in, but no audio.

image.png.21595e516740db4a5d956bee93f22976.pngimage.png.b1227fa4715d2676a5adb7e662fe606e.png

 

I'm sure this is just something silly that I've overlooked, but I can't for the life of me figure out what I'm doing wrong.  I've tried OC and Clover with all of the IRQ fixes, etc but I'm completely at a loss with this one.  Hopefully, someone will look at it, and see pretty quickly whatever it is that I'm doing wrong.  Really would appreciate any help you folks can provide.  Thank you all in advance, and sorry for the wall of text!

Edited by fewtarius
Link to comment
Share on other sites

On 4/9/2020 at 12:11 AM, MacPeet said:

 

Ok, SPDIF works with ID99.


The colored connections work with which ID ¿¿¿

 

Solvable with new codec and new ID.

 

Which computer is it at all ¿¿¿


They do not give any hardware info, no signature !!!

 

A codec dump from a Linux Live version is always better.


We can do more with that.

 

 

Motherboard Gigabyte H97-HD3.

 

Using ALC887, Layout ID = 7, I get:

 

 

image.png.e01ad3f7338e474f24722269a347d66b.png 

 

 

Lime Green (Rear) - is built in output - works. Lime green (front) also works and has autodetect.

Grey - is built-in line out 1 - works

Orange - is built-in line out 2 - works

Black - is built-in line out 3 - works

Built-in digital output - DOES NOT work. 

I do not have a Mic to test the input ports.

 

I did not test built-in inout and line input.

The above USB sound devices (Audioengine and audio - Logitech Webcam) - work.

 

=====================

 

Using layout ID=99, I get:

 

image.png.2a8ea6893d569f9c37aed554a22e2fb2.png 

 

 

 

Built-in digital output now works.

The built-in output works and is lime green. Front headphone works and autodetects.

But I lost the other audioports.

 

Thanks for all the help.

 

 

Edited by mengshi
Link to comment
Share on other sites

On 12/8/2019 at 10:49 PM, Andres ZeroCross said:


Use latest lilu.kext and plugin, update all of them to latest version and reboot again

 

I figured out why the audio didn't work after the update.

There was in the log something like:

"

localhost kernel[0]: (AppleSystemPolicy) <AppleSystemPolicy`AppleSystemPolicy::logExecutable(char const*, char const*, int)> log-executable mig callout failed 0x10000004 (path: /Library/Audio/Plug-Ins/HAL/InstantOn.driver/Contents/MacOS/InstantOn responsiblePath: /usr/sbin/coreaudiod isExecution: 0)

"

 

And I observed that coreaudiod was quarantined and after boot it wasn't launched.

 

Once that I delete the old content from  /Library/Audio/Plug-Ins/HAL/ and I reboot the audio panel and audio was present again.

So, some of the old audio plugins were not "accepted" anymore by new MacOS policies.

 

I mention that I currently run Catalina 10.15.4.1, Lilu 1.4.3, AppleALC 1.4.8.

Link to comment
Share on other sites

×
×
  • Create New...