-
Notifications
You must be signed in to change notification settings - Fork 32
Headphone jack issue #10
Comments
Hi there, I will see if I can reproduce your problem. I'll come back in a few hours |
I was able to reproduce your problem, but solved just by unpluging and pluging the headphone jack. Otherwise I get the same behaviour than you. Must be a problem with AppleALC.kext |
I tried unplug & re-plug but it was not working. Can you try plug the headphone in, sleep, unplug, wake, plug? Will it work? Someone said somewhere the state needs to be the same before and after sleep (plug before sleep, and still plug upon wake, or vice versa) would work fine. |
Because of macOS 11, I have migrated repository to the development releases of OpenCore and needed Acidanthera kexts. It is really bleeding edge now compared to other configs over the internet. Does this happen with AppleALC 1.5.1 ? If yes, try to downgrade to the lower version. Otherwise please try latest changes. You can also try to change layout-id from 86 ( Used for T480 since AppleALC 1.5.0 ) to more generic layout-id 11. I would like to publish new 4.0.0 release preview as soon as I compile latest itlwm, HeliPort and VoodooRMI and all reports would be really welcome. |
layout-id is defined in config.plist as a But that V there is definitively not correct, it should be in 4 byte HEX - 56000000 ( i think? )
Try replacing it in ProperTree with |
@EETagent |
Audio_Fix.zip
|
Is SSDT-AppleALC.aml really needed? With Sniki's changes definitively not. I do not think, that Rehabman version would be long-term compatible with the latest AppleALC versions. Also please test layout-id 11 and if that would not work too, then layout-id 18. |
Layout 11 is not good; the problem still exists. I am trying to stick with the official layout (86) for future reference and upgrade. This fixes my headphone problem, but I need to plug and replug if I switch to different audio output device after sleep. It is better than small volume and static noise that I previously had.
I saw the change log on it. However, I saw someone had the same issue, and RehabMan did recommended him to include the SSDT and see whether it would work or not. I like to include it in case of anything coming up because we are testing it right now. |
I am using the lastest Lilu and WEG kext, and I disabled the fix that I did. The issue is gone. It might be related to the sleep issue #20 . |
@tienhuynh5312 Please test latest few commits. I temporary removed HibernationFixup.kext to fix #20 and compiled latest Lilu, WEG, VirtualSMC, AppleALC, OpenCore and NoTouchID ( Brings Big Sur support, how come I didn't notice newer version of it? ). When I tested 3.5mm jack with headphones I did not hear any static noise. |
There's certainly a problem with our audio config. I'm on latest 4.0.0 release and sometimes I lost audio output spontaneously. I'm still trying to find how to reproduce this issue. It isn't critical but kind of anoying. It has an easy fix, I just need to open system preferences and select any INPUT device, which is kind of strange. As soon as I close system preferences I lost audio output. This is happening while using internal speakers. The other day I tried to use some headphones while having this issue and I got that it was changing that output too, making everything sound kinda strange. |
Lol this sounds like what I stated in the OP. I did experience this here and there. It is ghosting around. The problem wont happen if you dont ever open the sound pref pane. Once you open the sound setting pane, it will started to happen. |
Kinda like that, but not the same issue because my problem happens with internal speakers, the headphone jack issue is another one that happened to me once a couple of days ago. What I meant is that for some reason sometimes the audio decides to stop working with the internal speakers (and nothing else connected neither via Bluetooth or headphone jack) and won't recover until I open system preferences and do what you stated on the OP. A different problem, same solution |
That might be reason why I was unable to reproduce problem. I will try it again with audio settings opened |
Really weird, I use 3,5" jack rarely but I tested it intensively and did not encounter it. I use internal speakers pretty often though and problem is not there too. Do you use latest AppleALC and Lilu? |
I use 4.0.0 release kexts. It happens to me every now and then. I think it happens after leaving the computer to lock screen and then login in back. Is it a normal behaviour that my T480 never enters on sleep mode if I leave it with the lid open for lets say a couple of hours? |
Nope, check your power settings |
Just wanted to check if this issue still exist in |
I will test with this release, but with releasee 4.0 still happens. Do you restart your thinkpad very often? I've noticed that it happens when I keep mine without restarting. Then if you get up your T480 from a long sleep you'll trigger this issue. I use youtube a lot and I have videos running at the background very often, so it is pretty clear to me when the audio stops working. |
@tienhuynh5312 @EETagent This issue happens on the X1C6 too: tylernguyen/x1c6-hackintosh#75 This gives me some hope, the more people affected, the more attention we can get from acidanthera's group. |
@zombillano It doesn't seem to be a bug in AppleALC but rather incomplete/bugged codec-configs. So there are separate issues for both machines as they are using different codecs. But I may have learned enough tonight to port the proposed fix from the X1C6 over to the T480. I'll try if it shows to be stable. |
Notthebee has a X1C6 and he has the same issues as me. I'm looking forward for any fix on this issue. |
Yeah, the problems are probably similar, but in different, bad codecs. If the codec-configs are of bad quality, thats not really a bug in the appleALC-"core" |
At the end of this issue you can find instructions to fix the problem: tylernguyen/x1c6-hackintosh#75. I would appreciate if someone else would get their hands dirty as I probably wont come back to that topic in the near future. |
Reposting required steps by fewtarius here.
|
I will be trying to fix our issue this next weekend (I hope), since you were unable to reproduce the problem. I'll let you know how it goes. |
Hey, I've tried to do the fix and have a testbuild for you. As always: feedback welcome!
|
Sorry for keep you waiting. I tried it and it still keeps stop working after sleep. I only replaced the AppleALC kext, do I need to modify anything else? |
@zombillano Remove any ALCPlugFix and similar tools, rebuild kextcache + do a cold reboot (wait 10-20sec after shutdown) |
We don't have any ALCPlugFix on this repo as far as I know. I've rebuilt kextcache and done a cold reboot, but the problem is still there. Don't worry if you don't have time to give it a look, I'll do it as soon as I get a little bit of time. Right now I'm pretty busy with school. |
@zombillano can you describe what "stops after wake" means concrete and post logs from when the bug happens ( PS: you are using layout-id 86 aka "Realtek ALC257 by bb" (check with Hackintool), right? |
Ok, I'll try to explain myself as good as possible:
Quick note: I'm getting static noise at the Jack output. It also solves when I select "Line In" at the Input submenu. I decided to record a video to show this.Sorry for the bad quality, I recorded it using my smartphone which in fact doesn't have neither a good camera or mic. Either way, I think it should be enough to clarify the issue. I must clarify that the logs posted below have been taken just after I stopped recording. Video: https://we.tl/t-CUp8qPXusq
Here you have them:
|
@zombillano are you on the latest version of this repo? did you change anything? |
I'm on the latest release, but not on the latest commit. I didn't change anything but the serial number. Did you find anything useful on the logs? |
@zombillano not on the first look. I'll provide you with my EFI-folder as soon as I've finished the porting of my BATX-patch to dual-battery-support. I haven't had any glitches since my fix for ALC. |
@zombillano here is my latest (beta) T480 OC-folder. May contain bugs but should be good enough to verify if the problem is config-relatd: T480-Latest-OC-063.zip |
I'll give it a try and let you know if I find any improvement or any bug. Thanks for your help! |
@benbender I'm quite confused, should I compile the .dsl files in order to get the .aml ones? Because as I understand I'll need them in my ACPI folder in order to be able to use your config.plist file, am I right? |
@zombillano Hmm, tbh, if you have to ask such a question, you maybe shouldn't use my zip. Its straight from my hdd and you'll have to adapt and there will be errors quite surely... Don't want to be rude or so, but it may be better to leave it alone. But to answer your question: Yes, sure, you have to compile them - and there is an update.sh inside for convenience. But it's generally not complete for filesize reasons and, as I said, needs adaption. |
Really interesting. Just one question, why you load |
@EETagent SMBus is involved in much more (SMC, Battery, PCI...) and it is only specific parts of the OSX-driverstack for SMBus which interfere with VoodooSMBUS. These parts are "blocked" by VoodooSMBUS itself anyway. I'm not strictly sure though if those SMBus-patches are really needed, but they don't hurt and as I'm trying to have as few (invisible) failure-points as possible, I left them in. |
Also, why you use OSDW? Why not just directly |
More native, better abstraction & more flexibility. We don't need to be afraid of a few lines dsl-code. While it is true that less code contains less bugs, in those cases it doesn't hurt and, f.e., benefits testing or completeness. |
I won't use it then. I haven't got time to study ACPI source language and I'm still unfamiliar with the ACPI of this machine. You are rude man, I'm quite unsure if it is because maybe english isn't your native language (isn't mine either) or because that's how you are. I mean, yeah, you are for sure the most knowledgeable over here, but I have the feeling that you go around making everyone feeling as a fool. I know it isn't personal, I saw the same kind of answers to the questions of some other people over here and gitter. I want to learn for sure, that's why I asked you before (over gitter) if you had any good source to learn about this topics. I don't want to start a discussion, I just wanted to let you know my point of view. Of course I'm pretty glad with all the help you've been giving over here and other related projects as well. I know you were trying to help so please don't misunderstand my words. Right now I'm a little pissed off with your answer, and I think I'll get away for some time, since I don't think I can contribute anything to this repo atm 'cause I'm still too noob. If I find the solution to the problem I'll post it. Until then, I wish the best luck to all of you. |
In your case I don't wanted to be rude - as I said above. It was more like a hint with good intentions. And sorry if you are pissed, but what should I say if you ask if you need to compile the sources? It will break most likely for you and will cause more problems as it solves. Nothing more or less. And yes, I can be rude from time to time. Especially if people don't provide logs, context or info. Or jumping topic x-times per issue. Or don't even try to understand the basics. I try to share, help, and give directions but for certain behavior my time is too precious. |
Hi y'all, I had this issue as well, but it seems to be mostly resolved as of 3e9bc18. The headphone jack and the built-in microphone seem to be working fine, even after sleep, and the audio doesn't do that weird distortion that it did before. However, very rarely (only happened twice in two days) the headphones just stop working with a loud "pop". Simply the act of opening the Sound preferences window gets them going again. I'd be happy to provide logs and help test this issue, I just don't know what sort of logs I need to provide. |
Hi,
First of all I want to say thank you for your dedication to our beloved T480.
I am having a problem with the 3.5mm headphone jack after sleep. After the sleep, the sound through the jack is small and contains static noise. One mitigation I did is to go the System Pref Panel, Sound, Input section, choose the Line-In option the sound will be normal again. However, I need to keep open the Pref Panel to get the sound working; otherwise, the problem came back.
Thanks.
The text was updated successfully, but these errors were encountered: