Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

2 minutes ago, insanelyDeepak said:

@vit9696 can you make "no-controller-inject" as boot argument instead properties ?? 

 

I read in AppleALC github,, it must be used in properties,, not boot-argument. Maybe @vit9696 can make it


image.png.c1bcfa8b6b0de40498afa85b134e89a4.png

Edited by Andres ZeroCross
Link to comment
Share on other sites

1 minute ago, Andres ZeroCross said:

 

I think the problem is this,,,
===
Device (PEGP)
                {
                    Name (_ADR, 0xFFFF)  // _ADR: Address
                }
=====

0xFFFF is reserved addres,, i changed it manual to ZERO, and make new device HDAU with address one :D

Reserved Address of EGPU can make problem,, 

no actually my issue is HDMI , you did what i tried so far but when i was doing it not able to look in details , 

 

here is issue  AppleALC causing slow boot to me due to HDAU patches , so either AppleALC do or DSDT HDAU do both result in same slow boot

Link to comment
Share on other sites

1 minute ago, insanelyDeepak said:

no actually my issue is HDMI , you did what i tried so far but when i was doing it not able to look in details , 

 

here is issue  AppleALC causing slow boot to me due to HDAU patches , so either AppleALC do or DSDT HDAU do both result in same slow boot


Yes, but if address of PEGP still 0xffff then it make problem..

Check your first properties of HDAU in first IOREG that you upload,, there is properties of nvidia in HDAU device.

With Reserved Address of PEGP then we can't make new device with new properties,, it will kernel panic

  • Like 1
Link to comment
Share on other sites

4 minutes ago, Andres ZeroCross said:


Yes, but if address of PEGP still 0xffff then it make problem..

i don't need any patches so i couldn't affect me 

 

Quote

Check your first properties of HDAU in first IOREG that you upload,, there is properties of nvidia in HDAU device.
With Reserved Address of PEGP then we can't make new device with new properties,, it will kernel panic

exactly i was having crash but not understand why , when you pointed me out i got more details 

Edited by insanelyDeepak
Link to comment
Share on other sites

Hi all! I have the ALC283 and none of the layout ids work for me. I've included an imgur album of what the different IDs show: https://imgur.com/a/yEz6YXH

 

I think this means I have to create a new layout id, but I don't know how. Any help?

 

I have an Acer E5-571-54FL. i5-5200U, HM97 mobo platform (H97 mobile)

Link to comment
Share on other sites

5 minutes ago, ldaniel-jmz said:

Ok here it is. Codec dump for Realtek ALC3221

codec_dump.txt

 

0x10EC0282 is ALC282. There are various Layout ID for ALC282, you should try all layoutID according to AppleALC Resource for ALC282. Maybe you can get best ones. https://github.com/acidanthera/AppleALC/tree/master/Resources/ALC282

 

image.png.3e718fd5fb063f83780f4ddb367a3cdd.png

7 minutes ago, darknight11c said:

Hi all! I have the ALC283 and none of the layout ids work for me. I've included an imgur album of what the different IDs show: https://imgur.com/a/yEz6YXH

 

I think this means I have to create a new layout id, but I don't know how. Any help?

 

I have an Acer E5-571-54FL. i5-5200U, HM97 mobo platform (H97 mobile)



If all layoutID is not working for you,, maybe you can try to upload your Codec_Dump.txt

Link to comment
Share on other sites

Hi everyone,

 

I have issues with an ALC256, I use last AppleALC, lilu.

Sound on HPs is good but when using headphones, sound is very bad.

I have tried a lot of configurations, ids, 11 13 28 56, (the best is 11, headphones are automatically detected).

 

I don't know what to do now.

Joined is my codec dump

 

Laptop is Dell Latitude 5590

 

Thanks for help

 

codec_dump1.txt

Edited by quartz38
Link to comment
Share on other sites

9 hours ago, quartz38 said:

Hi everyone,

 

I have issues with an ALC256, I use last AppleALC, lilu.

Sound on HPs is good but when using headphones, sound is very bad.

I have tried a lot of configurations, ids, 11 13 28 56, (the best is 11, headphones are automatically detected).

 

I don't know what to do now.

Joined is my codec dump

 

Laptop is Dell Latitude 5590

 

Thanks for help

 

codec_dump1.txt

 

1. Put manually CodecCommander.kext to Library/Extensions,,
2. Repair permission, kext cache, and kernel cache (Kext utility can do all this works for you, just run it once)

3. Put this SSDT-ALC256.aml to EFI/CLOVER/ACPI/Patched,, 

Then reboot and post the result

Link to comment
Share on other sites

New Resource VIA VT1705 by Andres ZeroCross

- Tested on ECS H81H3-M4 (1.0A)
- LayoutID = 21
- Stereo Output LineOut Rear (Green Jack)
- Mic Input Rear
- Headphone Front
- Mic Input Front

====
1. Prebuilt Kext = AppleALC.kext.zip
2. VT1705's Resource Folder = VT1705.zip
3. PinConfig = PinConfig.zip

Please Check @vandroiy2012 when you have free time after Vacation. I have made pull request at Github :guitar:

Edited by Andres ZeroCross
  • Like 1
Link to comment
Share on other sites

11 hours ago, Andres ZeroCross said:

 

1. Put manually CodecCommander.kext to Library/Extensions,,
2. Repair permission, kext cache, and kernel cache (Kext utility can do all this works for you, just run it once)

3. Put this SSDT-ALC256.aml to EFI/CLOVER/ACPI/Patched,, 

Then reboot and post the result

 

I had already done this try but I did it again and the result is the same.

No difference, with or without CodecCommander. crappy sound with headphones.

 

I remember, I was using CodecCommander with high Sierra with id 56 and it was working I upgraded to Mojave and no ok.

Link to comment
Share on other sites

 
I had already done this try but I did it again and the result is the same.
No difference, with or without CodecCommander. crappy sound with headphones.
 
I remember, I was using CodecCommander with high Sierra with id 56 and it was working I upgraded to Mojave and no ok.
Where did you put CodecCommander.kext??? Where directory??

Sent from my Mi Note 2 using Tapatalk

Link to comment
Share on other sites

Hi all,

I have macOS High Sierra 10.13.6 (17G3025) running on a Dell Studio XPS M1340 laptop.

The specs are:

Processor: 2.67 GHz Intel Core 2 Duo
Memory: 8 GB 1333 MHz DDR3
Graphics: NVidia GeForce 9400M G 256 MB
Motherboard Chipset: Nvidia MCP79
SMBIOS Product Name: MacBookPro7,1

 

Everthing works correctly except that:

1) I am using a modified AppleHDA.kext (for layout-id 12) with patches in config.plist and an audio kext called HDAIDT.kext, all of which are attached to this post.

2) I want to use Lilu.kext & AppleALC.kext and the codec (IDT 92HD73C1) appears to be supported with layout-id 19, but I cannot get it to work. I have tried injecting the layout id in Clover and also using Devices/Properties and by using alcid=19 at boot. None of these appear to work.

3) HDMI audio does not work. The HDMI audio device stops showing up in IOREG/HDEF if I use the HDAIDT.kext.

 

Can someone please help me to get AppleALC.kext working instead of modifying resources in AppleHDA.kext and using HDAIDT.kext? If the currently supported layout (19) will not work, can you please add support for my layout (12) in the next release?

 

Dell Studio XPS M1340.zip

asound.zip

Edited by najeeb_anwer
Added Linux /proc/asound folder
Link to comment
Share on other sites

×
×
  • Create New...