Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

4,859 posts in this topic

Recommended Posts

21 hours ago, Pavo said:

Please stop comparing stuff that works in Windows to stuff that isn't working in macOS. Just because it works in Windows does not mean it will work in macOS.

Excuse me?  I use the comparison only to exclude the idea that the monitor might be the problem.  I have no particular love for Windows, but it is useful to test whether the monitor's speakers work properly.

Edited by meaganmargaret

Share this post


Link to post
Share on other sites
Advertisement
7 hours ago, MacPeet said:

 

Too few nodes for the project. Same nodes on HP and LineOut.
Speaker 20-13-3
HP 21-12-2
LineOut 27-12-2
We can try Speaker and HP both with 13-3 in SwitchMode. I can not say if it works. You can try!

 

I have configured with LayoutID 16 (for DSDT HEX 10):
Speaker and HP in SwitchMode
LineOut
MIC internally from the ID4
LineIn from the ID13

 

try this with ID16

trial1_alc280_layoutID16.zip

 

Hi MacPeet,

 

Thank you so much for your time, unfortunately, it (layout16) doesn't work. The speaker icon is just greyed out, it also happens when I tried to clone the layout13 (everything exactly the same as the old layout13), just changed the layoutID to another number for testing.

 

You mentioned I had "few nodes", does that mean for the Platforms.xml or the layout.xml? I'm sorry for any dumb question, still learning :D

 

Thank you.

Share this post


Link to post
Share on other sites
45 minutes ago, MacPeet said:

in Platforms.xml
either Speaker or LineOut
both difficult

 

try this with layoutID16 and layoutID17
also try ID4 and ID13 with this trial, if it will load at all Sierra or HS

 

trial2_alc280_layoutID16_and_layoutID17.zip

 

Hi MacPeet, I tried both ID16 and 17, none of them worked.

ID4 and 13 still work and resulted same as previous tests.

 

Thank you again for you time. I really appreciate it!

Share this post


Link to post
Share on other sites
11 hours ago, MacPeet said:

 

Hi MacPeet,

 

Thank you for you work, sadly, it still doesn't work. I forgot to mention that for layout ID 15, SwitchMode and internal speaker works, but no line out. No internal mic but 2 line in, work as layout 13.

Hope this information is helpful.

 

Thank you again!

Share this post


Link to post
Share on other sites

When i update to AppleALC 1.3.0 and it will not work and show grey icon but with AppleALC1.2.8 Works well.

 

Here are the logs.

 

2018-07-26 22:39:41.162591+0800  localhost kernel[0]: (kernel) Lilu:     api @ (DBG) got load request from AppleALC (130)
2018-07-26 22:39:45.753496+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-26 22:39:45.753500+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-26 22:39:45.753504+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value
2018-07-26 22:39:45.753511+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id was not found
2018-07-26 22:39:45.753514+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ alc-layout-id was not provided by controller at HDEF
2018-07-26 22:39:45.753528+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-26 22:39:45.753533+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-26 22:39:45.753543+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value
2018-07-26 22:39:45.753547+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id was not found
2018-07-26 22:39:45.753550+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ alc-layout-id was not provided by controller at HDEF
2018-07-26 22:39:45.753554+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found 1 audio controllers
2018-07-26 22:39:45.753558+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 0 controller 8086:191B:6
2018-07-26 22:39:45.753561+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0
2018-07-26 22:39:45.753564+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348
2018-07-26 22:39:45.753567+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171
2018-07-26 22:39:45.753570+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D21
2018-07-26 22:39:45.753573+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:8D20
2018-07-26 22:39:45.753576+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:F04
2018-07-26 22:39:45.753579+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:24
2018-07-26 22:39:45.753582+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:C0C
2018-07-26 22:39:45.753585+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:8D20
2018-07-26 22:39:45.753593+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 1002:AAC8
2018-07-26 22:39:45.753597+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 10DE:E0F
2018-07-26 22:39:45.753600+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 10DE:10EF
2018-07-26 22:39:45.753603+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 10DE:10F1
2018-07-26 22:39:45.753606+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 10DE:FBA
2018-07-26 22:39:45.753609+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 10DE:FB0
2018-07-26 22:39:45.753612+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 10DE:FBB
2018-07-26 22:39:45.753616+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 10DE:FB8
2018-07-26 22:39:45.753618+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 10DE:FB9
2018-07-26 22:39:45.753622+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 10DE:10F0
2018-07-26 22:39:45.753625+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller
2018-07-26 22:39:45.760291+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller
2018-07-26 22:39:45.793310+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) failed to find a suitable codec, we have nothing to do
2018-07-26 22:39:45.793315+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller

 

Share this post


Link to post
Share on other sites
21 minutes ago, gujiangjiang said:

When i update to AppleALC 1.3.0 and it will not work and show grey icon but with AppleALC1.2.8 Works well.

 

Here are the logs.

 


2018-07-26 22:39:41.162591+0800  localhost kernel[0]: (kernel) Lilu:     api @ (DBG) got load request from AppleALC (130)
2018-07-26 22:39:45.753496+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-26 22:39:45.753500+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-26 22:39:45.753504+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value
2018-07-26 22:39:45.753511+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id was not found
2018-07-26 22:39:45.753514+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ alc-layout-id was not provided by controller at HDEF
2018-07-26 22:39:45.753528+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-26 22:39:45.753533+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-26 22:39:45.753543+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value
2018-07-26 22:39:45.753547+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id was not found
2018-07-26 22:39:45.753550+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ alc-layout-id was not provided by controller at HDEF
2018-07-26 22:39:45.753554+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found 1 audio controllers
2018-07-26 22:39:45.753558+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 0 controller 8086:191B:6
2018-07-26 22:39:45.753561+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0
2018-07-26 22:39:45.753564+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348
2018-07-26 22:39:45.753567+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171
2018-07-26 22:39:45.753570+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D21
2018-07-26 22:39:45.753573+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:8D20
2018-07-26 22:39:45.753576+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:F04
2018-07-26 22:39:45.753579+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:24
2018-07-26 22:39:45.753582+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:C0C
2018-07-26 22:39:45.753585+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:8D20
2018-07-26 22:39:45.753593+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 1002:AAC8
2018-07-26 22:39:45.753597+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 10DE:E0F
2018-07-26 22:39:45.753600+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 10DE:10EF
2018-07-26 22:39:45.753603+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 10DE:10F1
2018-07-26 22:39:45.753606+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 10DE:FBA
2018-07-26 22:39:45.753609+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 10DE:FB0
2018-07-26 22:39:45.753612+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 10DE:FBB
2018-07-26 22:39:45.753616+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 10DE:FB8
2018-07-26 22:39:45.753618+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 10DE:FB9
2018-07-26 22:39:45.753622+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 10DE:10F0
2018-07-26 22:39:45.753625+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller
2018-07-26 22:39:45.760291+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller
2018-07-26 22:39:45.793310+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) failed to find a suitable codec, we have nothing to do
2018-07-26 22:39:45.793315+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller

 

You need to update your Lilu too.

Share this post


Link to post
Share on other sites
Just now, Hackmac101 said:

You need to update your Lilu too.

lilu 1.2.5 + AppleALC1.3.0 dont work.

lilu 1.2.5 + AppleALC1.2.8 works well without problem.

Share this post


Link to post
Share on other sites

@Unnamed X

No, it does not help.
ID13 and ID15 is also my work for a Dell T20
I do not understand that 16 and 17 did not even work. Hardly any changes compared to 4, 13 and 15. At the moment I have no more ideas.

Share this post


Link to post
Share on other sites
1 hour ago, MacPeet said:

@Unnamed X

No, it does not help.
ID13 and ID15 is also my work for a Dell T20
I do not understand that 16 and 17 did not even work. Hardly any changes compared to 4, 13 and 15. At the moment I have no more ideas.

 

Hi MacPeet,

 

Thank you so much for your effort, I really appreciate that. Have a great day!

Share this post


Link to post
Share on other sites
13 hours ago, gujiangjiang said:

When i update to AppleALC 1.3.0 and it will not work and show grey icon but with AppleALC1.2.8 Works well.

 

Here are the logs.

 


2018-07-26 22:39:41.162591+0800  localhost kernel[0]: (kernel) Lilu:     api @ (DBG) got load request from AppleALC (130)
2018-07-26 22:39:45.753496+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-26 22:39:45.753500+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-26 22:39:45.753504+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value
2018-07-26 22:39:45.753511+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id was not found
2018-07-26 22:39:45.753514+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ alc-layout-id was not provided by controller at HDEF
2018-07-26 22:39:45.753528+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-26 22:39:45.753533+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-26 22:39:45.753543+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value
2018-07-26 22:39:45.753547+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id was not found
2018-07-26 22:39:45.753550+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ alc-layout-id was not provided by controller at HDEF
2018-07-26 22:39:45.753554+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found 1 audio controllers
2018-07-26 22:39:45.753558+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 0 controller 8086:191B:6
2018-07-26 22:39:45.753561+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0
2018-07-26 22:39:45.753564+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348
2018-07-26 22:39:45.753567+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171
2018-07-26 22:39:45.753570+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D21
2018-07-26 22:39:45.753573+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:8D20
2018-07-26 22:39:45.753576+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:F04
2018-07-26 22:39:45.753579+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:24
2018-07-26 22:39:45.753582+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:C0C
2018-07-26 22:39:45.753585+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:8D20
2018-07-26 22:39:45.753593+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 1002:AAC8
2018-07-26 22:39:45.753597+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 10DE:E0F
2018-07-26 22:39:45.753600+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 10DE:10EF
2018-07-26 22:39:45.753603+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 10DE:10F1
2018-07-26 22:39:45.753606+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 10DE:FBA
2018-07-26 22:39:45.753609+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 10DE:FB0
2018-07-26 22:39:45.753612+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 10DE:FBB
2018-07-26 22:39:45.753616+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 10DE:FB8
2018-07-26 22:39:45.753618+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 10DE:FB9
2018-07-26 22:39:45.753622+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 10DE:10F0
2018-07-26 22:39:45.753625+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller
2018-07-26 22:39:45.760291+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller
2018-07-26 22:39:45.793310+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) failed to find a suitable codec, we have nothing to do
2018-07-26 22:39:45.793315+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller

 

 

I have tested AppleALC by myself and find it caused by the commit "Added digital audio property injection for AMD, Intel, NVIDIA"

https://github.com/acidanthera/AppleALC/commit/7ba397832fed6fbc21047dcf2573a5eaa09045d0

 

I compile AppleALC with this code and it shows grey icon and have no sound output.

 

So i guess it may be this commit cause someone have no sound when update to AppleALC1.3.0?

Share this post


Link to post
Share on other sites

To figure out what happend i test again with Lilu1.2.5+AppleALC1.2.8 and Lilu1.2.5+AppleALC1.3.0 and have follow 2 logs.

 

Here are Lilu1.2.5 + AppleALC1.2.8 log

Here shows it recognize 3 controllers and can recognize my all audio output devices and drive it successfully.

2018-07-29 04:25:40.033712+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-29 04:25:40.033718+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has 191B value
2018-07-29 04:25:40.033732+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 6 value
2018-07-29 04:25:40.033738+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,ig-platform-id has 191B0000 value
2018-07-29 04:25:40.033744+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) AAPL,ig-platform-id 191B0000 was found in controller at IGPU
2018-07-29 04:25:40.033854+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-29 04:25:40.033860+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-29 04:25:40.033865+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value
2018-07-29 04:25:40.033870+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id has D value
2018-07-29 04:25:40.033875+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,ig-platform-id was not found
2018-07-29 04:25:40.033884+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,snb-platform-id was not found
2018-07-29 04:25:40.033902+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-29 04:25:40.033908+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-29 04:25:40.033913+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value
2018-07-29 04:25:40.033918+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id has D value
2018-07-29 04:25:40.033923+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,ig-platform-id was not found
2018-07-29 04:25:40.033930+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,snb-platform-id was not found
2018-07-29 04:25:40.033935+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found 3 audio controllers
2018-07-29 04:25:40.033940+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 0 controller 8086:191B:6
2018-07-29 04:25:40.033946+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0
2018-07-29 04:25:40.033952+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348
2018-07-29 04:25:40.033956+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171
2018-07-29 04:25:40.033960+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D21
2018-07-29 04:25:40.033963+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:8D20
2018-07-29 04:25:40.033968+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:F04
2018-07-29 04:25:40.033972+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:24
2018-07-29 04:25:40.033977+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:C0C
2018-07-29 04:25:40.033981+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:8D20
2018-07-29 04:25:40.033986+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 8086:412
2018-07-29 04:25:40.033990+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 8086:412
2018-07-29 04:25:40.033995+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 8086:1616
2018-07-29 04:25:40.033999+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 8086:1612
2018-07-29 04:25:40.034004+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 8086:1626
2018-07-29 04:25:40.034008+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 8086:191E
2018-07-29 04:25:40.034013+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 8086:1916
2018-07-29 04:25:40.034019+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 8086:191B
2018-07-29 04:25:40.034024+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) not matching platform was found 19160000 vs 191B0000
2018-07-29 04:25:40.034028+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 8086:191B
2018-07-29 04:25:40.034032+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found mod for 0 controller
2018-07-29 04:25:40.034037+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 1 controller 8086:A170:31
2018-07-29 04:25:40.034041+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0
2018-07-29 04:25:40.034050+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348
2018-07-29 04:25:40.034055+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171
2018-07-29 04:25:40.034059+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D21
2018-07-29 04:25:40.034063+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:8D20
2018-07-29 04:25:40.034067+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:F04
2018-07-29 04:25:40.034072+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:24
2018-07-29 04:25:40.034076+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:C0C
2018-07-29 04:25:40.034080+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:8D20
2018-07-29 04:25:40.034085+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 8086:412
2018-07-29 04:25:40.034089+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 8086:412
2018-07-29 04:25:40.034093+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 8086:1616
2018-07-29 04:25:40.034098+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 8086:1612
2018-07-29 04:25:40.034102+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 8086:1626
2018-07-29 04:25:40.034107+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 8086:191E
2018-07-29 04:25:40.034111+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 8086:1916
2018-07-29 04:25:40.034116+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 8086:191B
2018-07-29 04:25:40.034120+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 8086:191B
2018-07-29 04:25:40.034124+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 8086:1912
2018-07-29 04:25:40.034129+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 19 mod 8086:5912
2018-07-29 04:25:40.034133+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 20 mod 8086:166
2018-07-29 04:25:40.034138+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 21 mod 8086:166
2018-07-29 04:25:40.034142+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 22 mod 8086:162
2018-07-29 04:25:40.034146+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 23 mod 8086:126
2018-07-29 04:25:40.034151+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 24 mod 8086:116
2018-07-29 04:25:40.034155+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 25 mod 1002:AAC8
2018-07-29 04:25:40.034159+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 26 mod 10DE:E0F
2018-07-29 04:25:40.034164+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 27 mod 10DE:10EF
2018-07-29 04:25:40.034168+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 28 mod 10DE:10F1
2018-07-29 04:25:40.034173+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 29 mod 10DE:FBA
2018-07-29 04:25:40.034177+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 30 mod 10DE:FB0
2018-07-29 04:25:40.034181+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 31 mod 10DE:FBB
2018-07-29 04:25:40.034186+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 32 mod 10DE:FB8
2018-07-29 04:25:40.034190+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 33 mod 10DE:FB9
2018-07-29 04:25:40.034194+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 34 mod 10DE:10F0
2018-07-29 04:25:40.034199+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 2 controller 8086:A170:31
2018-07-29 04:25:40.034203+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0
2018-07-29 04:25:40.034208+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348
2018-07-29 04:25:40.034212+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171
2018-07-29 04:25:40.034216+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D21
2018-07-29 04:25:40.034223+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:8D20
2018-07-29 04:25:40.034228+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:F04
2018-07-29 04:25:40.034232+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:24
2018-07-29 04:25:40.034237+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:C0C
2018-07-29 04:25:40.034241+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:8D20
2018-07-29 04:25:40.034245+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 8086:412
2018-07-29 04:25:40.034249+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 8086:412
2018-07-29 04:25:40.034254+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 8086:1616
2018-07-29 04:25:40.034258+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 8086:1612
2018-07-29 04:25:40.034262+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 8086:1626
2018-07-29 04:25:40.034267+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 8086:191E
2018-07-29 04:25:40.034271+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 8086:1916
2018-07-29 04:25:40.034275+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 8086:191B
2018-07-29 04:25:40.034280+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 8086:191B
2018-07-29 04:25:40.034284+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 8086:1912
2018-07-29 04:25:40.034289+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 19 mod 8086:5912
2018-07-29 04:25:40.034293+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 20 mod 8086:166
2018-07-29 04:25:40.034297+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 21 mod 8086:166
2018-07-29 04:25:40.034301+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 22 mod 8086:162
2018-07-29 04:25:40.034305+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 23 mod 8086:126
2018-07-29 04:25:40.034309+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 24 mod 8086:116
2018-07-29 04:25:40.034314+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 25 mod 1002:AAC8
2018-07-29 04:25:40.034318+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 26 mod 10DE:E0F
2018-07-29 04:25:40.034322+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 27 mod 10DE:10EF
2018-07-29 04:25:40.034326+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 28 mod 10DE:10F1
2018-07-29 04:25:40.034331+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 29 mod 10DE:FBA
2018-07-29 04:25:40.034335+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 30 mod 10DE:FB0
2018-07-29 04:25:40.034339+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 31 mod 10DE:FBB
2018-07-29 04:25:40.034343+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 32 mod 10DE:FB8
2018-07-29 04:25:40.034348+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 33 mod 10DE:FB9
2018-07-29 04:25:40.034352+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 34 mod 10DE:10F0
2018-07-29 04:25:40.034356+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying patches for 3 kext
2018-07-29 04:25:40.034361+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 0 patch for 3 kext
2018-07-29 04:25:40.040914+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 1 controller
2018-07-29 04:25:40.040921+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 2 controller
2018-07-29 04:25:40.054536+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying patches for 8 kext
2018-07-29 04:25:40.054542+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 1 controller
2018-07-29 04:25:40.054547+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 2 controller
2018-07-29 04:25:40.054746+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-29 04:25:40.054758+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-29 04:25:40.054764+0800  localhost kernel[0]: (kernel) AppleALC:   audio @ (DBG) corrects analog audio for hdef at HDEF with 8086:A170
2018-07-29 04:25:40.054770+0800  localhost kernel[0]: (kernel) AppleALC:   audio @ (DBG) found normal alc-layout-id 13
2018-07-29 04:25:40.054774+0800  localhost kernel[0]: (kernel) AppleALC:   audio @ (DBG) found apple-layout-id 7
2018-07-29 04:25:40.054780+0800  localhost kernel[0]: (kernel) AppleALC:   audio @ (DBG) found existing built-in in hdef
2018-07-29 04:25:40.087998+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found supported Realtek ALC298 codec revision 0x100103
2018-07-29 04:25:40.088015+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying patches for 10 kext
2018-07-29 04:25:40.088020+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 1 controller
2018-07-29 04:25:40.088025+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 2 controller
2018-07-29 04:25:40.088031+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) will route resource loading callbacks
2018-07-29 04:25:40.088036+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying patches for 10 kext
2018-07-29 04:25:40.088041+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 1 patch for 10 kext
2018-07-29 04:25:40.088559+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 2 patch for 10 kext
2018-07-29 04:25:40.088912+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 3 patch for 10 kext
2018-07-29 04:25:40.090585+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 4 patch for 10 kext
2018-07-29 04:25:40.094604+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 5 patch for 10 kext
2018-07-29 04:25:40.095982+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) applying 6 patch for 10 kext
2018-07-29 04:25:40.106609+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) isAnalogAudio found 7 represented layout
2018-07-29 04:25:40.106619+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) initializePinConfig AppleHDACodecGeneric received hda 0xFFFFFF8045D930B0, config 0xFFFFFF8045B9F460 config name AppleHDAHardwareConfigDriver, detect 0 valid 1 apple layout 7
2018-07-29 04:25:40.106629+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) discovered analog codec 10EC0298 and layout 13
2018-07-29 04:25:40.106636+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) discovered HDAConfigDefault with 293 entries
2018-07-29 04:25:40.106792+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) current config entry has boot 1, wake 1, reinit 1
2018-07-29 04:25:40.588058+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) layoutLoadCallback 2 0 1 15073 1
2018-07-29 04:25:40.588063+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) resource-request arrived layout
2018-07-29 04:25:40.588066+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) checking codec 10EC:298:100103
2018-07-29 04:25:40.588070+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) selecting from 10 files
2018-07-29 04:25:40.588073+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing 0 layout 3/D
2018-07-29 04:25:40.588076+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing 1 layout B/D
2018-07-29 04:25:40.588078+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing 2 layout D/D
2018-07-29 04:25:40.588081+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found layout at 2 index
2018-07-29 04:25:40.588084+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) layoutLoadCallback done 2 0 1 1684 1
2018-07-29 04:25:40.614865+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) platformLoadCallback 4 0 1 17735 1
2018-07-29 04:25:40.614871+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) resource-request arrived platform
2018-07-29 04:25:40.614874+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) checking codec 10EC:298:100103
2018-07-29 04:25:40.614877+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) selecting from 10 files
2018-07-29 04:25:40.614880+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing 0 layout 3/D
2018-07-29 04:25:40.614883+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing 1 layout B/D
2018-07-29 04:25:40.614886+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing 2 layout D/D
2018-07-29 04:25:40.614889+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found platform at 2 index
2018-07-29 04:25:40.614892+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) platformLoadCallback done 4 0 1 469 1
2018-07-29 04:25:40.659147+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) performPowerChange AppleHDADriver from 1 to 2 in from sleep 0 hdef 1 detect 1

 

Here are Lilu1.2.5 + AppleALC1.3.0 and it getOSData show less than AppleALC1.2.8 and it cant recognize my ALC298 device so it cant drive my sound and show grey icon.

2018-07-29 04:23:22.053879+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-29 04:23:22.053884+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-29 04:23:22.053888+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value
2018-07-29 04:23:22.053898+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id was not found
2018-07-29 04:23:22.053901+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ alc-layout-id was not provided by controller at HDEF
2018-07-29 04:23:22.053912+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2018-07-29 04:23:22.053942+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has A170 value
2018-07-29 04:23:22.053945+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 31 value
2018-07-29 04:23:22.053948+0800  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData alc-layout-id was not found
2018-07-29 04:23:22.053951+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ alc-layout-id was not provided by controller at HDEF
2018-07-29 04:23:22.053955+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found 1 audio controllers
2018-07-29 04:23:22.053958+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 0 controller 8086:191B:6
2018-07-29 04:23:22.053962+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0
2018-07-29 04:23:22.053965+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A348
2018-07-29 04:23:22.053982+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:A171
2018-07-29 04:23:22.053984+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D21
2018-07-29 04:23:22.053987+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:8D20
2018-07-29 04:23:22.053990+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:F04
2018-07-29 04:23:22.053993+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:24
2018-07-29 04:23:22.053996+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:C0C
2018-07-29 04:23:22.053999+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:8D20
2018-07-29 04:23:22.054002+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 1002:AAC8
2018-07-29 04:23:22.054005+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 10DE:E0F
2018-07-29 04:23:22.054008+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 10DE:10EF
2018-07-29 04:23:22.054010+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 10DE:10F1
2018-07-29 04:23:22.054013+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 10DE:FBA
2018-07-29 04:23:22.054016+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 10DE:FB0
2018-07-29 04:23:22.054019+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 10DE:FBB
2018-07-29 04:23:22.054022+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 10DE:FB8
2018-07-29 04:23:22.054025+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 10DE:FB9
2018-07-29 04:23:22.054028+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 10DE:10F0
2018-07-29 04:23:22.054031+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller
2018-07-29 04:23:22.060324+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller
2018-07-29 04:23:22.093375+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) failed to find a suitable codec, we have nothing to do
2018-07-29 04:23:22.093384+0800  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller

 

I have try my best to find out what happend but i only can find logs between AppleALC1.2.8 and AppleALC1.3.0 but i dont know why cause this with same SSDT same Kexts and same Lilu Version but only AppleALC1.2.8 and AppleALC1.3.0 and the AppleALC1.3.0 dont work on my XPS anymore.

 

I also try to inject devices properties such as HDA layout-id and alc-layout-id but stil show grey icon.

 

If anyody have some probelm with me with AppleALC1.3.0,hope we can find the reason of this bugs.

 

Thanks for anyone to help us.

1.2.8.zip

1.3.0.zip

Edited by gujiangjiang

Share this post


Link to post
Share on other sites

Hi Guys,.

 

I am currently using AppleALC Version 1.2.7 on 15" 2017 HP Spectre X360 ... which has ALC295 Codec .. using Layout Id 3 via Clover Injection, OSX version 10.13.6:

 

Detailed Codec Info:-

 

VendorID: 0x10ec0295

RevisionID: 0x100002

CodecID: 283902613

Revision(dec):=1048578

Id=0x0295

Id(dec)=661

Vendor=0x10ec

Vendor(dec)=4332

 

I was thinking of trying the Mojave public beta however i read that layout ID's 3,13 & 28 no longer work in Mojave which are the only Layouts the ALC295 codec can use with current HDA solutions, however I understand that the latest versions of AppleALC supports some sort of automatic layout override/re-map. Despite ALC295 not being specifically mentioned in the change logs for versions 1.2.8 & 1.3.0 i decided to give AppleALC Ver 1.3.0 a go on my existing High Sierra system and see if it worked.

 

First i updated Lilu to the latest public release (ver 1.2.5) I also replaced CoreDisplayFixup, IntelGraphicsFixup and Shiki kext's with the latest public release of the Whatevergreen.kext and checked that all video and audio was working with AppleALC 1.2.7 before going any further ... which it did.

 

Next I installed AppleALC ver 1.3.0 .... as advised in the release notes i did not use any of the AppleALC override boot-flags, I just left Clover injecting Layout-ID 3 ... alas no output device in sys prefs and no sound after reboot, however there was a grey speaker icon in menu bar which i think means that AppleALC has loaded. I tried repairing permissions and rebuilt the kext caches and rebooted again but still no output device available. Seems I'm not alone with this result as many users are reporting very similar issues with 1.3.0 over the last few pages of this thread.


Next I tried installing AppleALC ver 1.2.8 and the sound worked ok on the internal speakers and the internal microphone worked ok, but headphones and HDMI audio no longer worked.

 

With version 1.2.8 Installed I can see that AppleALC is internally using Layout-ID 3 from my DSDT (Via Clover Injection) but is presenting Layout-ID 7 to MacOS.?

Below is screen grab of my IOreg on the HDEF device with AppleALC ver 1.2.8 installed:-

 

70952978_ScreenShot2018-08-04at13_37_35.thumb.png.0480f78faf5f83eb1a7a29162e450cca.png

 

Summary:

 

With AppleALC 1.3.0 installed no audio devices are working, grey speaker icon in menu bar.

With AppleALC 1.2.8 installed the internal speakers and built-in microphone are working ok however Headphones and HDMI Audio are not detected or available when plugged in.

With AppleALC 1.2.7 installed all audio devices are working - internal speakers, internal microphone, headphones and HDMI Audio - all ok.

 

I will stick with using AppleALC ver 1.2.7 for now but am happy to help debug and provide more detailed codec and node info if required ..... just let me know what you need.

Have attached info.plist (generated with the utility linked to in post #1)  with AppleALC 1.2.7 installed and all audio input and output devices working.

 

Cheers

Jay

 

 

 

  

 

 

HP Spectre X360 ALC295 Codec Info.plist

Edited by jaymonkey

Share this post


Link to post
Share on other sites

I have made test with 1.3.0, injecting "alc-layout-id" works for me and my "layout-id" automatically filled with zero by ALC. Made another test by injecting them both "alc-layout-id=1" and "layout-id=3", my "layout-id" became same as "alc-layout-id" (1). 

 

Screen Shot 2018-08-02 at 19.58.47.png

Edited by cecekpawon
Re-testing (1): layout-id == alc-layout-id

Share this post


Link to post
Share on other sites
On 3/8/2016 at 6:46 AM, vit9696 said:

Hello,

This is going to be a support/discussion topic of AppleALC on InsanelyMac. 
AppleALC is a kernel extension allowing you to enable native apple HD audio without any filesystem modifications. It dynamically injects the necessary modifications to AppleHDA (and other kexts) including the

layouts, and makes your audio work starting from the OS installation.

 

It should be noted that AppleALC starting with version 1.1.0 requires Lilu.kext to be put in the same folder as AppleALC.kext. See this topic for more details.

 

For quite some time we are trying to obtain the necessary information about AppleALC codec compatibility. If you use something, please, consider checking the compatibility table (do not worry, it is in English), and report (here) on your codec. We are also looking for all the possible revisions of the codec, if we do not have the revisions listed for your codec please report as well. Thanks for understanding. 

 

The report is meant to contain:

1. Laptop model/Motherboard model
2. Codec name
3. Layout used with the info what works for you (ideally if you try them all)
4. OS X versions you tried
5. Autogenerated Info.plist made with the help of this utility.

 
All the details including the source code are available on github:
https://github.com/vit9696/AppleALC
Some short wiki articles explaining the usage are included.
 
As for now the project is relatively immature without practically any codec support. But it should be pretty easy to add more of them, I am hoping for the support of the "community" :)
If you have any issues, better report them on github for structural reasons.

Hi @vit9696,

Below is my report info:

The report is meant to contain:

1. Dell Inspiron 7370
2. ALC295
3. id = 13, 28 (3 no sound but recognized)
4. 10.13.5/10.13.6
5. Attached 

 

When I use AppleALC with the right id for my codec(3, 13, 28) My CPU will stay around 3.7GHz. I've tried with AppleALC 1.2.7 and 1.2.8. For problem reporting purposes, I have included my result in v.1.2.8 (id=1 and id=13) to compare. And to ensure it's not version wise issue, I have also tried id=13 on v.1.2.7. The report will include Intel Power Gadget, Activity Monitor(All processes, hierarchy), and ioreg file. 

Thanks.

Info.plist

PR.zip

Share this post


Link to post
Share on other sites

I also realized that my AppleALC won't recognize when my earphones are plugged in. I hope there's a solution for this
Thanks.

Sent from my Mate 9 using Tapatalk

Share this post


Link to post
Share on other sites

Hi all,

 

I am using a DELL Inspiron 5370.

 

Details:

 

Codec: ALC295

AppleALC: 1.2.8

Lilu: 1.2.5

 

Issue:

 

With layout-id 13 or 28, (layout-id=3 does not work) I get the following in Sys Prefs:

 

Output: Internal Speakers

Input:   Internal Mic

 

Everything works.

 

However, when I plug in headphones/headset, the output in Sys Preference changes to Headphones,

 

But, there is no audio from headphones. 

 

I tried forcing apple-layout-id from 1 to 0x0F, but same result.

 

Can someone help me (especially, if you are using layout 13, or 28) or using ALC256 (also)?

 

 

Share this post


Link to post
Share on other sites
Hi all,
 
I am using a DELL Inspiron 5370.
 
Details:
 
Codec: ALC295
AppleALC: 1.2.8
Lilu: 1.2.5
 
Issue:
 
With layout-id 13 or 28, (layout-id=3 does not work) I get the following in Sys Prefs:
 
Output: Internal Speakers
Input:   Internal Mic
 
Everything works.
 
However, when I plug in headphones/headset, the output in Sys Preference changes to Headphones,
 
But, there is no audio from headphones. 
 
I tried forcing apple-layout-id from 1 to 0x0F, but same result.
 
Can someone help me (especially, if you are using layout 13, or 28) or using ALC256 (also)?
 
 
Why are you saying ALC256 when you mentioned ALC295? Does ALC256 works on ALC295?

Sent from my Mate 9 using Tapatalk

Share this post


Link to post
Share on other sites

hello, I convert and insert the file into ozmsis,but it stays at the Apple logo,thanks!

lilu.kext Ver1.25

applealc ver 1.30 

2018-08-06 18:23:35.570228+0800  localhost kernel[0]: Can't load kext as.vit9696.Lilu - executable is missing.

2018-08-06 18:23:35.570232+0800  localhost kernel[0]: Failed to load executable for kext as.vit9696.Lilu.

2018-08-06 18:23:35.570235+0800  localhost kernel[0]: Kext as.vit9696.Lilu failed to load (0xdc00800c).

2018-08-06 18:23:35.570238+0800  localhost kernel[0]: Dependency as.vit9696.Lilu of kext as.vit9696.AppleALC failed to load.

2018-08-06 18:23:35.570932+0800  localhost kernel[0]: Kext as.vit9696.AppleALC failed to load (0xdc008015).

2018-08-06 18:23:35.570935+0800  localhost kernel[0]: Failed to load kext as.vit9696.AppleALC (error 0xdc008015).

Edited by Chiloy

Share this post


Link to post
Share on other sites
3 hours ago, twsps said:

Why are you saying ALC256 when you mentioned ALC295? Does ALC256 works on ALC295?

Sent from my Mate 9 using Tapatalk
 

I am not sure, I am making a guess, and I may be very wrong .

 

ALC256, uses layout ids 13 and 28 and have similar pathmap as ALC295. 

Share this post


Link to post
Share on other sites
6 minutes ago, aylamrin said:

I am not sure, I am making a guess, and I may be very wrong .

 

ALC256, uses layout ids 13 and 28 and have similar pathmap as ALC295. 

Then it wouldn't make sense, as you're using id = 13 and 28, AppleALC will recognize it as 295. Not using ALC256.

Share this post


Link to post
Share on other sites
1 hour ago, twsps said:

Then it wouldn't make sense, as you're using id = 13 and 28, AppleALC will recognize it as 295. Not using ALC256.

But more importantly, I would like to have my headphones working when plugged in . At the moment it is not.

Share this post


Link to post
Share on other sites
But more importantly, I would like to have my headphones working when plugged in . At the moment it is not.
Same here. Mine isn't working. What macOS version are you on?

Sent from my Mate 9 using Tapatalk

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×