Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

Hi Guys, I need your help. I'm trying to enable the optical SPDIF port on my machine using the pin headers on my mainboard. It works fine in Windows.

 

I've read Customization.pdf, but I don't know how to apply this to AppleALC. I know that I need to patch and recompile AppleALC.

 

I'm using a Gigabyte H370M DS3H mainboard with an ALC887 codec and layout 2.

Edited by Reezy
Link to comment
Share on other sites

On 1/11/2020 at 10:13 PM, Pavo said:

Also when I connect the Mic to the front Mic jack it turns to Line in instead of Headphone.

 

Headphone is output (see Output SwitchMode)

Output:
internal speaker <---> headphone

Input:
internal Mic <---> LineIn is correct

 

 

Edit:

 

hello @vandroiy2012

 

Did you forget my codec's in the new release?

 

 

and

 

 

 

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

On 1/13/2020 at 4:14 PM, MacPeet said:

 

Headphone is output (see Output SwitchMode)

Output:
internal speaker <---> headphone

Input:
internal Mic <---> LineIn is correct

 

 

Edit:

 

hello @vandroiy2012

 

Did you forget my codec's in the new release?

 

 

 

 

@ MacPeet .....

 

working on Apple ALC edits for ALC 280 .

Your Dell T20 patch is very close most things working 

but no internal speaker out - need to add EAPD to node 14

can you take a look at the attached....long time since I patched xml platform, layout.

is it necessary to disable unused pin complex ?

better to modify your patch or begin with new ?

 

new codec verb-jan 20.rtf

Link to comment
Share on other sites

Hi @MacPeet, A while ago I wrote you about my issue with the headphone jack my audio is cx8200 and you provided me with the SSDT-CX8200.aml which should solve the problem (the problem is that external audio output is working but external input i.e mic doesn't ) long story short that fixes the issue but causes the pc to restart randomly so I deleted the file. Recently I noticed that the contents of the SSDT-CX8200.aml is very similar with a portion of another .aml file in my clover and I think maybe this is causing the bootloop. So I thought is it possible to replace the part that is in my file wi the one of ssdt-cx8200 and try to use that? if so can you please help with that. I'm attaching the two files as well as the portions of the code between the two files that I find similar. 

 

Thanks in advance. 

SSDT-CX8200.aml

SSDT-4x0G4k.aml

Code comparison.docx

Link to comment
Share on other sites

On 1/19/2020 at 7:35 PM, Úll Mac said:

@ MacPeet .....

 

working on Apple ALC edits for ALC 280 .

Your Dell T20 patch is very close most things working 

but no internal speaker out - need to add EAPD to node 14

can you take a look at the attached....long time since I patched xml platform, layout.

is it necessary to disable unused pin complex ?

better to modify your patch or begin with new ?

 

new codec verb-jan 20.rtf

 

Internal speaker in the desktop computer, who needs that? Node 14 is deleted. Who needs these mono speakers?
The green connector at the back is for boxes and audio!!!!!!!¿¿¿

 

DellT20.png.bafaf8ca71542f23e53aae0b2ec8c73a.png

 

id13.png.443470a2e51fd2933aa5bda4daae21cf.png

 

id15.png.5e0ebb7e27bfeb9464d94c2feda8a80a.png


If you need node 14, you have to create a new codec!!! 

 

Link to comment
Share on other sites

Strange I just found by change that the mobo has ALC662 V3 which MacPeet jas added already on Layout ID 16. Whet else coould be wrong. I added alcid=16 to bootloader clover. It seems to run AppleALC since all is there in ioreg except that under codec it is empty. Linux CodecDump is attached. Computer is Lenovo S30. this is the machine:

 

linux driver

https://github.com/tiwai/hda-emu/blob/master/codecs/canonical/alc662-rev3-lenovo-435131z-ccert-201402-14671

 

Does this look OK?

 

Quote

AUDIO INFO:
---------------------------------------------------------------------------------------------
AppleHDA.kext is Vanilla:
  140    0 0xffffff7f8225a000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (283.15) F266EB6A-29C1-369A-9391-28536E347750 <139 132 90 13 8 7 6 5 3 1>
---------------------------------------------------------------------------------------------
AppleALC.kext:
   47    0 0xffffff7f85d6d000 0x129000   0x129000   as.vit9696.AppleALC (1.4.6) 52976FA7-464B-3B2A-8AB3-C1ADCC08BB5E <42 13 8 6 5 3 2 1>
Lilu.kext:
   42    8 0xffffff7f85c6d000 0x7c000    0x7c000    as.vit9696.Lilu (1.4.1) 8B1E83AE-1626-37DD-8597-290757D1B2C4 <8 6 5 3 2 1>
---------------------------------------------------------------------------------------------
CodecCommander.kext: Not present
---------------------------------------------------------------------------------------------
VoodooHDA.kext: Not present
HDAdisabler.kext: Not present
---------------------------------------------------------------------------------------------
----- codec name not found
----- Layout_ID= 7
----- Layout_ID_Hex= 07
      "PinConfigurations" = <>
      "device-id" = <201d0000>

 

 

 

 

image.thumb.png.593213c77f92fa57976114e09b95ed4f.png

 

image.thumb.png.be499d78dd9ad19071fd39d155ede9b9.png

CodecDump.zip

 

 

Edited by xAyiDe
Link to comment
Share on other sites

On 1/20/2020 at 8:21 PM, jonny33 said:

Hi @MacPeet, A while ago I wrote you about my issue with the headphone jack my audio is cx8200 and you provided me with the SSDT-CX8200.aml which should solve the problem (the problem is that external audio output is working but external input i.e mic doesn't ) long story short that fixes the issue but causes the pc to restart randomly so I deleted the file. Recently I noticed that the contents of the SSDT-CX8200.aml is very similar with a portion of another .aml file in my clover and I think maybe this is causing the bootloop. So I thought is it possible to replace the part that is in my file wi the one of ssdt-cx8200 and try to use that? if so can you please help with that. I'm attaching the two files as well as the portions of the code between the two files that I find similar. 

 

Thanks in advance. 

SSDT-CX8200.aml

SSDT-4x0G4k.aml

Code comparison.docx

 

Sorry, no idea! I do not understand anything.


I don't work with CodecCommander, so I can't give any help regarding SSDT-CX8200.aml and SSDT-4x0G4k.aml.


Both tells me nothing. 

Link to comment
Share on other sites

1 hour ago, MacPeet said:

@xAyiDe

 

ALC662 Layout ID 16 is not mine !!!

AppleHDA is native / real?

try this, trial codec according to Dump LayoutID 14 (Hex 0E) / alcid=14:

 

trial1_alc662_LenovoS30_layoutID14.zip

 

 

Hello MacPeet sorry for the confusion about ID 16 and 15. I just remembered 15 should have been a match here and that you made it but I somehow lost the layout ID while writing. I read through this thread and remembered you. I tried the above Lenovo S30 trial Layout ID 14. Thing is nothing changes. Do you think this could be due to the fact that 1d20 is used in Mac Pro 6,1 which is the profile I am using on the hack? Because 1D20 is X79/C602 chipset Intel Audio but I guess Mac uses 889 or so and this Lenovo uses codec 662 (which seems to be very usual for Lenovo btw). So Mac Pro 6,1 maces Macos confused and it cannot attach the usual way because it expects another codec than 662? Maybe if I fakeID the 1D20 to 1C20 which does not exist in Mac Pro 6,1 and then use 1C20 with layout ID and codec for 662? Sorry for the long "just thinking". Anyhow I captured the logs and seems OK, but still no devices in soundpref and AppleHDACodec is not attached to HDEF in ioreg... I actualy had this working with VooDooHDA autumn -19 but I lost the config and now I cannot find a single VooDooHDA which makes it work again. Tried editing the device ID and IOPCIPrimaryMatch and such but to no avail. This seems to be the same problem about but with another codec

 

https://forums.unraid.net/topic/50191-video-guide-how-to-install-macos-mojave-or-high-sierra-as-a-vm/page/55/

 

 

admin@MacPro / %  cat /System/Library/Extensions/AppleHDA.kext/* | md5

cat: /System/Library/Extensions/AppleHDA.kext/Contents: Is a directory

d41d8cd98f00b204e9800998ecf8427e

 

This is the MD5 HASH of my AppleHDA.kext for 10.15.2

 

 

admin@MacPro ~ % codesign --verify -vvvv /System/Library/Extensions/AppleHDA.kext

--prepared:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/IOHDAFamily.kext

--validated:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/IOHDAFamily.kext

--prepared:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle

--validated:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle

--prepared:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext

--validated:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext

--prepared:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleMikeyDriver.kext

--validated:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleMikeyDriver.kext

--prepared:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext

--validated:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext

--prepared:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/DspFuncLib.kext

--validated:/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/DspFuncLib.kext

/System/Library/Extensions/AppleHDA.kext: valid on disk

/System/Library/Extensions/AppleHDA.kext: satisfies its Designated Requirement

 

 

 

2020-01-24 19:01:33.300510+0100  localhost kernel[0]: (kernel) Lilu     iokit: @ (DBG) getOSData vendor-id has 8086 value

2020-01-24 19:01:33.311590+0100  localhost kernel[0]: (kernel) Lilu     iokit: @ (DBG) getOSData class-code has 40300 value

2020-01-24 19:01:33.322761+0100  localhost kernel[0]: (kernel) Lilu       dev: @ (DBG) found pci device HDEF 0x8086 0x40300

2020-01-24 19:01:33.333902+0100  localhost kernel[0]: (kernel) Lilu       dev: @ (DBG) found HDEF device HDEF

 

2020-01-24 19:01:34.481247+0100  localhost kernel[0]: (kernel) AppleALC     iokit: @ (DBG) getOSData vendor-id has 8086 value

2020-01-24 19:01:34.491409+0100  localhost kernel[0]: (kernel) AppleALC     iokit: @ (DBG) getOSData device-id has 1D20 value

2020-01-24 19:01:34.501489+0100  localhost kernel[0]: (kernel) AppleALC     iokit: @ (DBG) getOSData revision-id has 5 value

2020-01-24 19:01:34.511495+0100  localhost kernel[0]: (kernel) AppleALC     iokit: @ (DBG) getOSData alc-layout-id has E value

2020-01-24 19:01:34.521554+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) found 2 audio controllers

2020-01-24 19:01:34.531305+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) validating 0 controller 1002:AAF8:0

2020-01-24 19:01:34.541301+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 0 mod 1002:AAC8

2020-01-24 19:01:34.551128+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 1 mod 1002:AAE8

2020-01-24 19:01:34.560879+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 2 mod 1002:AB08

2020-01-24 19:01:34.570593+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 3 mod 1022:1457

2020-01-24 19:01:34.580275+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 4 mod 1022:1487

2020-01-24 19:01:34.589898+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 5 mod 1022:15E3

2020-01-24 19:01:34.599454+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 6 mod 8086:C0C

2020-01-24 19:01:34.608919+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 7 mod 8086:F04

2020-01-24 19:01:34.618340+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 8 mod 8086:8CA0

2020-01-24 19:01:34.627724+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 9 mod 8086:8D20

2020-01-24 19:01:34.637033+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 10 mod 8086:8D21

2020-01-24 19:01:34.646351+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 11 mod 8086:9DC8

2020-01-24 19:01:34.655629+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 12 mod 8086:A171

2020-01-24 19:01:34.664877+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 13 mod 8086:A2F0

2020-01-24 19:01:34.674062+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 14 mod 8086:A348

2020-01-24 19:01:34.683186+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 15 mod 10DE:E0F

2020-01-24 19:01:34.692224+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 16 mod 10DE:FB0

2020-01-24 19:01:34.701218+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 17 mod 10DE:FB8

2020-01-24 19:01:34.710138+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 18 mod 10DE:FB9

2020-01-24 19:01:34.718992+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 19 mod 10DE:FBA

2020-01-24 19:01:34.727806+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 20 mod 10DE:FBB

2020-01-24 19:01:34.736551+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 21 mod 10DE:FBC

2020-01-24 19:01:34.745231+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 22 mod 10DE:10EF

2020-01-24 19:01:34.753904+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 23 mod 10DE:10F0

2020-01-24 19:01:34.762502+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 24 mod 10DE:10F1

2020-01-24 19:01:34.771044+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 25 mod 8086:2C8

2020-01-24 19:01:34.779502+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) validating 1 controller 8086:1D20:5

2020-01-24 19:01:34.788158+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 0 mod 1002:AAC8

2020-01-24 19:01:34.796611+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 1 mod 1002:AAE8

2020-01-24 19:01:34.805026+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 2 mod 1002:AB08

2020-01-24 19:01:34.813407+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 3 mod 1022:1457

2020-01-24 19:01:34.821731+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 4 mod 1022:1487

2020-01-24 19:01:34.829990+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 5 mod 1022:15E3

2020-01-24 19:01:34.838193+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 6 mod 8086:C0C

2020-01-24 19:01:34.846340+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 7 mod 8086:F04

2020-01-24 19:01:34.854417+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 8 mod 8086:8CA0

2020-01-24 19:01:34.862465+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 9 mod 8086:8D20

2020-01-24 19:01:34.870441+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 10 mod 8086:8D21

2020-01-24 19:01:34.878388+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 11 mod 8086:9DC8

2020-01-24 19:01:34.886265+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 12 mod 8086:A171

2020-01-24 19:01:34.894071+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 13 mod 8086:A2F0

2020-01-24 19:01:34.901811+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 14 mod 8086:A348

2020-01-24 19:01:34.909475+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 15 mod 10DE:E0F

2020-01-24 19:01:34.917045+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 16 mod 10DE:FB0

2020-01-24 19:01:34.924537+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 17 mod 10DE:FB8

2020-01-24 19:01:34.932014+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 18 mod 10DE:FB9

2020-01-24 19:01:34.939446+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 19 mod 10DE:FBA

2020-01-24 19:01:34.946809+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 20 mod 10DE:FBB

2020-01-24 19:01:34.954132+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 21 mod 10DE:FBC

2020-01-24 19:01:34.961419+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 22 mod 10DE:10EF

2020-01-24 19:01:34.968671+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 23 mod 10DE:10F0

2020-01-24 19:01:34.975861+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 24 mod 10DE:10F1

2020-01-24 19:01:34.982990+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) comparing to 25 mod 8086:2C8

2020-01-24 19:01:34.990065+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) missing ControllerModInfo for 0 controller

2020-01-24 19:01:34.997510+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) missing ControllerModInfo for 1 controller

2020-01-24 19:01:35.006654+0100  localhost kernel[0]: (kernel) AppleALC       alc: @ (DBG) AppleGFXHDA probe for HDAU

2020-01-24 19:01:35.052755+0100  localhost kernel[0]: (kernel) Lilu   patcher: @ (DBG) invoked at kext loading/unloading

 

 

Edited by xAyiDe
Link to comment
Share on other sites

On 1/25/2020 at 9:00 AM, MacPeet said:

Have the IRQ fixes been made? (FixIPIC, FixTMR, FixRTC ...)
Terminal - kextstat - Are AppleHPET, AppleLPC and SMBusController loaded?

 

Yes all these tricks are in place. Actually I have been at this problem the whole 12 hours of yesterday and I solved it!!

I upgraded BIOS to no avail. I downgraded again to not have the performance impacting CVE for spectre meltdown.

 

Then I went through all BIOS settings took around 4-5 hours to find the culprit.

 

So the issue appears when "Above 4G decoding" is enabled. If this is enabled VoodooHDA, AppleALC, native AppleHDA patching nothing will make the sound work. As soon as that option is disabled all of them work.

 

Have anyone here heard about this "Above 4G decoding" doing this?

 

So I want to say a big thanks to you MacPeet for helping me with this issue!!! All the best to you.

 

 

More on this option

https://support.lenovo.com/se/sv/solutions/HT078087

 

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

Hey, I recently noticed that my headphone output is no longer working. Internal speakers and microphone show up, but the output doesn't switch to headphones when I plug in the 3.5mm headphone jack. I'm using layout-id 33, but the original 12 does not work either. Using the latest AppleALC and Lilu/Whatevergreen kexts, all loaded correctly. Any ideas what might be causing this? It used to work fine.

 

 

Screen Shot 2020-01-26 at 22.44.14.png

Screen Shot 2020-01-26 at 22.45.12.png

config.plist

Edited by InconspicuousDuck
Link to comment
Share on other sites

4 hours ago, InconspicuousDuck said:

Hey, I recently noticed that my headphone output is no longer working. Internal speakers and microphone show up, but the output doesn't switch to headphones when I plug in the 3.5mm headphone jack. I'm using layout-id 33, but the original 12 does not work either. Using the latest AppleALC and Lilu/Whatevergreen kexts, all loaded correctly. Any ideas what might be causing this? It used to work fine.

 

 

Screen Shot 2020-01-26 at 22.44.14.png

Screen Shot 2020-01-26 at 22.45.12.png

config.plist

Revert back to old Lilu and AppleALC to verify. Happened to me once that AppleALC update caused problems.

Link to comment
Share on other sites

@vandroiy2012 

 

I have some questions:

 

1. Is there a ResetHDA option on AppleALC or OpenCore as it is on Clover.

My audio codec works perfect after wake from sleep, but on cold boot if i plug headphones i get static noise, if i put laptop to sleep and wake it, everything works perfect after.

I need to reset it on boot, is there such an option ?

 

2. i have a docking station on my Lenovo ThinkPad X240, laptop does have a combo jack.

 

So without Dock i have the following:

Speakers and Internal Mic

Headphones and Line-In with the combojack

 

With Dock i have 3 inputs and 3 outputs

+ Dock combo Jack: Lineout and LineIn

 

The problem is that if i specify both as LineIn (two input sources of both laptopJack and DockJack, only one of the LineIn will work (the one on the Dock), plugging headsets on Laptop Jack will show LineIn but no audio input.

 

My question is, what is another working Input name/source except Mic and LineIn that can be used and work in this case.

For example Internal Speakers as you would expect, Headphones on LaptopJack and i choosed LineOut on DockJack for outputs.

What would be a third possible name for inputs: Internal Mic, LineIn and i need the third one.

 

The reason is that i want to have complete auto switch functionality wherever i plug headsets. (without having to right click sound icon on menu bar and select input source).

 

What other Audio Input name can i use and if so what is the correct way to write it on layoutxx.xml and pinconfig name.

 

Thanks

Edited by Sniki
Link to comment
Share on other sites

Audio Not Working with AppleAlc

i'm trying to inject layout 3,12 DSDT and Clover but not working

Also trying to Patch AppleHDA still not fixed

 

Laptop Model: HP 242 G1

Audio Codec: IDT 92HD99BXX

OS: macOS Catalina

Processor: Core I5 3230M 3rd Gen

Chipset: HM77

 

Screen Shot 2020-01-31 at 1.19.24 PM.png

Edited by mashuk12
Link to comment
Share on other sites

HI , i need help in adding my audio codec info to my audio device for my lappy .. find attached the codec info extracted via clover f8 key, can anyone help me in what to do ? waiting any sooner reply , thank you

HdaCodec (Realtek ALC255).txt

HdaCodec#0 (Realtek ALC255).bin

HdaCodec#0 (Realtek ALC255).txt

HdaCodec#1 (Realtek ALC255).bin

HdaCodec#1 (Realtek ALC255).txt

HdaCodec#2 (Intel Skylake HDMI).bin

HdaCodec#2 (Intel Skylake HDMI).txt

Link to comment
Share on other sites

2 minutes ago, headkaze said:

Have you already tried the existing Layout ID's for ALC255 in AppleALC?

ALC255.png

Thank you for the reply , i tried all the layouts , all made a distortion in the sound or only one speaker works , it has subwoofer sound but i get only analog sound on one speaker , also when i plug the headphones , i get only one speaker working , so i dumped the audio device as attached , hope to get it working properly, if you or any one can help me , i appreciate it so it can be added to applealc repo

Link to comment
Share on other sites

1 hour ago, PC IT said:

Thank you for the reply , i tried all the layouts , all made a distortion in the sound or only one speaker works , it has subwoofer sound but i get only analog sound on one speaker , also when i plug the headphones , i get only one speaker working , so i dumped the audio device as attached , hope to get it working properly, if you or any one can help me , i appreciate it so it can be added to applealc repo

Unfortunately it's not really something the average person can do right now.

 

The general process goes like this:

1. Download the source code to AppleALC

2. Run Pin Configurator and File->Open... and select your dump ie. HdaCodec (Realtek ALC255).txt

3. Select Patch->Verb Sanitize

4. Select File->Export->PinConfigs.kext and browse to the AppleALC-master/Resources/PinConfigs.kext file

5. Edit the newly added entry for your Layout ID in AppleALC-master/Resources/PinConfigs.kext/Contents/Info.plist file (defaults may be okay)

ie.

   - AFGLowPowerState

   - WakeConfigData

   - WakeVerbReinit

6. Add a Platforms.xml file*

7. Recompile AppleALC and test the new Layout ID

 

* I didn't finish implementing the Platforms.xml export feature in Pin Configurator. @insanelyDeepak said he was going to have a look at finishing it off at some point. If anyone else wants to give it a try the method is called createPlatformsXml() in HdaCodec.m.

 

There are other things that need to be done to make the exporting process more automated but currently it does require some expertise to do it. So for now you probably need someone here to help you or by all means give it a try yourself.

ALC255_.png

Edited by headkaze
Link to comment
Share on other sites

40 minutes ago, headkaze said:

Unfortunately it's not really something the average person can do right now.

 

The general process goes like this:

1. Download the source code to AppleALC

2. Run Pin Configurator and File->Open... and select your dump ie. HdaCodec (Realtek ALC255).txt

3. Select Patch->Verb Sanitize

4. Select File->Export->PinConfigs.kext and browse to the AppleALC-master/Resources/PinConfigs.kext file

5. Edit the newly added entry for your Layout ID in AppleALC-master/Resources/PinConfigs.kext/Contents/Info.plist file (defaults may be okay)

ie.

   - AFGLowPowerState

   - WakeConfigData

   - WakeVerbReinit

6. Add a Platforms.xml file*

7. Recompile AppleALC and test the new Layout ID

 

* I didn't finish implementing the Platforms.xml export feature in Pin Configurator. @insanelyDeepak said he was going to have a look at finishing it off at some point. If anyone else wants to give it a try the method is called createPlatformsXml() in HdaCodec.m.

 

There are other things that need to be done to make the exporting process more automated but currently it does require some expertise to do it. So for now you probably need someone here to help you or by all means give it a try yourself.

ALC255_.png

Thank you very much for the reply , i am trying to add the pin configs to the info plist file, and still i dont think it is working as it should , i hope my codec to be added by someone for the new release of applealc kext , anyone who can help me is welcomed , so we can add new audio device to the excellent audio kext , thank you very much, i will try by my self too, thanks you again...

Link to comment
Share on other sites

×
×
  • Create New...