Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

28 minutes ago, paulopina said:

Uh, sorry!
As I am not sure to understand (English is not my native language)
So it is impossible to send the sound to the internal speakers if I have a jack connected?
Because I wanted to use the application "Audio Hijack" to dispatcher the audio to wish.

imageproxy.php?img=&key=c17464ef1b1b51c7

 

My concern is to be able to send the audio source of an application to the audio output that I want.
for example
"QuickTime" to HDMI
"Safari" to the internal speakers
"FaceTime" to the headphones

28 minutes ago, paulopina said:

Uh, sorry!
As I am not sure to understand (English is not my native language)
So it is impossible to send the sound to the internal speakers if I have a jack connected?
Because I wanted to use the application "Audio Hijack" to dispatcher the audio to wish.

imageproxy.php?img=&key=c17464ef1b1b51c7

 

My concern is to be able to send the audio source of an application to the audio output that I want.
for example
"QuickTime" to HDMI
"Mail" to the internal speakers
"FaceTime" to the headphones

1264159221_Capturedecran2019-01-19a12_11_53.thumb.png.d3b40ac4e65059b6c69d672280aa6e6f.png

 

Quote

DSC_2751.thumb.JPG.3054db1c1fcd68537fbe1cae285d3c6e.JPG

 

 

Link to comment
Share on other sites

Hi @vandroiy2012
I add make resource for ALC294 in ASUS ZenBook Flip 14 UX461UA.  @paulopina has tested it and work all.

Here is the resource files,, i set layoutID = 21. Please check this pull request https://github.com/acidanthera/AppleALC/pull/375

 

Platforms21.xml

PinConfigs.kext.zip

layout21.xml

Info.plist

codec_dump.txt.svg

codec_dump.txt

AppleALC.kext.zip

  • Like 1
Link to comment
Share on other sites

51 minutes ago, Andres ZeroCross said:

Bonjour @ vandroiy2012
J'ajoute une ressource de création pour ALC294 dans ASUS ZenBook Flip 14 UX461UA.  @paulopina l'  a testé et fonctionne parfaitement .

Voici les fichiers de ressources, i set layoutID = 21. Vérifiez cette demande d'extraction à l'  adresse https://github.com/acidanthera/AppleALC/pull/375.

 

Platforms21.xml

PinConfigs.kext.zip

layout21.xml

Info.plist

codec_dump.txt.svg

codec_dump.txt

AppleALC.kext.zip

Do you have a solution for switch between internal speaker and headphones?

Link to comment
Share on other sites

6 minutes ago, Andres ZeroCross said:

It's already switch,, when you plug in your headphone then output will be to Headphone

Yes, it works.
But I wish I could manually switch between the 2 outputs.
I can switch the 2 inputs but not the outputs (except HDMI that I can manually switch).

Quote

2119451010_Capturedecran2019-01-19a11_05_04.png.9633e32f7483e4e65ac09da43e57f2ba.png248554078_Capturedecran2019-01-19a11_09_34.png.1ced1d22ba5b53641f1e520a9474f69f.png596662480_Capturedecran2019-01-19a11_12_06.png.d8e2055a7ae1b09454f85bd3cee0c339.png1119350744_Capturedecran2019-01-19a11_15_39.png.c7fb158ee2d27dcf31b8a74736f9c92d.png1489436125_Capturedecran2019-01-19a11_55_59.thumb.png.9dd1457b94491d5f5823c4c949250550.pngDSC_2751.thumb.JPG.3054db1c1fcd68537fbe1cae285d3c6e.JPG1264159221_Capturedecran2019-01-19a12_11_53.thumb.png.d3b40ac4e65059b6c69d672280aa6e6f.png

 

Link to comment
Share on other sites

1 hour ago, an3k said:

CX8200: Codec dump retrieved from Linux terminal: cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump0.txt

codec_dump0.txt

 

HDMI: Codec dump retrieved from Linux terminal: cat /proc/asound/card0/codec#2 > ~/Desktop/codec_dump2.txt

codec_dump2.txt


Try this,, use layoutID = 21.

Post the result, and upload your IOREG

AppleALC.kext.zip

22 minutes ago, paulopina said:

Yes, it works.
But I wish I could manually switch between the 2 outputs.
I can switch the 2 inputs but not the outputs (except HDMI that I can manually switch).

 


Try this,, post the result

AppleALC.kext.zip

Link to comment
Share on other sites

 

13 minutes ago, Andres ZeroCross said:

How about the result?

Sent from my Mi Note 2 using Tapatalk

How about the result?

Sent from my Mi Note 2 using Tapatalk
 

 

Sorry, couldn't write anything (just quoting and attaching) from my Hack so uploaded from there and edited my posting on my PC.

 

14 minutes ago, an3k said:

Used the attached AppleALC.kext and set layout-id 21: No External Output or Input but Internal Audio Out / In works as before: layout-id21.ioreg.zip

Edited by an3k
Link to comment
Share on other sites

9 minutes ago, paulopina said:

everything works perfectly.
I can switch the inputs and outputs.


Thank you very much for your work.

MacBook Pro.zip


You're welcome. Enjoy your hackintosh.

 

45 minutes ago, an3k said:

 

 

Couldn't write anything from my Hack so uploaded there and edited my posting.

 

How about this,, post the result

AppleALC.kext.zip

Link to comment
Share on other sites

10 minutes ago, Andres ZeroCross said:

How about this,, post the result

AppleALC.kext.zip

 

Without anything attached I see Internal Speakers and Internal Microphone. Both working as before. However, when plugging in my stereo cable from my headphones while being in System Settings > Audio > Output "Internal Speakers" are gone and changed to "Headphones" and I do get Stereo audio. Also Volume and Balance sliders are independent for both devices. Excellent! Thank you very much! :) Is it possible to have both Outputs/Inputs listed the whole time or is this normal macOS behavior?

 

I don't have a 3,5 mm Headset cable (only a Headphones one) so I can't test how Audio-In behaves but I'll get one as soon as possible and test it. I assume it will work as awesome as Audio-Out.

Link to comment
Share on other sites

25 minutes ago, an3k said:

 

Without anything attached I see Internal Speakers and Internal Microphone. Both working as before. However, when plugging in my stereo cable from my headphones while being in System Settings > Audio > Output "Internal Speakers" are gone and changed to "Headphones" and I do get Stereo audio. Also Volume and Balance sliders are independent for both devices. Excellent! Thank you very much! :) Is it possible to have both Outputs/Inputs listed the whole time or is this normal macOS behavior?

 

I don't have a 3,5 mm Headset cable (only a Headphones one) so I can't test how Audio-In behaves but I'll get one as soon as possible and test it. I assume it will work as awesome as Audio-Out.

 

Stupid me had a Headset (somewhere tucked away). As with Headphones plugging in a Headset works perfectly for Audio-Out. For Audio-In however while it changes from "Internal Microphone" to "Line-In"  there is no actual audio input (tried system settings as well as voice recorder). I made sure that both the port as well as the plug are using the same layout.

8rSD2.jpg.953003fd2da0876b51f8756f57dc3f0e.jpg

Link to comment
Share on other sites

 
Stupid me had a Headset (somewhere tucked away). As with Headphones plugging in a Headset works perfectly for Audio-Out. For Audio-In however while it changes from "Internal Microphone" to "Line-In"  there is no actual audio input (tried system settings as well as voice recorder). I made sure that both the port as well as the plug are using the same layout.
8rSD2.jpg.953003fd2da0876b51f8756f57dc3f0e.jpg
I will check later, i will upload new kext several hours from now

Sent from my Mi Note 2 using Tapatalk

Link to comment
Share on other sites

Hi guys

I need some help for my sound, heres my spec:

 

1. Laptop Acer 4739 i3 370M

2. Alc 271x (based on codec_dump)

3. I've been trying many layout id through clover for codec alc269, but none of them worked, and when I make inject kexts=Yes in clover configuration, my layout id automatically set  to 7, and I cannot changed it. By using inject kexts= yes and layout id automatically set to 7, the sound comes up after maybe around 30 minutes, then I test it, it just takes 3 secs with playing music and no sound at all

4. Yosemite 10.10.5

hope someone can help me 

thank you very much

ioreg7.zip

codec_dump.txt

Screen Shot 2019-01-19 at 6.16.46 PM.png

Edited by sleepynow_x
Link to comment
Share on other sites

1 hour ago, sleepynow_x said:

Hi guys

I need some help for my sound, heres my spec:

 

1. Laptop Acer 4739 i3 370M

2. Alc 271x (based on codec_dump)

3. I've been trying many layout id through clover for codec alc269, but none of them worked, and when I make inject kexts=Yes in clover configuration, my layout id automatically set  to 7, and I cannot changed it. By using inject kexts= yes and layout id automatically set to 7, the sound comes up after maybe around 30 minutes, then I test it, it just takes 3 secs with playing music and no sound at all

4. Yosemite 10.10.5

hope someone can help me 

thank you very much

ioreg7.zip

codec_dump.txt

Screen Shot 2019-01-19 at 6.16.46 PM.png

Your problem is about set layout Injection for your audio. Just set it from Config.plist or DSDT

Link to comment
Share on other sites

9 hours ago, an3k said:

 

Stupid me had a Headset (somewhere tucked away). As with Headphones plugging in a Headset works perfectly for Audio-Out. For Audio-In however while it changes from "Internal Microphone" to "Line-In"  there is no actual audio input (tried system settings as well as voice recorder). I made sure that both the port as well as the plug are using the same layout.

8rSD2.jpg.953003fd2da0876b51f8756f57dc3f0e.jpg

Try this,, post the result..

AppleALC.kext.zip

Link to comment
Share on other sites

9 minutes ago, matgeo said:

You forgot about me or you can not find a solution?

Because your info is not clear. You said before with 5 and 11 then you didn't get any sound from headphone, then you said again get same problem audio lost after sleep.

How can you get audio lost, you didn't get any sound before sleep.

I don't understand your exactly issue.
image.png.ba6bb6a55abbbbea5f69ef0a60c5325d.png

 

Make it clear in one post with LayoutID = 11.

Edited by Andres ZeroCross
Link to comment
Share on other sites

56 minutes ago, Andres ZeroCross said:

Your problem is about set layout Injection for your audio. Just set it from Config.plist or DSDT

one more the problem, as you can see on my pic, when I set inject kext inject=Yes,  I cant set layout id(alc and lilu is loaded), but if I set inject kext=Detect, I can set the layout id but in kext wizard no applealc and lilu is loaded. Is there any solution to change the layout id when inject kext is set to Yes?
thank you

injek kext yes.png

kext other no inject kext.png

Link to comment
Share on other sites

Just now, sleepynow_x said:

one more the problem, as you can see on my pic, when I set inject kext inject=Yes,  I cant set layout id(alc and lilu is loaded), but if I set inject kext=Detect, I can set the layout id but in kext wizard no applealc and lilu is loaded. Is there any solution to change the layout id when inject kext is set to Yes?
thank you

injek kext yes.png

kext other no inject kext.png

Your configuration is BAD,,, it's the answer

Link to comment
Share on other sites

×
×
  • Create New...