Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,382 posts in this topic

Recommended Posts

32 minutes ago, mashuk12 said:

audio not working with applealc

i'm tried to try different layout still not fix

 

1. HP 242 G1 /HM77 Motherboard
2. IDT 92HD99BXX

3. Layout 3,7,8,9,12,13,22,84 many more id trying
4. MacOS Catalina 10.15.3

CodecDump.zip


 What are you doing?? There is only 1 layout available in IDT92HD99BX. It's should be layoutID = 3.

AFter set layoutID = 3 then upload your IOREG Output

 

image.thumb.png.0c8e0c140b83cfc4ce437b789fda4900.png 

Link to comment
Share on other sites

1 hour ago, Andres ZeroCross said:

Your ioreg show alc-layout-id = 12 (0x0c in HEX). Clearly you didn't set 3 as layout id.

Cek your Device => Properties in config.plist, or check your DSDT in _DSM or HDEF.

You didn't set 3 as layoutID

 

image.thumb.png.3bd5ceb17f2d6fca1781d611df405539.png

remove layout 12 and added layout 3 on dsdt 

MAsh’s MacBook Air (2).ioreg

Edited by mashuk12
Link to comment
Share on other sites

Hello @Andres ZeroCross

 

i need help for pull request.
I have experience with audio codecs. I have no experience with github.
Maybe you can help.
Sorry, my English is unfortunately not perfect.

 

I did everything as vandroiy2012 said.

I clone in Xcode from https://github.com/acidanthera/AppleALC the last master.
Then add my sources.
Then Build Project.
Then open source control -> commit.
I activate checkbox "Push to remote" ... branch origin / master and press commit files.

At this point I always get an error when logging in to Github.
User name and password for Github are ok, nevertheless this error.

I can log in to github via a browser without any problems, but I have these problems in Xcode.

I only have a dev free account with Apple and a free account github.
Do I have no rights for this? Do I need a payment account with github for this function?

 

1.png.4778b150e22dca6818872725dc476ee3.png

 

2.png.86415e1bbfeb61a6ee78d177b2410635.png

 

finish.thumb.png.18da7bb3ab156ea2caef70f12dd6ec7d.png

 

pull1.thumb.png.2570bc716fbc420b1cd29e782622f882.png

 

pull2.png.34b9ab88905e2884caccf23d89009174.png

 

?:wallbash:

 

Do you have any advice?

Link to comment
Share on other sites

 @MacPeetit looks like you are trying to push directly to the acid anthera repo from your local account. for that to work whoever is in charge of applealc would have to add you as a dev on the repo.

for a push request you would have to fork the repo under your own github account repo fork then send the request

  • Like 2
Link to comment
Share on other sites

14 hours ago, MacPeet said:

Hello @Andres ZeroCross

 

i need help for pull request.
I have experience with audio codecs. I have no experience with github.
Maybe you can help.
Sorry, my English is unfortunately not perfect.

 

I did everything as vandroiy2012 said.

I clone in Xcode from https://github.com/acidanthera/AppleALC the last master.
Then add my sources.
Then Build Project.
Then open source control -> commit.
I activate checkbox "Push to remote" ... branch origin / master and press commit files.

At this point I always get an error when logging in to Github.
User name and password for Github are ok, nevertheless this error.

I can log in to github via a browser without any problems, but I have these problems in Xcode.

I only have a dev free account with Apple and a free account github.
Do I have no rights for this? Do I need a payment account with github for this function?

 

1.png.4778b150e22dca6818872725dc476ee3.png

 

2.png.86415e1bbfeb61a6ee78d177b2410635.png

 

finish.thumb.png.18da7bb3ab156ea2caef70f12dd6ec7d.png

 

pull1.thumb.png.2570bc716fbc420b1cd29e782622f882.png

 

pull2.png.34b9ab88905e2884caccf23d89009174.png

 

?:wallbash:

 

Do you have any advice?


I have always fork latest Acidanthera AppleALC resource first. Then make change to my forked ones. After that, make pull request. :)

  • Like 2
Link to comment
Share on other sites

@bronxteck and@Andres ZeroCross
 
Thank you very much. Fork helps. :thumbsup_anim::thumbsup_anim::thumbsup_anim:
 
does the merge work automatically or do I have to do anything else?
my forked is pull request 0
 
files.thumb.png.7752f187e6114b48340b4c428851fdda.png


After you made change to your forked appleALC, then go to Acidanthera applealc repo and make pull request for it


Sent from my iPhone using Tapatalk
@bronxteck and@Andres ZeroCross
 
Thank you very much. Fork helps. :thumbsup_anim::thumbsup_anim::thumbsup_anim:
 
does the merge work automatically or do I have to do anything else?
my forked is pull request 0
 
files.thumb.png.7752f187e6114b48340b4c428851fdda.png


After you made change to your forked appleALC, then go to Acidanthera applealc repo and make pull request for it


Sent from my iPhone using Tapatalk
  • Like 1
Link to comment
Share on other sites

Hi, 
I have no audio.

 

my motherboard is psi z370 pro carbon

audio chipset alc1220

audioID= 11 ( I try 1/3)

High Sierra 10.13.6

 

In past I have a realtekALC 

 

Previously I had used realtekALC and it worked.
I wanted to switch to appleALC, I deleted all previous configurations, restored appleHDA.
But the audio doesn't work with applealc.
I attach a screen of gfxutil from which I took the position pci and DCPImanager + config plist of clover and a screen of my kekts folder in clover.

 

I hope someone can help me

config.plist

kekts.png

Senza titolo.png

Senza titolo-1.jpg

Edited by simonuzzo
Link to comment
Share on other sites

Hello all,

 

The audio in my hackintosh suddenly stopped working for no reason. I have mac and windows dual boot and the headphone is still working in Windows 10 so no hardware problem.

My motherboard is ASUS Z170i Pro Gaming and the codec is ALC1150. The mac version is 10.15.3 and I installed AppleALC 1.4.6, with layout 1 in Clover.

It was working yesterday and I didn't touch the clover setup. I can still see these audio devices in the system report but there's no sound in my headphone.

Any idea? Thanks in advance.

# Update: I just found that the audio will not work if I do a hot reboot from Windows. If I shutdown windows 10 then turn on the computer, the sound will come back. This is really weird.

 920710627_Image3-1-20at10_05PM.jpeg.ec0301bdec69937866e8d1533e662d9b.jpeg

Edited by xuegy
Update
Link to comment
Share on other sites

8 hours ago, simonuzzo said:

Hi, 
I have no audio.

 

my motherboard is psi z370 pro carbon

audio chipset alc1220

audioID= 11 ( I try 1/3)

High Sierra 10.13.6

 

In past I have a realtekALC 

 

Previously I had used realtekALC and it worked.
I wanted to switch to appleALC, I deleted all previous configurations, restored appleHDA.
But the audio doesn't work with applealc.
I attach a screen of gfxutil from which I took the position pci and DCPImanager + config plist of clover and a screen of my kekts folder in clover.

 

I hope someone can help me

config.plist

kekts.png

Senza titolo.png

Senza titolo-1.jpg


Your audio codec is not recognized, make sure you have patch HDAS to HDEF and set layoutID to 1 for ALC1220,, you can use boot argument "alcid=1"

2 hours ago, xuegy said:

Hello all,

 

The audio in my hackintosh suddenly stopped working for no reason. I have mac and windows dual boot and the headphone is still working in Windows 10 so no hardware problem.

My motherboard is ASUS Z170i Pro Gaming and the codec is ALC1150. The mac version is 10.15.3 and I installed AppleALC 1.4.6, with layout 1 in Clover.

It was working yesterday and I didn't touch the clover setup. I can still see these audio devices in the system report but there's no sound in my headphone.

Any idea? Thanks in advance.

# Update: I just found that the audio will not work if I do a hot reboot from Windows. If I shutdown windows 10 then turn on the computer, the sound will come back. This is really weird.

 920710627_Image3-1-20at10_05PM.jpeg.ec0301bdec69937866e8d1533e662d9b.jpeg


This will be easy, try to complete shutdown your PC then turn on it again to macOS

Link to comment
Share on other sites

4 hours ago, Andres ZeroCross said:


Your audio codec is not recognized, make sure you have patch HDAS to HDEF and set layoutID to 1 for ALC1220,, you can use boot argument "alcid=1"

 

 

I streamlined the config.plist file following the whatergreen directives.
I tried with your suggestion but it still doesn't work.
I also tried from device ---> properties

I added the patch hdas to hdef (although as I understand from the manual on git that patch should be deleted)

how can I do?

Let's say I was trying to optimize everything, for a possible passage in the opencore.

But appleALC never worked because I used realtekalc, but I would like to solve this.

 

attached you screen of my config.plist

I have also deleted all fakePCIID (Intel_graphics,HDMI_audio,fakepciiD)

 

 

1 copia.jpg

2 copia.jpg

3 copia.jpg

4 copia.jpg

5 copia.jpg

Edited by simonuzzo
Link to comment
Share on other sites

5 minutes ago, simonuzzo said:

 

I streamlined the config.plist file following the whatergreen directives.
I tried with your suggestion but it still doesn't work.
I also tried from device ---> properties

I added the patch hdas to hdef (although as I understand from the manual on git that patch should be deleted)

how can I do?

Let's say I was trying to optimize everything, for a possible passage in the opencore.

But appleALC never worked because I used realtekalc, but I would like to solve this.

 

attached you screen of my config.plist

Ho anche cancellato tutti i fakePCIID (Intel_graphics,HDMI_audio,fakepciiD)

 

 

1 copia.jpg

2 copia.jpg

3 copia.jpg

4 copia.jpg

5 copia.jpg


Your picture is useless,, upload debug files (config.plist, ioregoutput). Don't forget to open terminal and type "sudo kextcache -i /" and save the output of terminal to TXT and upload it here.

Link to comment
Share on other sites

7 minutes ago, Andres ZeroCross said:

Your picture is useless,, upload debug files (config.plist, ioregoutput). Don't forget to open terminal and type "sudo kextcache -i /" and save the output of terminal to TXT and upload it here.

 

 

Here you are, I put the photos, because I thought you were more comfortable than the full plist.

Here is the info you asked me

sudo kextcache -i : - RESULT.rtf

config.plist

iMac di Red_Dragon.zip

Link to comment
Share on other sites

4 minutes ago, simonuzzo said:

 

 

Here you are, I put the photos, because I thought you were more comfortable than the full plist.

Here is the info you asked me

sudo kextcache -i : - RESULT.rtf

config.plist

iMac di Red_Dragon.zip

 

 

you have modified AppleHDA.kext (this is your problem),, log show that,,, Restore all kext to original ones. Run command again in terminal and upload again
image.thumb.png.d43c5aadb7a24f45cb6a47a51808b547.png

  • Like 1
Link to comment
Share on other sites

23 minutes ago, Andres ZeroCross said:

 

 

you have modified AppleHDA.kext (this is your problem),, log show that,,, Restore all kext to original ones. Run command again in terminal and upload again
image.thumb.png.d43c5aadb7a24f45cb6a47a51808b547.png

 

 

I was convinced that I had restored it but apparently it wasn't.
I had done it with kektsbeats, this time I did it from the terminal.

Here's the output.

But I have already tried and it works LayoutID 11 from device ---> properties and hdad to hdef disable.

 

now I can dedicate myself to opencore, thank you very much for your help.

 

sudo kextcache -i: - Result2.rtf

Schermata 2020-03-02 alle 11.52.30.png

Edited by simonuzzo
Link to comment
Share on other sites

×
×
  • Create New...