Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

I have installed High Sierra on a HP EliteBook 8770w, sound is not working and I'm trying to use AppleALC.

On Windows the sound card is ven_111d&dev_7605, that should correspond to 92HD81B1X5.

I have tried all the layouts for this codec listed on https://github.com/vit9696/AppleALC/wiki/Supported-codecs:

3, 11, 12, 20, 21, 28

None of them work, I need some help.

Here is a log filtered by AppleALC:

2017-10-29 18:03:35.681708+0100  localhost kernel[0]: (Lilu) <Lilu`LiluAPI::shouldLoad(char const*, unsigned long, unsigned int, char const**, unsigned long, char const**, unsigned long, char const**, unsigned long, KernelVersion, KernelVersion, bool&)> Lilu:     api @ (DBG) got load request from AppleALC (120)
2017-10-29 18:03:56.010961+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2017-10-29 18:03:56.010967+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has 1E20 value
2017-10-29 18:03:56.010974+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 4 value
2017-10-29 18:03:56.010980+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData layout-id has 1C value
2017-10-29 18:03:56.010988+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,ig-platform-id was not found
2017-10-29 18:03:56.010996+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,snb-platform-id was not found
2017-10-29 18:03:56.011016+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData vendor-id has 8086 value
2017-10-29 18:03:56.011023+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData device-id has 1E20 value
2017-10-29 18:03:56.011029+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData revision-id has 4 value
2017-10-29 18:03:56.011035+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData layout-id has 1C value
2017-10-29 18:03:56.011042+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,ig-platform-id was not found
2017-10-29 18:03:56.011050+0100  localhost kernel[0]: (kernel) AppleALC:   iokit @ (DBG) getOSData AAPL,snb-platform-id was not found
2017-10-29 18:03:56.011056+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) found 2 audio controllers
2017-10-29 18:03:56.011063+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 0 controller 8086:1E20:4
2017-10-29 18:03:56.011069+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0
2017-10-29 18:03:56.011075+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A171
2017-10-29 18:03:56.011080+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:8D21
2017-10-29 18:03:56.011086+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D20
2017-10-29 18:03:56.011092+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:F04
2017-10-29 18:03:56.011097+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:24
2017-10-29 18:03:56.011103+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:C0C
2017-10-29 18:03:56.011109+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:8D20
2017-10-29 18:03:56.011115+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:412
2017-10-29 18:03:56.011121+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 8086:1616
2017-10-29 18:03:56.011127+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 8086:1612
2017-10-29 18:03:56.011133+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 8086:1626
2017-10-29 18:03:56.011147+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 8086:191E
2017-10-29 18:03:56.011153+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 8086:1916
2017-10-29 18:03:56.011159+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 8086:191B
2017-10-29 18:03:56.011165+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 8086:191B
2017-10-29 18:03:56.011171+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 8086:1912
2017-10-29 18:03:56.011177+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 8086:5912
2017-10-29 18:03:56.011183+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 8086:166
2017-10-29 18:03:56.011189+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 19 mod 8086:166
2017-10-29 18:03:56.011195+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 20 mod 8086:166
2017-10-29 18:03:56.011201+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 21 mod 1002:AAC8
2017-10-29 18:03:56.011207+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) validating 1 controller 8086:1E20:4
2017-10-29 18:03:56.011214+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 0 mod 8086:A2F0
2017-10-29 18:03:56.011220+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 1 mod 8086:A171
2017-10-29 18:03:56.011226+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 2 mod 8086:8D21
2017-10-29 18:03:56.011232+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 3 mod 8086:8D20
2017-10-29 18:03:56.011238+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 4 mod 8086:F04
2017-10-29 18:03:56.011245+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 5 mod 8086:24
2017-10-29 18:03:56.011251+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 6 mod 8086:C0C
2017-10-29 18:03:56.011257+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 7 mod 8086:8D20
2017-10-29 18:03:56.011263+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 8 mod 8086:412
2017-10-29 18:03:56.011269+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 9 mod 8086:1616
2017-10-29 18:03:56.011275+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 10 mod 8086:1612
2017-10-29 18:03:56.011281+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 11 mod 8086:1626
2017-10-29 18:03:56.011287+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 12 mod 8086:191E
2017-10-29 18:03:56.011293+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 13 mod 8086:1916
2017-10-29 18:03:56.011299+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 14 mod 8086:191B
2017-10-29 18:03:56.011305+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 15 mod 8086:191B
2017-10-29 18:03:56.011312+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 16 mod 8086:1912
2017-10-29 18:03:56.011318+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 17 mod 8086:5912
2017-10-29 18:03:56.011324+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 18 mod 8086:166
2017-10-29 18:03:56.011330+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 19 mod 8086:166
2017-10-29 18:03:56.011335+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 20 mod 8086:166
2017-10-29 18:03:56.011341+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) comparing to 21 mod 1002:AAC8
2017-10-29 18:03:56.011347+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 0 controller

2017-10-29 18:03:56.011353+0100  localhost kernel[0]: (kernel) AppleALC:     alc @ (DBG) missing ControllerModInfo for 1 controller
Link to comment
Share on other sites

I have same problem with AppleALC+Lilu that I have with VoodooHDA. Sound does work but it is distorted. Changing frequencies in MIDI does not help, I've tried each of them in both cases.

 

I'm running 10.13 and my device is IDT92HD71B7, 111d:76b2.

 

Any help much appreciated on what else could be my problem with sound distortion. I know sound card is fine because I have dual booted laptop and sound works fine in Windows.

Link to comment
Share on other sites

Hi, 

Just started with hackintosh and got my sound working thanks to this project.

I'm running on a Gigabyte G Sniper 5(z87) with High Sierra, codec is Creative CA0132. Currently i'm using digital output, rear headphones and mic input, layout 1 and the sound is great.

 

I have a few questions, since i'm new i don't know if its possible for it to work on osx.
 

1. On windows its possible to control de digital sound output, its possible to do this with a new layout?
2. Front mic and Headphone does not work.

3. When returning from sleep mode there's no sound, this has something to do with the applealc or something else in my config?

 

I tried all the layouts.

 

Thank you very much.

Link to comment
Share on other sites

you said: When returning from sleep mode there's no sound, this has something to do with the applealc or something else in my config?

 

 

 

for this install codec commander of rehabman in s\l\e ...then fix permission

 

 

sudo rm -/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache && sudo touch /System/Library/Extensions && sudo kextcache -/

 

restart


https://bitbucket.org/RehabMan/os-x-eapd-codec-commander/downloads/

  • Like 1
Link to comment
Share on other sites

you said: When returning from sleep mode there's no sound, this has something to do with the applealc or something else in my config?

 

 

 

for this install codec commander of rehabman in s\l\e ...then fix permission

 

 

sudo rm -/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache && sudo touch /System/Library/Extensions && sudo kextcache -/

 

restart

https://bitbucket.org/RehabMan/os-x-eapd-codec-commander/downloads/

 

Thank you very much Marzillo, it worked!

Link to comment
Share on other sites

Just to report happy things; now in High Sierra 10.13.2 

on Dell Optiplex 790

all my output are available, as much as my HDMI

and my Headphones
Thank you for the AppleALC and latest Lilu  :D
 
audio10.png
Link to comment
Share on other sites

 

Hallo

i have a laptop Hp 470g1 with IDT92HD91BXX codec...work with all osx o.s. but with high sierra no sound...headphone and microfone work...sound icon is black,no gray but no sound...i use applealc and lilu 1.2.0 version

another my pc desktop,Hp Prodesk 600 G3 have a conexant CX20632....no support..i enclose dump.txt of conexant....o.s. system high sierra.

  •  

 

hallo  :)

no new for conexant?

Link to comment
Share on other sites

There's no ACPI patch in this thread, is it ? Rampagedev's files are compatible with AppleALC provided it uses the corresponding layout-id (usually 1, I checked his files)

 

Thanks for your help.

 

I was referring to toleda's way of patching X99 ALC 1150 audio. His SSDTs cause a conflict with Toleda's SSDTs, so I was hoping the HDEF to HDAS patch would work, even though I do not use a custom DSDT, only custom SSDTs

Link to comment
Share on other sites

Thanks for your help.

 

I was referring to toleda's way of patching X99 ALC 1150 audio. His SSDTs cause a conflict with Toleda's SSDTs, so I was hoping the HDEF to HDAS patch would work, even though I do not use a custom DSDT, only custom SSDTs

Rampagedev's file nullified HDAS device and add a HDEF device with layout 1, so you don't actually need Toleda's SSDT, just the audio file is sufficient

  • Like 1
Link to comment
Share on other sites

How's the Probook ? Your desktop's codec, I haven't had the time to finalize it yet, but I should be able to in the next few hours

hello vusun123

the guide rehabman don't like

I prefer traditional installation ... I did a lot of tests ... but nothing ... the peripheral is detected, black icon, headphones and microphone working but no sound from the speakers ... something changed with high sierra, with sierra, el captain work fine with applealc

Link to comment
Share on other sites

Hi vusun123

 

Just wondering if anything could be done for IDT 92HD75BX on an HP Pavilion dv6 laptop? I tried AppleALC.kext but it hangs a lot at boot and doesn't recognize anything.

 

Funny thing, it worked pretty fine in El Capitan but fails in both Sierra and HS :).

 

Attached codec dump from Ubuntu in case you need it :

 

Thx

CodecDump.zip

Link to comment
Share on other sites

Hi vusun123

 

Just wondering if anything could be done for IDT 92HD75BX on an HP Pavilion dv6 laptop? I tried AppleALC.kext but it hangs a lot at boot and doesn't recognize anything.

 

Funny thing, it worked pretty fine in El Capitan but fails in both Sierra and HS :).

 

Attached codec dump from Ubuntu in case you need it :

 

Thx

The codec listed in the current AppleALC repo doesn't list what kind of machine it worked on, so I'm gonna take a wild guess it won't work with your laptop, will take a look into it tonight

 

hello vusun123

the guide rehabman don't like

I prefer traditional installation ... I did a lot of tests ... but nothing ... the peripheral is detected, black icon, headphones and microphone working but no sound from the speakers ... something changed with high sierra, with sierra, el captain work fine with applealc

How does that even possible? His guide works on your machine I guarantee, maybe you have done it wrong somewhere. About the desktop, I'm gonna need people guiding me in the right direction of the correct kext-to-patch first, since that's the one bugging me the most while working on this codec

Link to comment
Share on other sites

@polyzargone Does your laptop even have a headphone jack ? The codec dump indicates no Headphone jack, only a Line Out

Well  I'm not sure what it really has actually :P.

 

It looks like this :

 

gEiJKmy.jpg

Nevertheless, install this AppleALC with the latest Lilu release, test with layout 12 (Line Out converted into Headphone for testing purporse) and layout 28 (LineOut removed)

So here's the results :

 

12 = Nothing at all

28 = Internal HP works but no mic/lineOut as expected

3 = Internal HP works, auto-switch to headphone when plugged in (middle and right-sided jacks) also working which is great but mic/lineOut not working even if they show in Syspref

Link to comment
Share on other sites

Well  I'm not sure what it really has actually :P.

 

It looks like this :

 

gEiJKmy.jpg

 

So here's the results :

 

12 = Nothing at all

28 = Internal HP works but no mic/lineOut as expected

3 = Internal HP works, auto-switch to headphone when plugged in (middle and right-sided jacks) also working which is great but mic/lineOut not working even if they show in Syspref

 

So my file is also a mess right now, but does AppleALC hang your laptop often ? I changed the kext-to-patch a bit

Link to comment
Share on other sites

So my file is also a mess right now, but does AppleALC hang your laptop often ? I changed the kext-to-patch a bit

No, it doesn't hang anymore but this wasn't related to AppleALC actually. In fact, it was a wrong DSDT injection that cause it. Anyway, sounds work the right way with Layout 3 and I don't really care about mic.

 

One thing I have to investigate though is that sleep seems to be broken. I Don't know if it's AppleALC related or something else :unsure:

 

Thanks again !

Link to comment
Share on other sites

hello vusun123

the guide rehabman don't like

I prefer traditional installation ... I did a lot of tests ... but nothing ... the peripheral is detected, black icon, headphones and microphone working but no sound from the speakers ... something changed with high sierra, with sierra, el captain work fine with applealc

hi vusun123

 

I solved the hp 470 ...credit to mirone......now  just the conexant

Link to comment
Share on other sites

×
×
  • Create New...