Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

17 hours ago, MacPeet said:

@DoZe

 

I have not loaded the new SourceCode yet, but my version works with Mojave as well.
With you the Inject does not work under Mojave. Ioreg has layoutid 7, but no alc layoutid.
try boot flag alcid=15 or alcid=3 or alcid=21

 

Ok ok

i try this, stay tuned.

Link to comment
Share on other sites

@ammoune78

 

If the codec in AppleALC worked with Sierra and HS then it should work with Mojave too.
Did you try the Inject in the DSDT / HDEF?

 

...
"alc-layout-id", 
Buffer (0x04)
{
0x03, 0x00, 0x00, 0x00
}, 
"layout-id", 
Buffer (0x04)
{
0x07, 0x00, 0x00, 0x00
}, 
...

 

Link to comment
Share on other sites

@MacPeet Unfortunately, it doesn't work at all for macOS versions (S/HS/M), but instead it does for old Mac OS X versions i meant! Here's the screenshot:

 

 

Screen Shot 2019-05-24 at 09.16.31.png

Link to comment
Share on other sites

HI

 

I update AppleALC to the latest version 1.3.8 under macOS 10.14.5. Now I don't have HDMI audio on my system at launch. I must reboot. I don't understand why.

 

It seems to be the same with 1.3.6.

Edited by Matgen84
Link to comment
Share on other sites

On 5/24/2019 at 2:32 AM, DoZe said:

 

Ok ok

i try this, stay tuned.

 

@MacPeet

 

Yeahhhh Victory !!! alcid=15 in boot argument seems to be fully functional :

 

Internal speakers, internal Mic, Headphone port with auto switch between internal speaker/Headphone : STAGE CLEARED !  

 

Just need a little Boost for Mic Gain, perhaps need just a little gain for Master volume too, but... it W-O-R-K-S finally :thumbsup_anim:

 

 

You can add the patch for CX7700 and NOT CX8200 in the next AppleALC release :)

 

Do we need, when it will be released, the boot argument or not ?

 

Thanks A-G-A-I-N MacPeet !

 

PS : for personal knowledge  Why it works with boot argument and not with the ID in Clover (correct if i'm wrong, but clover inj ID is more for AppleHDA ?)

Edited by DoZe
Link to comment
Share on other sites

19 hours ago, Matgen84 said:

HI

 

I update AppleALC to the latest version 1.3.8 under macOS 10.14.5. Now I don't have HDMI audio on my system at launch. I must reboot. I don't understand why.

 

It seems to be the same with 1.3.6.

I have the same issue with audio over display port to my monitor (IGPU), Z390 / Intel 630. Could it be the same issue? Did you manage to get any further analyzing the issue?

Link to comment
Share on other sites

14 hours ago, DoZe said:

You can add the patch for CX7700 and NOT CX8200 in the next AppleALC release :)

 

 

No idea what you always have with CX7700. :no:

 

Your CodecDump says clearly:
#
Codec: Conexant CX8200
Address: 0
Vendor Id: 0x14f12008
#

 

CX7700 does not exist in AppleALC: https://github.com/acidanthera/AppleALC/tree/master/Resources

 

ok, very nice that it works now

 

Works also ext. Mic (configured as LineIn)?

 

Boost for outputs not possible.

 

Boost 3 set for internal mic, try this:

 

trial2_CX8200_layoutID_15.zip

  • Thanks 1
Link to comment
Share on other sites

1 hour ago, MacPeet said:

 

No idea what you always have with CX7700. :no:

 

Your CodecDump says clearly:
#
Codec: Conexant CX8200
Address: 0
Vendor Id: 0x14f12008
#

 

CX7700 does not exist in AppleALC: https://github.com/acidanthera/AppleALC/tree/master/Resources

 

ok, very nice that it works now

 

Works also ext. Mic (configured as LineIn)?

 

Boost for outputs not possible.

 

Boost 3 set for internal mic, try this:

 

trial2_CX8200_layoutID_15.zip

 

Not me, like the Probook 4x0 G4 series, the Zbook 15uG4 is equipped with CX7700, see here for the Zbook 15uG4 :

 

See the quickspecs PDF from HP, Page 37 : http://www8.hp.com/h20195/v2/GetPDF.aspx/c05322740.pdf

 

I can't find any datasheet about CX7700 to see the difference between CX8200 & 7700, but it's 2 different chip.

 

I Try your version with Boost 3 and test ext. mic when back to home (it's a Jack combo port (Headphone/Mic in)

 

 

 

Link to comment
Share on other sites

typical manufacturer, that's known
CX7700 is just a name, behind it hides the device CX8200

Example:
Manufacturer says Realtek ALC3253, in fact it is ALC225
Manufacturer says Realtek ALC3246, in fact it is ALC226
...

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

9 hours ago, Sander Spilleman said:

I have the same issue with audio over display port to my monitor (IGPU), Z390 / Intel 630. Could it be the same issue? Did you manage to get any further analyzing the issue?

 

It's a randomly issue. No solution actually :cry:

Link to comment
Share on other sites

2 hours ago, MacPeet said:

typical manufacturer, that's known
CX7700 is just a name, behind it hides the device CX8200

Example:
Manufacturer says Realtek ALC3253, in fact it is ALC225
Manufacturer says Realtek ALC3246, in fact it is ALC226
...

 

Yep, Totally agree. Don't see me as a story maker, but i think it's important for beginner or newbie in Hackintosh world to see in the changelog than CX7700 is well supported.

 

i see for example in changelog for v 1.3.8 Added ALC255 (3246) layout-id 100 for alienware alpha r2 by DalianSky

 

Hope to see Added CX7700 (CX8200) layout-id 15 for HP Zbook15uG4 by MacPeet :lol:

 

 

Edited by DoZe
Link to comment
Share on other sites

Hey everyone,

 

I am using AppleALC and it works mostly. Thanks to everyone who involves in this project.

 

There is only one problem I have. Even though I search through internet I can't find a topic like that. I am happy with output and input. Problem is that when I speak on Facetime with my Hackintosh instead of my iPhone ( they both connect to same wifi ) the people I talk say me that there is an annoying sound which distracts them.

 

Applealc is latest now, it is always latest I check GitHub for it and others regularly, I am on 10.14.5 ( I haven't tested with it yet ) layout-id is 11 ( 13 is randomly shut downs after reboot ) codeccommander.kext 5

My laptop is Dell 7577 + alc 256 codec

 

Has any of you had a problem like this? Can you give me a work around?

 

Thanks in advance

 

 

Link to comment
Share on other sites

On 1/22/2019 at 7:42 PM, Andres ZeroCross said:


This will make automatic switch of your Internal and External Microphone 

AppleALC.kext.zip

Hi there, I have CX8200 on my probook 440 G5, however I can't seem to find a solution for the headphones jack it doesn't get recognised whenever I plug anything. I used the quoted kext you gave to @an3k and it worked very well, however the .aml file which is to be placed in ACPI/patched heavily messes up with my computer, and it restarts afer 5 min of work also if I unplug the charger it goes off, if I remove it this problems dissappear however the headphone jack stops working as well. Could you please help. I'm attaching the codec dump

codec_dump.txt

Link to comment
Share on other sites

On 5/22/2019 at 2:42 PM, balag59 said:

Hi,

 

Here are my laptop specs:
HP Spectre X360(2015)
Intel Core i7 5500u + Intel HD Graphics 5500
I think my soundcard is Realtek ALC 286(not sure though).

 

I've installed Lilu and AppleALC kexts to L/E(repaired permissions and rebuilt kext cache).

My audio devices tab under Hackingtool is completely empty as shown below:

 

A search for HDEF turns up empty in IORegisteryExplorer as expected(see below).

 

But the funny thing is that I can find HDEF in MaciASL( can't find HDAS or AZAL).(see below)

 

Here is a copy of my debug report.

 

I can get the sound to work only via bluetooth and internal speakers and normal headphones don't work. I was told that I would require some form of DSDT patching and this is the best place to find some help with that. I would appreciate any guidance on this matter. Please let me know if you need anything else from me. Thanks in advance!

Screen Shot 2019-05-13 at 9.59.42 PM.png

Screen Shot 2019-05-13 at 10.01.04 PM.png

Screen Shot 2019-05-13 at 10.01.38 PM.png

debug_10688.zip

I'm so sorry to bring this up again but can someone please look into this issue? I could really use some help with this. Thanks again!

Link to comment
Share on other sites

Dear @MacPeet,

 

First of all let me thank you for creating Layout 28 for AORUS Ultra. I have AORUS Elite version with absolutely the same codec ALC1220-VB and outputs configuration. So it almost perfectly fit for me also, exclude one exception - after reboot the Headphones is alwais selected as default output device. But I'd like to use back connector (Internal Speakers) for plugging my Headphones. For unknow me reasons the system doesn't save the selection between Internal Speakers and Headphones, but remember if I select some other output, HDMI for example, or some other Line Out.
Maybe you can create layout with joint Headphones and Internal Speakers are the same output, like in Layout 16, for example.
Also it would be nice to understand, how the new Layouts are created. Maybe you can give me the link for some guide. I could not find such.

Thank you so much!

Edited by AGluk
Link to comment
Share on other sites

1 hour ago, MacPeet said:

try this with layoutID29 (1D Hex) / SwitchMode (28 is ManualMode SP/HP)

 

I've checked it!

 

1. Output works perfect. After plugging headphones into the front jack the name in Settings changes from Internal Speakers to Headphones.
Will you plan to add this Layout to the next AppleALC release?

Or maybe just change the behavior of 28 Layout. This one behavior is much more convenient from my point of view.

 

2. Inputs works good, but when I plug my Microphone into the front jack, the name Microphone is changed to Line-In... What is strange.

On the AppleALC 1.3.8 with Layout 28 (0x1C) I've seen the same behaviour. I think Microphone should stay Microphone :)

 

3. Can you give me the link for some guide How to create custom Layout for AppleALC? I'd like to figure it out how it works :)

 

Thank you so much, @MacPeet!!!

Link to comment
Share on other sites

3 hours ago, MacPeet said:

@DoZe

 

and? external mic?
without information it does not go into the release!

 

@AGluk

 

try this with layoutID29 (1D Hex) / SwitchMode (28 is ManualMode SP/HP)

 

trial_ALC1220_for_Z390_Aorus_Ultra_Output_SP:HP_SwitchMode_layoutID29.zip

I have CX8200 on Probook 440 G5 and tried the one you gave to @DoZe (the one with ID 15) and it works well (internal/external audio ok/ internal mic ok/ external mic is producing only noise whenever you speak to it). Also the kext messes up with power management for some reason (battery dissappears and whenver unplugged the laptop restarts, do you have any idea on why is that?

  • Thanks 1
Link to comment
Share on other sites

26 minutes ago, jonny33 said:

I have CX8200 on Probook 440 G5 and tried the one you gave to @DoZe (the one with ID 15) and it works well (internal/external audio ok/ internal mic ok/ external mic is producing only noise whenever you speak to it). Also the kext messes up with power management for some reason (battery dissappears and whenver unplugged the laptop restarts, do you have any idea on why is that?

 

@jonny33

 

Thanks for the info, i'll try on my Zbook when back @ home. Like the 4x0 G4 series, it seems the 440 G5 use this famous "CX7700" (aka 8200) too.

 

can't find a PDF like mine for yours, just find this :

 

http://www.andesti.com.pe/subsubcateproductos/notebooks-laptops/notebook-intel/notebookcorei5/laptop-hp-probook-440-g5-intel-core-i5-8250u-16ghz-ram-4gb-hdd-1tb-pantallla-led-14-hd-windows-10-pro

 

 

Link to comment
Share on other sites

16 minutes ago, DoZe said:

 

@jonny33

 

Thanks for the info, i'll try on my Zbook when back @ home. Like the 4x0 G4 series, it seems the 440 G5 use this famous "CX7700" (aka 8200) too.

 

can't find a PDF like mine for yours, just find this :

 

http://www.andesti.com.pe/subsubcateproductos/notebooks-laptops/notebook-intel/notebookcorei5/laptop-hp-probook-440-g5-intel-core-i5-8250u-16ghz-ram-4gb-hdd-1tb-pantallla-led-14-hd-windows-10-pro

 

 

Actually the one given to @an3k by @Andres ZeroCross with the additional .aml file  and id 21 works better (cause it enables completely external mic as well) however it also f's up my power management, and for the of god I can't figure out why.

  • Thanks 1
Link to comment
Share on other sites

7 hours ago, jonny33 said:

Actually the one given to @an3k by @Andres ZeroCross with the additional .aml file  and id 21 works better (cause it enables completely external mic as well) however it also f's up my power management, and for the of god I can't figure out why.

@jonny33

 

Ok, Thanks for this additional info. For my part, i'm using Clover, custom DSDT made my MaLD0n on Zbook 15uG4 and using Rehabman Kext for battery management, no other thing like SSDT*.aml, never had a restart :

 

https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads/

 

 

Edited by DoZe
Link to comment
Share on other sites

×
×
  • Create New...