Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

6 hours ago, tyufhl said:

try this option. layout 5, 7, 12.

AppleALC.kext.zip

 

Yay It worked :D I had a quick try before coming to work. 5 does not work.  7 gives more output options then 12 but both works. Though the output description says optical output but it works on the green stereo output.  I have not checked the line in. I don't use or own a mic to check that. But if you want to make it fullly supported I can try to source a mic to check that too. Just let me know. I will double check everything and update with some screen shots when I get back. I think we are very close to being able to say AD1988A is also supported!

Link to comment
Share on other sites

Hello Experts,

 

I have a nearly fulling working Hackintosh (Mojave 10.14.2) based on a Asus ROG G750JM laptop. One of the few open issues is the nonworking internal subwoofer. Soundchip is the integrated ALC282. So I have essentially a working 2.0 system instead of the optimal 2.1 system. The codec dump says "Codec: Realtek ALC3229" instead of ALC282 - irritating but most likely identical?! I used a Fedora 29 live system and the the subwoofer works perfectly without any customization (Fedora of course, not macOS).

 

I worked through the AppleHDA patching guide (very interesting) and created the following output according to chapter 1 of the guide. I would like to use AppleALC - is my result in any way usable to make the subwoofer work with AppleALC? Again - my system uses AppleALC and works without the subwoofer.

 

What do you think?

 

 

 

Regards

Michael 

 

Final codec verb commands with disabled nodes:

 

<00471cf0 00471d00 00471e00 00471f40
00571cf0 00571d00 00571e00 00571f40
00771cf0 00771d00 00771e00 00771f40
00a71cf0 00a71d00 00a71e00 00a71f40
00e71cf0 00e71d00 00e71e00 00e71f40
01071cf0 01071d00 01071e00 01071f40
01271c10 01271d01 01271ea6 01271f90
01371cf0 01371d00 01371e00 01371f40
01471c20 01471d01 01471e17 01471f90 01470c02
01571cf0 01571d00 01571e00 01571f40
01671cf0 01671d00 01671e00 01671f40
01771c30 01771d01 01771e17 01771f90
01871c40 01871d10 01871ea1 01871f04
01971c50 01971d00 01971e00 01971f40
01a71c60 01a71d01 01a71e11 01a71f41
01b71c70 01b71d01 01b71e11 01b71f41
01c71cf0 01c71d00 01c71e00 01c71f40
01d71c80 01d71d10 01d71e27 01d71f41
01e71c90 01e71d10 01e71e45 01e71f04
01f71cf0 01f71d00 01f71e00 01f71f40
02071cf0 02071d00 02071e00 02071f40
02171ca0 02171d10 02171e21 02171f04>

 

Output Device "Speaker Playback Switch"
Node 0x14 [Pin Complex], Connection=0x0c
Node 0x0c [Audio Mixer], Connection=0x02 0x0b
Node 0x02 [Audio Output]
Path Map = 0x14 -> 0x0c -> 0x02 = 20 -> 12 -> 2

 

Output Device "Headphone Playback Switch"
Node 0x21 [Pin Complex], Connection: 0x0c* 0x0d
Node 0x0d [Audio Mixer] Connection: 0x03 0x0b
Node 0x03 [Audio Output]
Path Map = 0x21 -> 0x0d -> 0x03 = 33 -> 13 -> 3


Input Device "External Mic"
Node 0x09 [Audio Input], Connection: 0x22
Node 0x22 [Audio Mixer], Connection: 0x18 0x19 0x1a 0x1b 0x1d 0x0b
Node 0x18 [Pin Complex]
Path Map = 0x18 -> 0x22 -> 0x09 = 24 -> 34 -> 9

 

Input Device "Internal Mic"
Node 0x08 [Audio Input], Connection: 0x23
Node 0x23 [Audio Mixer], Connection: 0x18 0x19 0x1a 0x1b 0x1d 0x0b
Node 0x19 [Pin Complex]
Path Map = 0x19 -> 0x23 -> 0x08 = 25 -> 35 -> 8

Link to comment
Share on other sites

6 hours ago, Mahfuz said:

 

Yay It worked :D I had a quick try before coming to work. 5 does not work.  7 gives more output options then 12 but both works. Though the output description says optical output but it works on the green stereo output.  I have not checked the line in. I don't use or own a mic to check that. But if you want to make it fullly supported I can try to source a mic to check that too. Just let me know. I will double check everything and update with some screen shots when I get back. I think we are very close to being able to say AD1988A is also supported!

use this instruction https://applelife.ru/threads/getdumpxml-applehda-zvuk-avtomaticheskoe-postroenie-fajla-platforms-xml.2942828/, put the result here.

Link to comment
Share on other sites

10 minutes ago, tyufhl said:

use a translator

I do not intend to offend anyone. That site's text was recognized as Russian. Just wanted to ask if its safe to use.  I guess media has made me paranoid of Russian hackers :(

Link to comment
Share on other sites

5 hours ago, Mahfuz said:

I do not intend to offend anyone. That site's text was recognized as Russian. Just wanted to ask if its safe to use.  I guess media has made me paranoid of Russian hackers :(

 

Seriously? 

AppleALC.kext, Lilu.kext, WhateverGreen.kext etc. was developed by a Russian guy @vit9696

@Slice author of Clover is Russian:)

applelife.ru - is a home of Russian hackintosh community. You can use manuals from this forum without fear...

  • Like 6
  • Haha 1
Link to comment
Share on other sites

44 minutes ago, vandroiy2012 said:

Seriously? 

AppleALC.kext, Lilu.kext, WhateverGreen.kext etc. was developed by a Russian guy @vit9696

@Slice author of Clover is Russian:)

applelife.ru - is a home of Russian hackintosh community. You can use manuals from this forum without fear...

 

That's A very good piece of information. Thanks for enlightening me :)

  • Like 1
Link to comment
Share on other sites

4 minutes ago, tyufhl said:

create a dump from VoodooHDA using the getdump utility.

 

I am struggling to follow the instruction on the page. when I run the getdump utility I get this window. Tried to drag VoodooHDA.kext on the screen but it does not do anything. What am I missing?

 

1288030792_ScreenShot2019-01-01at8_09_36pm.png.a781887e3a46a2e8d9e95f8f1898ad4d.png

Link to comment
Share on other sites

10 minutes ago, Mahfuz said:

 

I am struggling to follow the instruction on the page. when I run the getdump utility I get this window. Tried to drag VoodooHDA.kext on the screen but it does not do anything. What am I missing?

 

1. Install VoodooHDA.kext from the release.zip. Test if sound is working

2. Run GetDumpXML from archive. The result will be on the Desktop in the folder named as your codec.

Edited by vandroiy2012
Link to comment
Share on other sites

32 minutes ago, Mahfuz said:

 

I am struggling to follow the instruction on the page. when I run the getdump utility I get this window. Tried to drag VoodooHDA.kext on the screen but it does not do anything. What am I missing?

 

1288030792_ScreenShot2019-01-01at8_09_36pm.png.a781887e3a46a2e8d9e95f8f1898ad4d.png

put these drivers VoodooHDA.kext , AppleHDADisabler.kext in /EFI/CLOVER/kexts/Other . Then run DarwinDumper.app 101184265_2019-01-0117_36_04.png.b1c18dcdc9530daf7ddf0b71dcbc7bfc.png

show this report.

Edited by tyufhl
Link to comment
Share on other sites

13 minutes ago, tyufhl said:

put these drivers VoodooHDA.kext , AppleHDADisabler.kext in /EFI/CLOVER/kexts/Other . Then run DarwinDumper.app 

 

I feel so dumb. How do you find these files. I have got the VoodooHDA.kext but can't fine AppleHDADisabler.kext DarwinDumper.app

 

Are these really hard to find or I am having blond moments.

 

Could you please help me with a link.

Link to comment
Share on other sites

6 minutes ago, Mahfuz said:

 

I feel so dumb. How do you find these files. I have got the VoodooHDA.kext but can't fine AppleHDADisabler.kext DarwinDumper.app

 

Are these really hard to find or I am having blond moments.

 

Could you please help me with a link.

 

Link to comment
Share on other sites

50 minutes ago, tyufhl said:

put these drivers VoodooHDA.kext , AppleHDADisabler.kext in /EFI/CLOVER/kexts/Other . Then run DarwinDumper.app 

 

Hopefully I have done this right. Please see attached files.

 

DumpXML_Analog Devices AD1988A.zip

getdump_output.zip

DarwinDumper_3.0.4_01.01_21.35.48_iMac14,2_Clover_X64_4784_High Sierra_17G65_elegantappdev.zip

  • Like 1
Link to comment
Share on other sites

Hello Experts,

 

I have a working Hackintosh (Mojave 10.14.2) based on a Asus ROG G750JM laptop. One of the few open issues is the nonworking internal subwoofer. Soundchip is the integrated ALC282. So I have essentially a working 2.0 system instead of the optimal 2.1 system. The codec dump says "Codec: Realtek ALC3229" instead of ALC282 - irritating but most likely identical?! I used a Fedora 29 live system and the the subwoofer works perfectly without any customization (Fedora of course, not macOS).

 

I tried to use all AppleALC supported layout-ids (3,4,13,22,27,28,29,76,86,127).

 

Layout-ID=3,4,13,29,76,86 worked but without subwoofer.

Layout-ID=27,28,127 didn’t work, no sound

Layout-ID=22 showed an additional digital output, but no sound at all.

 

Of course I can try it without AppleALC, e.g. directly patching AppleHDA but I prefer AppleALC. Any hints?

 

I've attached both codec dumps (ZIP file):

Codec: Intel Haswell HDMI -> card0_codec_dump.txt

Codec: Realtek ALC3229 -> card1_codec_dump.txt

 

Update: I added a graphical representation of the card1_codec_dump.txt

 

Regards

Michael 

codec_dumps.zip

codec_dump_dec.jpg

Edited by mklengel
Additional attachment
Link to comment
Share on other sites

15 minutes ago, tyufhl said:

remove

 

I have removed VoodooHDA.kext and AppleHDADisabler.kext and restarted. 

 

I get sound only for a few seconds and then there is no sound. Both Headphones and Line out have same issue. Any suggestion what to do?

 

1119257032_ScreenShot2019-01-02at9_55_07pm.png.b71e9da78b3a7f1879a28d35580afeb5.png

1756505874_ScreenShot2019-01-02at9_57_31pm.png.6fe0181906aa997bca002dca6a634878.png

Link to comment
Share on other sites

19 minutes ago, Mahfuz said:

 

I have removed VoodooHDA.kext and AppleHDADisabler.kext and restarted. 

 

I get sound only for a few seconds and then there is no sound. Both Headphones and Line out have same issue. Any suggestion what to do?

 

 

need to check these two drivers. In one patch controller. 

ALC-1.zip

ALC-cont.zip

Link to comment
Share on other sites

×
×
  • Create New...