Contribute
Register

ALC668 no sound after reboot from windows 10

Status
Not open for further replies.
Joined
Jan 25, 2016
Messages
21
Motherboard
Razer Blade 15 Mid 2019
CPU
i7-9750h
Graphics
UHD 630 + RTX 2070
Hi,

I installed EI Capitan in my ASUS GL551JM. It has Realtek ALC668 audio chip and I patched the AppleHDA to make the speaker and headphone work. However, when I installed Realtek HD Driver in my Windows 10 and reboot to EI Capitan, no sound from the speaker (headphone working).
I tried to find the solutions. There are two ways to resolve the problem.
First is to remove the Realtek HD Audio Driver and use Windows Driver, but the windows driver has many bugs.
Second is to make a cold boot (shut down from windows and boot to ei capitan).
Is there a way to have speaker sound without removing Realtek Driver and cold boot?
(I have installed CodecCommander)

Thanks.
 
Hi,

I installed EI Capitan in my ASUS GL551JM. It has Realtek ALC668 audio chip and I patched the AppleHDA to make the speaker and headphone work. However, when I installed Realtek HD Driver in my Windows 10 and reboot to EI Capitan, no sound from the speaker (headphone working).
I tried to find the solutions. There are two ways to resolve the problem.
First is to remove the Realtek HD Audio Driver and use Windows Driver, but the windows driver has many bugs.
Second is to make a cold boot (shut down from windows and boot to ei capitan).
Is there a way to have speaker sound without removing Realtek Driver and cold boot?
(I have installed CodecCommander)

Thanks.

Try config.plist/Devices/Audio/ResetHDA=true.
 
Hi,
I tried your approach but it doesn't work.
I searched for the alike issues at Google, and I used ubuntu to check the hda-verb one by one. Finally I found where the problem from.
The Realtek Driver in Windows will do something with the HDA COEF and make it wrong(don't know why). After reboot from windows to other OS(Linux, OS X), due to the wrong COEF, the speaker has no sound.
The correct COEF for 0x07 register is 0x0f80, but the Realtek Driver will change it to 0x2f80.
To solve the problem I add this code in CodecCommander.

Code:
[COLOR=#0433FF][FONT=Menlo]<dict>[/FONT][/COLOR]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]Command[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<data>[/COLOR][/FONT]
[FONT=Menlo]                            AgUABw==[/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]</data>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]Comment[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<string>[/COLOR]0x20 SET_COEF_INDEX 0x07[COLOR=#0433ff]</string>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Init[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<true/>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Sleep[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<true/>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Wake[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<true/>[/COLOR][/FONT]
[COLOR=#0433FF][FONT=Menlo][COLOR=#000000]                        [/COLOR]</dict>[/FONT][/COLOR]
[FONT=Menlo]                        [COLOR=#0433ff]<dict>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]Command[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<data>[/COLOR][/FONT]
[FONT=Menlo]                            AgQPgA==[/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]</data>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]Comment[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<string>[/COLOR]0x20 SET_PROC_COEF 0x0F80[COLOR=#0433ff]</string>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Init[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<true/>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Sleep[COLOR=#0433ff]</key>[/COLOR][/FONT]
[COLOR=#0433FF][FONT=Menlo][COLOR=#000000]                            [/COLOR]<false/>[/FONT][/COLOR]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Wake[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<true/>[/COLOR][/FONT]
[COLOR=#0433FF][FONT=Menlo][COLOR=#000000]                        [/COLOR]</dict>[/FONT][/COLOR]
And now I have speaker working after warm boot from windows.
Thank you!
 
Hi,
I tried your approach but it doesn't work.
I searched for the alike issues at Google, and I used ubuntu to check the hda-verb one by one. Finally I found where the problem from.
The Realtek Driver in Windows will do something with the HDA COEF and make it wrong(don't know why). After reboot from windows to other OS(Linux, OS X), due to the wrong COEF, the speaker has no sound.
The correct COEF for 0x07 register is 0x0f80, but the Realtek Driver will change it to 0x2f80.
To solve the problem I add this code in CodecCommander.

Code:
[COLOR=#0433FF][FONT=Menlo]<dict>[/FONT][/COLOR]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]Command[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<data>[/COLOR][/FONT]
[FONT=Menlo]                            AgUABw==[/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]</data>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]Comment[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<string>[/COLOR]0x20 SET_COEF_INDEX 0x07[COLOR=#0433ff]</string>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Init[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<true/>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Sleep[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<true/>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Wake[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<true/>[/COLOR][/FONT]
[COLOR=#0433FF][FONT=Menlo][COLOR=#000000]                        [/COLOR]</dict>[/FONT][/COLOR]
[FONT=Menlo]                        [COLOR=#0433ff]<dict>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]Command[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<data>[/COLOR][/FONT]
[FONT=Menlo]                            AgQPgA==[/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]</data>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]Comment[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<string>[/COLOR]0x20 SET_PROC_COEF 0x0F80[COLOR=#0433ff]</string>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Init[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<true/>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Sleep[COLOR=#0433ff]</key>[/COLOR][/FONT]
[COLOR=#0433FF][FONT=Menlo][COLOR=#000000]                            [/COLOR]<false/>[/FONT][/COLOR]
[FONT=Menlo]                            [COLOR=#0433ff]<key>[/COLOR]On Wake[COLOR=#0433ff]</key>[/COLOR][/FONT]
[FONT=Menlo]                            [COLOR=#0433ff]<true/>[/COLOR][/FONT]
[COLOR=#0433FF][FONT=Menlo][COLOR=#000000]                        [/COLOR]</dict>[/FONT][/COLOR]
And now I have speaker working after warm boot from windows.
Thank you!

Note that you can do custom configurations for CodecCommander with ACPI. Refer to the SSDT-ALC283.dsl example.

It will make updates to CodecCommander easier for you.
 
I searched for the alike issues at Google, and I used ubuntu to check the hda-verb one by one. Finally I found where the problem from.
Could u tell me how you did this? Your code doesn't apply to my ALC295 and I wanna find out where my problem lies. Many thanks!
 
Last edited:
Could u tell me how you did this? Your code doesn't apply to my ALC295 and I wanna find out where my problem lies. Many thanks!

What issue are you trying to solve?

Note that questions regarding ALC295 in a thread clearly marked "ALC668" are obviously off-topic.
Open a separate thread for your issue.

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.

Also, please fix your profile as per FAQ.
 
Status
Not open for further replies.
Back
Top