Contribute
Register

AppleALC High CPU Temp & System Usage

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
2,535
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
no matter which layout-id I use, I cant seem to get the headphone jack working, the headphones are detected but no sound comes out. By trying different layout-ids I got the microphone working too.
@Oscarmakestuff,

Is the Headphone and Microphone using the same 3.5mm socket ? .... if so then you have an Audio Combo Jack.

I have a ALC295 codec on my HP Spectre X360 laptop and it has an Audio Combo Jack for the headphone and microphone, so far it's been impossible to get both working at the same time.

User MacPeet (author of the guide i linked you to) has had some luck getting it to work on some laptops but not others (myself included) .... it is a problem that is still not very well understood.

My only suggestion would be to try contacting MacPeet on the official AppleALC help thread and see if he can help you out.

Cheers
Jay
 
Joined
Aug 25, 2015
Messages
213
Motherboard
DELL Inspiron 7370
CPU
i7-8550U
Graphics
UHD620
Mac
iMac, MacBook Air
Mobile Phone
Android, iOS
@Oscarmakestuff,

Is the Headphone and Microphone using the same 3.5mm socket ? .... if so then you have an Audio Combo Jack.

I have a ALC295 codec on my HP Spectre X360 laptop and it has an Audio Combo Jack for the headphone and microphone, so far it's been impossible to get both working at the same time.

User MacPeet (author of the guide i linked you to) has had some luck getting it to work on some laptops but not others (myself included) .... it is a problem that is still not very well understood.

My only suggestion would be to try contacting MacPeet on the official AppleALC help thread and see if he can help you out.

Cheers
Jay
Besides getting both to work, my headphone gets cracky noise when the volume is higher than 1/3. Is there a way to fix that?
 

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
2,535
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
Besides getting both to work, my headphone gets cracky noise when the volume is higher than 1/3. Is there a way to fix that?
@twsps,

Usually caused by some invalid values for the headphone amplifier in the platforms.xml or layout.xml files ...
Editing those file scan get pretty involved ....

MacPeet's guide has some info on the subject ... but it is not complete guide ...

The recognised bible on AppleHDA patching is the guide written by @EMlyDinEsH which can be found here
Although it was written many years ago it's still the most complete guide on AppleHDA patching, it written for direct (static) AppleHDA patching but everything in there applies to AppleALC .. you just modify the appropriate files for the layout your using in AppleALC.

Good Luck
Cheers
Jay
 
Joined
Jun 25, 2018
Messages
9
CPU
I7-8550U
Graphics
Intel UHD 620
@Oscarmakestuff,

Is the Headphone and Microphone using the same 3.5mm socket ? .... if so then you have an Audio Combo Jack.

I have a ALC295 codec on my HP Spectre X360 laptop and it has an Audio Combo Jack for the headphone and microphone, so far it's been impossible to get both working at the same time.

User MacPeet (author of the guide i linked you to) has had some luck getting it to work on some laptops but not others (myself included) .... it is a problem that is still not very well understood.

My only suggestion would be to try contacting MacPeet on the official AppleALC help thread and see if he can help you out.

Cheers
Jay
Hi, it doesn't seem like the mic and the headphones are connected to the same socket, but, how can I check that for sure?

Attached are my pinconfig screenshot and the codec_dump_dec.txt.svg
Screen Shot 2018-12-07 at 2.33.55 PM.png
Screen Shot 2018-12-07 at 2.27.52 PM.png
 

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
2,535
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
Hi, it doesn't seem like the mic and the headphones are connected to the same socket, but, how can I check that for sure?
@Oscarmakestuff,

Does your laptop have separate 3.5mm sockets for headphones and external microphone ?

If you only have a single 3.5mm socket then the chances are you have a Combo Audio Jack ... also sometimes known as a switched jack as when you plug in a headset (headphone + microphone which uses a combined single 4pin 3.5mm jack) the audio output is sent to headphones and the microphone is switched to the external headset microphone.

It is this port/line switching that is the issue .... and it's a very specialised area of MacOS hacking, i've only scratched surface of it by using the Pin Configurator app to fix some parameters. I am not an expert on it ... your best place for help and assistance is on the official AppleALC support thread as i mentioned in post #61.

Cheers
Jay
 
Joined
Aug 5, 2018
Messages
413
Motherboard
Dell 5570 (clover)
CPU
Intel i5-8250U
Graphics
Intel UHD 620 , 1920x1080
WOW thanks @jaymonkey, I was able to get audio working without the processor high temp problem by following your instructions! THANKS A BUNCH!

However, no matter which layout-id I use, I cant seem to get the headphone jack working, the headphones are detected but no sound comes out. By trying different layout-ids I got the microphone working too.

I suspect the Platforms.xml would have to get correctly configured too, can you point me to a guide on how to add my own layout-id and Platforms.xml to AppleALC, please?

Also everyone with the high temp problem, Here's my modified AppleALC for you to try (I added the corrected pin config to all the 256 layout entries to check different layout ids)
Still works only with layout id 11.
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,304
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
iMac, MacBook Pro, Mac mini
Classic Mac
512K, LC, Power Mac
Mobile Phone
iOS
I was able to get audio working without the processor high temp problem by following your instructions!
Verified with what, before and after?
What exactly did you change; codec/layout, before and after?
Here's my modified AppleALC for you to try (I added the corrected pin config to all the 256 layout entries to check different layout ids)
Not necessary.
 
Joined
Jun 25, 2018
Messages
9
CPU
I7-8550U
Graphics
Intel UHD 620
Verified with what, before and after?
What exactly did you change; codec/layout, before and after?

Not necessary.
Well essentially, yes, I checked my CPU frequency using Intel Power Gadget before and after modifying the kext. Now It's at 1,3Ghz Idle, before it was always at 3,7Ghz. My internal microphone didn't work either no matter if I used layout 11 or not.

I changed only the codec, not the layout. I'm in the process of modifying that to make the headphones output work at the same time as the internal microphone, right now the output switches when I connect headphones but no

Wether or not my modified AppleALC was necessary can be a matter of opinion, could be useful for someone.
 

toleda

Moderator
Joined
May 20, 2010
Messages
24,304
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
iMac, MacBook Pro, Mac mini
Classic Mac
512K, LC, Power Mac
Mobile Phone
iOS
Joined
Jun 25, 2018
Messages
9
CPU
I7-8550U
Graphics
Intel UHD 620
Codec, from what to what? What layout?

Not clear what you fixed and why it applies to every pin config, explanation required. As well, fix is useless when AppleALC is updated.
OK so I just added the data from my codec dump from a linux live CD to pin configurator and modified the info.plist from AppleALC 1.3.3 to add my patched pin config data under layout 11 of ALC295. (if I use any other layout like 13,28 or 56, I lose internal mic).

I see why it was unnecessary to upload the modified appleALC as it may not apply to everyone. I'll try to make my headphones and internal mic work together, and then have my changes added to the official project then.
 
Top