Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

2 hours ago, steve3d said:

@insanelyDeepak

thank you for the layout, I've tested all 1,2,5,7,11, and seems layout 1 has the right the jack number. but all of these layout are marked my  speaker as headphone. layout 2 missing line in, layout 5,7,11 no sound. and 5,7,11 says I have a internal microphone. that's not possible for a desktop computer.

 

Anyway, thanks!~

for desktop rear mic is know as internal mic and front Mic is Line ,  this is only way to make mic working otherwise it don't work in OSX 

 

you must try midi setup as per macpeet suggested

 

Edited by insanelyDeepak
Link to comment
Share on other sites

 

On 12/18/2018 at 11:19 PM, insanelyDeepak said:

it looks you don't have AppleALC ? you must use AppleALC kext in clover folder  then send results

I have installed AppleALC.kext in L/E folder. Do I need AppleALC.kext in clover folder as well. Kext log shows that it loads

 

Screen Shot 2018-12-20 at 10.24.47 AM.png

Link to comment
Share on other sites

 

6 minutes ago, newuser said:

 

I have installed AppleALC.kext in L/E folder. Do I need AppleALC.kext in clover folder as well. Kext log shows that it loads

 

Screen Shot 2018-12-20 at 10.24.47 AM.png

 

 

type in terminal and send  me output 

 

kextstat | grep -y hda 
kextstat | grep -y alc 

 

Edited by insanelyDeepak
Link to comment
Share on other sites

9 minutes ago, insanelyDeepak said:

 

 

 

type in terminal and send  me output 

 


kextstat | grep -y hda 
kextstat | grep -y alc 

 

Here you go.

Pauls-MBP:~ paul$ kextstat | grep -y hda 
  105    1 0xffffff7f82fef000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (281.52) 3D7ADFBB-A913-31F3-A713-32A20B7B2249 <5 4 3 1>
  106    0 0xffffff7f82ffe000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <105 104 49 12 7 6 5 4 3 1>
Pauls-MBP:~ paul$ kextstat | grep -y alc
   21    0 0xffffff7f81033000 0xe5000    0xe5000    as.vit9696.AppleALC (1.3.3) B60FCBAF-6BC2-36EF-A1E6-D5BE2863C35B <15 12 7 5 4 3 2 1>

 

Link to comment
Share on other sites

18 minutes ago, newuser said:

 

I have installed AppleALC.kext in L/E folder. Do I need AppleALC.kext in clover folder as well. Kext log shows that it loads

 

Screen Shot 2018-12-20 at 10.24.47 AM.png

 

All kext invalid signed on the picture !!!
Maybe rebuild cache with KextUtility2.6.6. !!!

Link to comment
Share on other sites

2 hours ago, newuser said:

Here you go.


Pauls-MBP:~ paul$ kextstat | grep -y hda 
  105    1 0xffffff7f82fef000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (281.52) 3D7ADFBB-A913-31F3-A713-32A20B7B2249 <5 4 3 1>
  106    0 0xffffff7f82ffe000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <105 104 49 12 7 6 5 4 3 1>
Pauls-MBP:~ paul$ kextstat | grep -y alc
   21    0 0xffffff7f81033000 0xe5000    0xe5000    as.vit9696.AppleALC (1.3.3) B60FCBAF-6BC2-36EF-A1E6-D5BE2863C35B <15 12 7 5 4 3 2 1>

 

if you see AppleHDA not loaded , are you using config changes made by me ?? 

 

2 hours ago, MacPeet said:

 

All kext invalid signed on the picture !!!
Maybe rebuild cache with KextUtility2.6.6. !!!

actually all are non-signed kext, thats why invalid signature , normal behaviour for hackintosh 

Link to comment
Share on other sites

1 hour ago, insanelyDeepak said:

if you see AppleHDA not loaded , are you using config changes made by me ?? 

 

actually all are non-signed kext, thats why invalid signature , normal behaviour for hackintosh 

I wasn't at that time. After loading your config.plist, HDA and ALC kext output is the same on High Sierra 10.13.6 and Mojave 10.14.2. 

Kext output from Mojave 10.14.2:

Pawels-MBP:~ pawel$ kextstat | grep -y hda 
  110    1 0xffffff7f8326e000 0xc000     0xc000     com.apple.iokit.IOHDAFamily (282.10) B553255E-87B3-3258-BE61-933DD039A18C <6 5 3 1>
  111    0 0xffffff7f8327d000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (282.10) 70256EC9-AF38-31BD-A3C5-9C0E30B64AA3 <110 98 51 13 8 7 6 5 3 1>
Pawels-MBP:~ pawel$ kextstat | grep -y alc
   22    0 0xffffff7f81190000 0xdf000    0xdf000    as.vit9696.AppleALC (1.3.3) B60FCBAF-6BC2-36EF-A1E6-D5BE2863C35B <16 13 8 6 5 3 2 1>

Why AppleHDA.kext won't load on both systems?

Edited by newuser
Link to comment
Share on other sites

9 hours ago, steve3d said:

seems layout 1 has the right the jack number. all of these layout are marked my  speaker as headphone

Front panel connector failure, pin detect is always set. Unplug front panel cable, restart to see Speakers.

9 hours ago, steve3d said:

layout 2 missing line in

Layout 2/5.1 is for motherboards with 3 audio jacks (2 in, 1 out). It repurposes the inputs to outputs to support 5.1 analog (0 in, 3 out). Internal Microphone is the pink front panel connector. Line in is gone, by design.

Link to comment
Share on other sites

4 hours ago, newuser said:

 Kext output from Mojave 10.14.2:

Why AppleHDA.kext won't load on both systems?

Mojave/AppleHDAController does not support motherboard audio controller, codec is not visible. Try RehabMan FakePCIID.

Edited by toleda
Link to comment
Share on other sites

13 hours ago, MacPeet said:

 

Try MIDI-Setup in Utilities !!!

 

of course I tried with midi setup, the max output rates displayed is 96k, I'll post a screenshot when I get home.

4 hours ago, toleda said:

Front panel connector failure, pin detect is always set. Unplug front panel cable, restart to see Speakers.

Layout 2/5.1 is for motherboards with 3 audio jacks (2 in, 1 out). It repurposes the inputs to outputs to support 5.1 analog (0 in, 3 out). Internal Microphone is the pink front panel connector. Line in is gone, by design.

 

 

I get it, but so far macpeet's layout is almost perfect for my board, his layout can automatically switch from speaker to headphone when I plug a headphone on front jack of my case.

 

and switch back to speaker when I pull out the headphone from front jack

Edited by steve3d
Link to comment
Share on other sites

10 hours ago, toleda said:

Working on a new codec and cannot get AppleALC to load platforms. Testing with a 1150 codec shows the same problem. Any reason why valid Platforms files do not load?

 

Working 1150:

681503020_ScreenShot2018-12-21at5_33_42PM.thumb.png.e6a4b9e837be4d7358bf319e5236ce22.png

1150-lilu-tso-y

 

 

Not working 1150:

1586341819_ScreenShot2018-12-21at5_34_52PM.thumb.png.bfa561af8f5222d995ad0e98cf28463f.png

Resources:1150.zip

1150-lilu-tso-n

 

I think you put wrong CodecID Decimal,, it should be 283904256 instead 283904256,0000000000000000


image.thumb.png.d2495035cb28472bff88118d074f6f55.png

Link to comment
Share on other sites

10 hours ago, Andres ZeroCross said:

 

I think you put wrong CodecID Decimal,, it should be 283904256 instead 283904256,0000000000000000

Thanks for looking into this.

Other suggestions?

 

Xcode/layout1 and 2.xml, no 000000000s:

116456372_ScreenShot2018-12-22at3_38_45PM.png.643faec8272a340386f8d6486e4ad3cf.png

 

Xcode/layout1 and 2.plist, no 000000000s:

2072143889_ScreenShot2018-12-22at3_27_56PM.png.ef58292b03c5e3e56798766ff5b9b9c9.png

 

Edited by toleda
Link to comment
Share on other sites

@ steve3d
I do not think so. Under Windows, this is realized by the special driver. I think AppleHDA does not support 192k on the onboard jack (not considered didital audio). Only the optical connection would be a possibility (digital audio).

Edited by MacPeet
Link to comment
Share on other sites

15 hours ago, TheRacerMaster said:

<integer> vs <real> perhaps?

That is the problem, thanks.

XCode/.plist shows Number for either <real> or <integer>

Xcode/10.14 changes the property when editing a large integer (CodecID) in a .plist file

Edited by toleda
Link to comment
Share on other sites

That is the problem, thanks.
XCode/.plist shows Number for either or
Xcode/10.14 changes the property when editing a large integer (CodecID) in a .plist file
I always use PlisEdit Pro.app to open Layout.xml and Platform.xml to make new resource for apple hda

Sent from my Mi Note 2 using Tapatalk

Link to comment
Share on other sites

It seems CX20632 is not in the AppleALC resources list, I’ve tried to add the codec to AppleALC following the link https://github.com/acidanthera/AppleALC/wiki/Adding-codec-support, but without luck. something is out of my knowledge and it is not as easy as the tutorial in the link. 

I have the codec dump from linux, and if anyone can help me add CX20632 to AppleALC?

codec_dump.zip

Link to comment
Share on other sites

2 hours ago, attend said:

It seems CX20632 is not in the AppleALC resources list, I’ve tried to add the codec to AppleALC following the link https://github.com/acidanthera/AppleALC/wiki/Adding-codec-support, but without luck. something is out of my knowledge and it is not as easy as the tutorial in the link. 

I have the codec dump from linux, and if anyone can help me add CX20632 to AppleALC?

codec_dump.zip


I can help you,, can you test it right now???

Link to comment
Share on other sites

5 hours ago, attend said:

It seems CX20632 is not in the AppleALC resources list, I’ve tried to add the codec to AppleALC following the link https://github.com/acidanthera/AppleALC/wiki/Adding-codec-support, but without luck. something is out of my knowledge and it is not as easy as the tutorial in the link. 

I have the codec dump from linux, and if anyone can help me add CX20632 to AppleALC?

codec_dump.zip

 

Try this, use LayoutID = 21

Post The IOREG after use this kexts

AppleALC.kext.zip

Link to comment
Share on other sites

×
×
  • Create New...