the-darkvoid / XPS9360-macOS

macOS Catalina on Dell XPS 9360
359 stars 86 forks source link

headphones not working when resuming from sleep #68

Closed SakuraTime closed 5 years ago

SakuraTime commented 6 years ago

HDA patched, headphones don't work when resuming from sleep, but when I pull out the headphones, the internal speakers works fine.

OS: 64bit Mac OS X 10.13.6 17G65 Kernel: x86_64 Darwin 17.7.0 CPU: Intel Core i5-8250U @ 1.60GHz GPU: Intel UHD Graphics 620

Thank you.

ver2go commented 6 years ago

Sorry to keep me too'ing. I've been trying to characterize several sleep issues before reporting. This is one of them.

Other

Killing coreaudio does not "wake" it back up, but will eventually work again.

SakuraTime commented 6 years ago

@ver2go bluetooth works fine on my machine.

ElieMyIdea commented 6 years ago

Same problem for me

28spawn commented 6 years ago

another one here, no audio from headphone jack after sleep, external speakers works just fine, I'm using macOS 13.6 and with patched audio files.

suwatpet commented 6 years ago

I'm facing the same issue. I try to change to use AppleALC per Darkvoid recommended, but didn't have any success. I've deleted AppleHDA_ALC256.kext and CodecCommander.kext from L/E and change audio layout ID to 56 in SSDT-HDEF.aml and put AppleALC.kext in kexts/other. Still no sound. Any one please guide me how to make AppleALC works.

the-darkvoid commented 6 years ago

@suwatpet You still need CodecCommander.kext, this is actually responsible for re-enabling the sound after sleep.

Do you get sound if you open the sound preferences and switch between the input and output options available?

suwatpet commented 6 years ago

@the-darkvoid Thank you so much for your contribution in this community. I can make my XPS9360 be a Hackintosh and always update files that you've made for us. I am very appreciated to have macOS in my laptop. I've done as your advice, this time I've deleted only AppleHDA_ALC256.kext and put put AppleALC.kext in kexts/other, edit audio layout ID to 56 in SSDT-HDEF.dsl and compile to SSDT-HDEF.aml in Clover/acpi. I've also cleared kextcache, restart 3 times. Nothing happened. There is still no input/output devices in Sound Preferences. I've even change audio layout-ID to 56 in Clover Devices configuration but didn't have any success. Did I miss something else?

suwatpet commented 6 years ago

@the-darkvoid I've read this thread from tonymacx86.com and can fix AppleALC problem,it works now. May be someone have the same problem like mine and it works in Mojave also. Thank you anyway. https://www.tonymacx86.com/threads/readme-common-problems-changes-fixes-on-mojave.255823/page-4

soto2080 commented 6 years ago

@SakuraTime I had pull a request to @the-darkvoid , it should fix audio node when needed, that works fine on my friend's machine and mine. But restriction is that, your audio device must persistent between starting sleep and resuming from it. That is when you never (un)plug headphone when sleeping.

dkkyeremateng commented 5 years ago

@SakuraTime can you please share your working clover folder? I have the same specs as yours but I'm unable to get Mojave to working.

suwatpet commented 5 years ago

I used files that downloaded from the darkvoid but before update clover partion I updated all files in usb drive and boot from usb first.If it worked I will update to the hard drive. By the way in my experience I also had to update clover bootloader to a newer version if it didn't work ( not forget to update to usb drive and try before doing on your main drive).

Caution : when updated the darkvoid's files the better way you have to delete all folders and files in clover partition to make sure only the updated files being on your drive.

Hope this will help you. I'm sorry that I'd already sell my laptop and buy MacBook pro 2018 (because baterry's life is only 6 hrs.) ,so I didn't have my version of files that works anymore.

On Wed, Jan 2, 2019, 10:30 AM Daniel Kofi Kyeremateng < notifications@github.com wrote:

@SakuraTime https://github.com/SakuraTime can you please share your working clover folder? I have the same specs as yours but I'm unable to get Mojave to working.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/the-darkvoid/XPS9360-macOS/issues/68#issuecomment-450781773, or mute the thread https://github.com/notifications/unsubscribe-auth/Aoy21IpbETJwX0IaKShwIBDvU9xVC0c5ks5u_CfBgaJpZM4V-EI2 .

dkkyeremateng commented 5 years ago

I used files that downloaded from the darkvoid but before update clover partion I updated all files in usb drive and boot from usb first.If it worked I will update to the hard drive. By the way in my experience I also had to update clover bootloader to a newer version if it didn't work ( not forget to update to usb drive and try before doing on your main drive). Caution : when updated the darkvoid's files the better way you have to delete all folders and files in clover partition to make sure only the updated files being on your drive. Hope this will help you. I'm sorry that I'd already sell my laptop and buy MacBook pro 2018 (because baterry's life is only 6 hrs.) ,so I didn't have my version of files that works anymore. On Wed, Jan 2, 2019, 10:30 AM Daniel Kofi Kyeremateng < @.*** wrote: @SakuraTime https://github.com/SakuraTime can you please share your working clover folder? I have the same specs as yours but I'm unable to get Mojave to working. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#68 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/Aoy21IpbETJwX0IaKShwIBDvU9xVC0c5ks5u_CfBgaJpZM4V-EI2 .

Thank you...

the-darkvoid commented 5 years ago

See issue #109, I believe that should resolve your issue as well.