Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

5 hours ago, ppzoid said:

Hi,

isit possible to add support for ALC 271X on Mojave? It worked till High Sierra, but layout 7 and 31 have been removed from AppleHDA.

Is it possible to readd them?

I’m running an ACER Aspire V3 771G (Mali). 

 

 

I still can see layout7 at High Sierra,, inject DSM of your HDEF at DSDT / SSDT

Just use layoutid that you used in High Sierra. But put it to "alc-layout-id"

So if you use layoutid = 7 before (in high sierra) then write "alc-layout-id=7" inside _DSM of your HDEF. Or use alcid=7,,, read this https://github.com/acidanthera/AppleALC/wiki/Installation-and-usage

Link to comment
Share on other sites

I am trying to get Mojave running on my Acer VX5-591G.
But I can't get it to show any audio devices in the sound input/output.

I am using Clover, and I have configured to inject 3 as the ID under audio. Or should I use alcid=3 as kernel arg.
How about Mojave supposedly supporting only 2 on Mojave (according to Microne patcher).
Enabled beta mode for Lilu and ALC.

I have the HDAS -> HDEF patch installed, and then I get to here:
Seem like it is missing layout-id ?
where do I go from here ?
 

2018-11-03 22:26:53.704249+0100  localhost kernel[0]: calling mpo_policy_init for Lilu

2018-11-03 22:26:53.705793+0100  localhost kernel[0]: Security policy loaded: Lilu Kernel Extension 1.2.8 (Lilu)

2018-11-03 22:26:53.732517+0100  localhost kernel[0]: (kernel) AppleALC:    init @ (DBG) AppleALC bootstrap DBG-133-2018-10-30

2018-11-03 22:27:41.567546+0100  localhost kernel[0]: (kernel) Lilu: patcher @ lookup patching applied only 1 patches out of 0

2018-11-03 22:27:41.587013+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value

2018-11-03 22:27:41.596799+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A171 value

2018-11-03 22:27:41.606544+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value

2018-11-03 22:27:41.615911+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id was not found

2018-11-03 22:27:41.625272+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ alc-layout-id was not provided by controller at HDEF

2018-11-03 22:27:41.634852+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value

2018-11-03 22:27:41.644054+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A171 value

2018-11-03 22:27:41.653213+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value

2018-11-03 22:27:41.662243+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id was not found

2018-11-03 22:27:41.671782+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ alc-layout-id was not provided by controller at HDEF

2018-11-03 22:27:41.682280+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found 1 audio controllers

2018-11-03 22:27:41.692269+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 0 controller 8086:5916:4

2018-11-03 22:27:41.702914+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0

2018-11-03 22:27:41.712792+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348

2018-11-03 22:27:41.713025+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171

2018-11-03 22:27:41.713262+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D21

2018-11-03 22:27:41.713495+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:8D20

2018-11-03 22:27:41.713733+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:F04

2018-11-03 22:27:41.783641+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:24

2018-11-03 22:27:41.795002+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:C0C

2018-11-03 22:27:41.805043+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:8D20

2018-11-03 22:27:41.815232+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 1002:AAC8

2018-11-03 22:27:41.825284+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 10DE:E0F

2018-11-03 22:27:41.835196+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 10DE:10EF

2018-11-03 22:27:41.845081+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 10DE:10F1

2018-11-03 22:27:41.855012+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 10DE:FBA

2018-11-03 22:27:41.864753+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 10DE:FB0

2018-11-03 22:27:41.873776+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 10DE:FBB

2018-11-03 22:27:41.882167+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 10DE:FB8

2018-11-03 22:27:41.890555+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 10DE:FB9

2018-11-03 22:27:41.898811+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 10DE:10F0

2018-11-03 22:27:41.906893+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller

Screenshot 2018-11-03 at 22.36.52.png

Link to comment
Share on other sites

Followup to self. Now setting the ID in kernel line + in the Clover Configurator, and I get a hit. Still no device visible to MacOS

 

2018-11-03 22:47:00.537892+0100  localhost kernel[0]: calling mpo_policy_init for Lilu

2018-11-03 22:47:00.537894+0100  localhost kernel[0]: Security policy loaded: Lilu Kernel Extension 1.2.8 (Lilu)

2018-11-03 22:47:00.564419+0100  localhost kernel[0]: (kernel) AppleALC:    init @ (DBG) AppleALC bootstrap DBG-133-2018-10-30

2018-11-03 22:47:49.612430+0100  localhost kernel[0]: (kernel) Lilu: patcher @ lookup patching applied only 1 patches out of 0

2018-11-03 22:47:49.617644+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value

2018-11-03 22:47:49.617648+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A171 value

2018-11-03 22:47:49.617651+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value

2018-11-03 22:47:49.617654+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id has 3 value

2018-11-03 22:47:49.617657+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,ig-platform-id was not found

2018-11-03 22:47:49.617662+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,snb-platform-id was not found

2018-11-03 22:47:49.617676+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value

2018-11-03 22:47:49.617678+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A171 value

2018-11-03 22:47:49.617681+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value

2018-11-03 22:47:49.617691+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id has 3 value

2018-11-03 22:47:49.617697+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,ig-platform-id was not found

2018-11-03 22:47:49.617708+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,snb-platform-id was not found

2018-11-03 22:47:49.617722+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found 3 audio controllers

2018-11-03 22:47:49.617725+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 0 controller 8086:5916:4

2018-11-03 22:47:49.617728+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0

2018-11-03 22:47:49.617731+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348

2018-11-03 22:47:49.617733+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171

2018-11-03 22:47:49.617735+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D21

2018-11-03 22:47:49.617738+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:8D20

2018-11-03 22:47:49.617740+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:F04

2018-11-03 22:47:49.617742+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:24

2018-11-03 22:47:49.617745+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:C0C

2018-11-03 22:47:49.617747+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:8D20

2018-11-03 22:47:49.617749+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 1002:AAC8

2018-11-03 22:47:49.617752+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 10DE:E0F

2018-11-03 22:47:49.617754+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 10DE:10EF

2018-11-03 22:47:49.617757+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 10DE:10F1

2018-11-03 22:47:49.617759+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 10DE:FBA

2018-11-03 22:47:49.617761+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 10DE:FB0

2018-11-03 22:47:49.617764+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 10DE:FBB

2018-11-03 22:47:49.617766+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 10DE:FB8

2018-11-03 22:47:49.617768+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 10DE:FB9

2018-11-03 22:47:49.617771+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 10DE:10F0

2018-11-03 22:47:49.617773+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 1 controller 8086:A171:31

2018-11-03 22:47:49.617776+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0

2018-11-03 22:47:49.617778+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348

2018-11-03 22:47:49.617781+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171

2018-11-03 22:47:49.617783+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found mod for 1 controller

2018-11-03 22:47:49.617785+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 2 controller 8086:A171:31

2018-11-03 22:47:49.617788+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0

2018-11-03 22:47:49.617790+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348

2018-11-03 22:47:49.617793+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171

2018-11-03 22:47:49.617795+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found mod for 2 controller

2018-11-03 22:47:49.617798+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller

2018-11-03 22:47:49.617801+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) handling 1 controller vendor 00008086 with 2 patches

2018-11-03 22:47:49.617804+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying patches for 2 kext

2018-11-03 22:47:49.617806+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 0 patch for 2 kext

2018-11-03 22:47:49.617945+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 1 patch for 2 kext

2018-11-03 22:47:49.618120+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) handling 2 controller vendor 00008086 with 2 patches

2018-11-03 22:47:49.618123+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying patches for 2 kext

2018-11-03 22:47:49.618125+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 0 patch for 2 kext

2018-11-03 22:47:49.618405+0100  localhost kernel[0]: (kernel) Lilu: patcher @ lookup patching applied only 0 patches out of 6

2018-11-03 22:47:49.618408+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 1 patch for 2 kext

2018-11-03 22:47:49.618690+0100  localhost kernel[0]: (kernel) Lilu: patcher @ lookup patching applied only 0 patches out of 1

Link to comment
Share on other sites

Morning guys. 

I have read and searched in a couple forums already, but so far, I have only came across one solution, and still, it's not the best.
I have a Zenbook UX303UA, with the Codec CX20751/2 and as you can see, at the bottom of the device there are a couple tiny holes which are the microphones. 

Well, I have managed to get the one on the right working, but not the left one, and it seems like that sometimes, people can't hear me that well. Siri responds fine, but the other day, I was trying to record my daughter and her music practice, as a experiment, but the sound was way too low... 
I found that SSDT, which will work with the CodecCommander.kext, but I was hoping that someone would be able or kind to have a look at the zip and the files in it, and tell what can I do to improve the input of the system...
inside the zip you will find the following files:

 

AppleALC 1.3.2 Debug;
my codec_dump.txt

The CodecCommander.kext

Lilu.kext

The SSDT of the audio and DSDT of my system
A config.plist of my system

And also a IOReg

 

Hope that these files will help in any way.. 

Thanks a lot for the attention

Audio and MIc.zip

Link to comment
Share on other sites

Can't get Audio to work normally with Conexant 20724.

 

With AppleALC 1.2.7 and IntelGraphicsFixup everything worked as expected (internal audio and external DP audio)
With With AppleALC 1.2.8 and above and IntelGraphicsFixup I would loose internal audio and only external DP audio worked.
With AppleALC 1.2.7 and WhateverGreen only internal audio works
With AppleALC 1.3.3 and WhateverGreen only external DP audio works

In Ioreg there is no alc-layout-id and I can't understand why since I did everything as per guide. Where could be the problem?

 

Kexts are loaded:

  

kextstat | grep -y ALC

   20    0 0xffffff7f81060000 0xdf000    0xdf000    as.vit9696.AppleALC (1.3.3) B60FCBAF-6BC2-36EF-A1E6-D5BE2863C35B <15 12 7 5 4 3 2 1>

kextstat | grep -y HDA

  101    2 0xffffff7f830f0000 0xc000     0xc000     com.apple.iokit.IOHDAFamily (281.52) 3D7ADFBB-A913-31F3-A713-32A20B7B2249 <5 4 3 1>

  102    1 0xffffff7f83103000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <101 100 90 12 7 6 5 4 3 1>

  134    0 0xffffff7f83283000 0xb7000    0xb7000    com.apple.driver.AppleHDA (281.52) 119A5EAE-5FD8-3CF3-A0CA-73EDDDC23DBE <133 116 102 101 100 90 6 5 4 3 1>

kextstat | grep -y green

   16    0 0xffffff7f80ab2000 0x60000    0x60000    as.vit9696.WhateverGreen (1.2.4) 25D369F5-0FD8-3264-9060-3FDB014904BC <15 12 7 5 4 3 2 1>

kextstat | grep -y lilu

   15    2 0xffffff7f80a90000 0x22000    0x22000    as.vit9696.Lilu (1.2.8) 54014689-C8DA-318B-84F4-944BBA7AD2AC <7 5 4 3 2 1>

 

 

Files are attached

 

 

 

 

DSDT.dsl

DrebulsMacBook.ioreg

config.plist

kexts.png

Link to comment
Share on other sites

[mention=1069282]vandroiy2012[/mention]

 

I make new resource for ALC255 for Asus X441UA-WX096D. None of layoutid work at currently AppleALC resource github. All configure platform use different NodeID for output device (internal speaker). I have tried it from layoutid 3, 13, 17, 18, 27, 28, 30 and 99 because all platform xml use different node id for internal speaker and different hda config too. I make new configuration with layoutID 21. File attached. But there is problem, about internal and external mic. I am pretty sure set correctly for input node, mixer and pin complex. But still not work, maybe special treatment for AMP-In values. But many Asus X441UA or maybe another device with same output node and hda config value can't use AppleALC.kext for now. It's still good to use Internal speaker and headphone than none. Maybe at future i will check and upload new revision for internal / external mic.

 

I attach codec dump and new AppleALC.kext (include new ALC255 configuration, recompiled with lilu 1.2.8).

Please check and add to repository, sorry for bad english

 

New Resource ALC255 - ID = 21.zip

codec_dump.txt

AppleALC.kext.zip

 

 

  • Like 2
Link to comment
Share on other sites

2 hours ago, Reinekis said:

Can't get Audio to work normally with Conexant 20724.

 

With AppleALC 1.2.7 and IntelGraphicsFixup everything worked as expected (internal audio and external DP audio)
With With AppleALC 1.2.8 and above and IntelGraphicsFixup I would loose internal audio and only external DP audio worked.
With AppleALC 1.2.7 and WhateverGreen only internal audio works
With AppleALC 1.3.3 and WhateverGreen only external DP audio works

In Ioreg there is no alc-layout-id and I can't understand why since I did everything as per guide. Where could be the problem?

 

Kexts are loaded:

  

kextstat | grep -y ALC

   20    0 0xffffff7f81060000 0xdf000    0xdf000    as.vit9696.AppleALC (1.3.3) B60FCBAF-6BC2-36EF-A1E6-D5BE2863C35B <15 12 7 5 4 3 2 1>

kextstat | grep -y HDA

  101    2 0xffffff7f830f0000 0xc000     0xc000     com.apple.iokit.IOHDAFamily (281.52) 3D7ADFBB-A913-31F3-A713-32A20B7B2249 <5 4 3 1>

  102    1 0xffffff7f83103000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <101 100 90 12 7 6 5 4 3 1>

  134    0 0xffffff7f83283000 0xb7000    0xb7000    com.apple.driver.AppleHDA (281.52) 119A5EAE-5FD8-3CF3-A0CA-73EDDDC23DBE <133 116 102 101 100 90 6 5 4 3 1>

kextstat | grep -y green

   16    0 0xffffff7f80ab2000 0x60000    0x60000    as.vit9696.WhateverGreen (1.2.4) 25D369F5-0FD8-3264-9060-3FDB014904BC <15 12 7 5 4 3 2 1>

kextstat | grep -y lilu

   15    2 0xffffff7f80a90000 0x22000    0x22000    as.vit9696.Lilu (1.2.8) 54014689-C8DA-318B-84F4-944BBA7AD2AC <7 5 4 3 2 1>

 

 

Files are attached

 

 

 

 

DSDT.dsl

DrebulsMacBook.ioreg

config.plist

kexts.png

 

Use this,,, your audio will work again. Just use latest Lilu.kext and AppleALC.kext

I correct your config.plist and DSDT.aml. Just give it a try. And put all 3rd party kext at EFI/CLOVER/Kexts/Other to avoid duplicate using kext and make easy to tracking the problem

 

config.plist

DSDT.aml

Edited by Andres ZeroCross
  • Thanks 1
Link to comment
Share on other sites

Followup to self. Now setting the ID in kernel line + in the Clover Configurator, and I get a hit. Still no device visible to MacOS

 

2018-11-03 22:47:00.537892+0100  localhost kernel[0]: calling mpo_policy_init for Lilu

2018-11-03 22:47:00.537894+0100  localhost kernel[0]: Security policy loaded: Lilu Kernel Extension 1.2.8 (Lilu)

2018-11-03 22:47:00.564419+0100  localhost kernel[0]: (kernel) AppleALC:    init @ (DBG) AppleALC bootstrap DBG-133-2018-10-30

2018-11-03 22:47:49.612430+0100  localhost kernel[0]: (kernel) Lilu: patcher @ lookup patching applied only 1 patches out of 0

2018-11-03 22:47:49.617644+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value

2018-11-03 22:47:49.617648+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A171 value

2018-11-03 22:47:49.617651+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value

2018-11-03 22:47:49.617654+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id has 3 value

2018-11-03 22:47:49.617657+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,ig-platform-id was not found

2018-11-03 22:47:49.617662+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,snb-platform-id was not found

2018-11-03 22:47:49.617676+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value

2018-11-03 22:47:49.617678+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A171 value

2018-11-03 22:47:49.617681+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value

2018-11-03 22:47:49.617691+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id has 3 value

2018-11-03 22:47:49.617697+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,ig-platform-id was not found

2018-11-03 22:47:49.617708+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,snb-platform-id was not found

2018-11-03 22:47:49.617722+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found 3 audio controllers

2018-11-03 22:47:49.617725+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 0 controller 8086:5916:4

2018-11-03 22:47:49.617728+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0

2018-11-03 22:47:49.617731+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348

2018-11-03 22:47:49.617733+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171

2018-11-03 22:47:49.617735+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D21

2018-11-03 22:47:49.617738+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:8D20

2018-11-03 22:47:49.617740+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:F04

2018-11-03 22:47:49.617742+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:24

2018-11-03 22:47:49.617745+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:C0C

2018-11-03 22:47:49.617747+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:8D20

2018-11-03 22:47:49.617749+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 1002:AAC8

2018-11-03 22:47:49.617752+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 10DE:E0F

2018-11-03 22:47:49.617754+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 10DE:10EF

2018-11-03 22:47:49.617757+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 10DE:10F1

2018-11-03 22:47:49.617759+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 10DE:FBA

2018-11-03 22:47:49.617761+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 10DE:FB0

2018-11-03 22:47:49.617764+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 10DE:FBB

2018-11-03 22:47:49.617766+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 10DE:FB8

2018-11-03 22:47:49.617768+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 10DE:FB9

2018-11-03 22:47:49.617771+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 10DE:10F0

2018-11-03 22:47:49.617773+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 1 controller 8086:A171:31

2018-11-03 22:47:49.617776+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0

2018-11-03 22:47:49.617778+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348

2018-11-03 22:47:49.617781+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171

2018-11-03 22:47:49.617783+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found mod for 1 controller

2018-11-03 22:47:49.617785+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 2 controller 8086:A171:31

2018-11-03 22:47:49.617788+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0

2018-11-03 22:47:49.617790+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348

2018-11-03 22:47:49.617793+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171

2018-11-03 22:47:49.617795+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found mod for 2 controller

2018-11-03 22:47:49.617798+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller

2018-11-03 22:47:49.617801+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) handling 1 controller vendor 00008086 with 2 patches

2018-11-03 22:47:49.617804+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying patches for 2 kext

2018-11-03 22:47:49.617806+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 0 patch for 2 kext

2018-11-03 22:47:49.617945+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 1 patch for 2 kext

2018-11-03 22:47:49.618120+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) handling 2 controller vendor 00008086 with 2 patches

2018-11-03 22:47:49.618123+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying patches for 2 kext

2018-11-03 22:47:49.618125+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 0 patch for 2 kext

2018-11-03 22:47:49.618405+0100  localhost kernel[0]: (kernel) Lilu: patcher @ lookup patching applied only 0 patches out of 6

2018-11-03 22:47:49.618408+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 1 patch for 2 kext

2018-11-03 22:47:49.618690+0100  localhost kernel[0]: (kernel) Lilu: patcher @ lookup patching applied only 0 patches out of 1

Make sure you can see codec-id of your device at DPCIManager.app. if not, then try to patch HPET and IRQ.

Sent from my Mi Note 2 using Tapatalk

Link to comment
Share on other sites

1 hour ago, Andres ZeroCross said:

 

Use this,,, your audio will work again. Just use latest Lilu.kext and AppleALC.kext

I correct your config.plist and DSDT.aml. Just give it a try. And put all 3rd party kext at EFI/CLOVER/Kexts/Other to avoid duplicate using kext and make easy to tracking the problem

 

config.plist

DSDT.aml

 

Thank You! Everything works again. I saw that you edited audio layout section in DSDT to include alc-layout-id, I wonder why it didn't work with default audio layout patch, as AppleALC should take care of this according to guide. Anyway, thank you once more!

Link to comment
Share on other sites

On 10/18/2018 at 3:30 AM, Justin Spier said:

 

The first one had no output, And here is the output from the second command:
(Compiled in 10.13.6, And tested in 10.13.6)


   40    0 0xffffff7f832c1000 0xe0000    0xe0000    as.vit9696.AppleALC (1.3.2) 93B94CD7-A44F-3C68-B467-BD2A6B207FE2 <39 12 7 5 4 3 2 1>

EDITED:

The output from the first command is:


  123    2 0xffffff7f8228e000 0xc000     0xc000     com.apple.iokit.IOHDAFamily (281.52) 3D7ADFBB-A913-31F3-A713-32A20B7B2249 <5 4 3 1>
  124    1 0xffffff7f8229d000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <123 122 73 12 7 6 5 4 3 1>
  143    0 0xffffff7f82421000 0xb7000    0xb7000    com.apple.driver.AppleHDA (281.52) 119A5EAE-5FD8-3CF3-A0CA-73EDDDC23DBE <142 124 123 122 102 73 6 5 4 3 1>

 

And sorry for too late reply, I was in vacation.

 

Hi guys!

I just tried out one more time by new AppleALC on Mojave and High Sierra.

And yet no success, I'm confused, Where am I wrong? :(

I attached my coded, ioreg, log, and ... here.

Can anyone help?

 

Thanks again.

troubleshooting.zip

Link to comment
Share on other sites

6 hours ago, Justin Spier said:

 

Hi guys!

I just tried out one more time by new AppleALC on Mojave and High Sierra.

And yet no success, I'm confused, Where am I wrong? :(

I attached my coded, ioreg, log, and ... here.

Can anyone help?

 

Thanks again.

troubleshooting.zip

 

1. I need IOREG Output,, use IOREG Explorer version 2.1 not the new ones. Then upload the the output files
2. Open DPCIManager.app and take a screen shot of status menu.. and upload here

Link to comment
Share on other sites

Hi, I just switched to AppleALC from VoodooHDA and the audio works perfectly fine. I then randomly opened Audio MIDI Settings and found some of the texts are in a foreign language (Thai)? Anyone knows how to fix this? Thanks. My sound card is an ALC269.

1.png

Link to comment
Share on other sites

this depends on your AppleHDA, which seems not to be the original Kext.

You will have to get the latest original file end put into /System/Library/Extensions.

Afterwards you have to repair the kext permission and recreate the kext cache.

After a reboot, everything should be fine again.

  • Like 2
Link to comment
Share on other sites

14 minutes ago, al6042 said:

this depends on your AppleHDA, which seems not to be the original Kext.

You will have to get the latest original file end put into /System/Library/Extensions.

Afterwards you have to repair the kext permission and recreate the kext cache.

After a reboot, everything should be fine again.

 

Thank you very much! I tried to install a vanilla AppleHDA and the texts are corrected now.

  • Like 1
Link to comment
Share on other sites

Hi, 

 

I have been working on getting AppleALC working on the LattePanda Alpha and I have dumped the Codec using Ubuntu. I have then converted the dump using F0x1c script but its quite complicated. I would like to make a layout.xml that matches it. Would anyone be able to help? 

 

I have attached the dump to this post. 

 

Any help would be appreciated. 


Thanks

Jamie

LattePanda Audio Codec Dump.zip

Link to comment
Share on other sites

On 10/30/2018 at 9:36 PM, Andres ZeroCross said:

 

It won't work,,, if you can't edit with DSDT (alc-layout-id + layoutid) then add bootargumen "alcid=11", "alcid=13", or "alcid=56"

Read this https://github.com/acidanthera/AppleALC/wiki/Installation-and-usage

i have tried as mentioned above but my audio devices still not detected. dpcimanager show only Realtek (Unknown). can you please check the attached ioreg dump and dpcimanager screenshot and help me out.

Mike’s MacBook Pro.ioreg

Screenshot 2018-11-08 at 6.44.03 AM.png

Link to comment
Share on other sites

3 hours ago, MacPeet said:

@jamiec

 

Only two devices (combo jack) --> Mic and HP.
try this with LayoutID 17

 

trial_AppleALC_Lilu_LattePanda_layoutID17.zip

Hi, 


Thank you very much for taking the time to do this. I have tried it on the LattePanda but unfortunately I still get the No output devices found with your kext. 

I had made my own AppleALC.kext using Xcode with the PinConfig from the verbs and patched Layout.xml and Platform.xml however I got the same result. The kexts are being loaded. 

I had a complete fresh reinstall to try yours as I noticed it wasn't compatible with my WhateverGreen.kext. 

 

Is there any dumps I could provide you with to see if we can fix this? 

 

Thanks again for your time. 

Jamie

 

Link to comment
Share on other sites

1 minute ago, jamiec said:

Hi, 


Thank you very much for taking the time to do this. I have tried it on the LattePanda but unfortunately I still get the No output devices found with your kext. 

I had made my own AppleALC.kext using Xcode with the PinConfig from the verbs and patched Layout.xml and Platform.xml however I got the same result. The kexts are being loaded. 

I had a complete fresh reinstall to try yours as I noticed it wasn't compatible with my WhateverGreen.kext. 

 

Is there any dumps I could provide you with to see if we can fix this? 

 

Thanks again for your time. 

Jamie

 

 

Can you open DPCImanager.app??? And take the screenshot here :)

Link to comment
Share on other sites

9 minutes ago, jamiec said:

Thank you, 

 

Here is a screenshot from it. 


Kind Regards

Jamie 

Screenshot 2018-11-08 at 10.49.15.png

It's ALC269,, 

Did you try all layoutid from this resource??? https://github.com/acidanthera/AppleALC/tree/master/Resources/ALC269

 

There are many layoutid that you can try,, just try it one by one from your SSDT / DSDT

Edited by Andres ZeroCross
Link to comment
Share on other sites

3 minutes ago, Andres ZeroCross said:

It's ALC269,, 

Did you try all layoutid from this resource??? https://github.com/acidanthera/AppleALC/tree/master/Resources/ALC269

 

There are many layoutid that you can try,, just try it one by one from your SSDT

Yeah, I had went through the full list. I went through once using "alcid=layout" as a boot flag and then setting it in the clover audio. 
Do you think I would need to do it using SSDT instead? 

 

Kind Regards

Jamie 

Link to comment
Share on other sites

Just now, jamiec said:

Yeah, I had went through the full list. I went through once using "alcid=layout" as a boot flag and then setting it in the clover audio. 
Do you think I would need to do it using SSDT instead? 

 

Kind Regards

Jamie 

 

Let me know that you do it right. 

1. Set layout ID = 3 with your method (config.plist + alcid=layout) then send the output of your IOREG (use IORegistryExplorer 2.1)
2. Set layout ID = 8 with your method (config.plist + alcid=layout) then send the output of your IOREG (use IORegistryExplorer 2.1)

I need to check,, you make right step or not. 

Link to comment
Share on other sites

21 minutes ago, jamiec said:

Hi, 


Thank you very much for taking the time to do this. I have tried it on the LattePanda but unfortunately I still get the No output devices found with your kext. 

I had made my own AppleALC.kext using Xcode with the PinConfig from the verbs and patched Layout.xml and Platform.xml however I got the same result. The kexts are being loaded. 

I had a complete fresh reinstall to try yours as I noticed it wasn't compatible with my WhateverGreen.kext. 

 

Is there any dumps I could provide you with to see if we can fix this? 

 

Thanks again for your time. 

Jamie

 

 

try AppleALC with current Lilu release
sorry, I have not used the latest source code AppleALC / Lilu yet

Link to comment
Share on other sites

×
×
  • Create New...