-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
13,2 Audio Codecs #108
Comments
I was about to send an update to this and upload an improved implementation to davidjo. |
Thanks for writing here. I also have the 14,3. Then I'm probably worth nothing to you for testing a setup. Good work anyway! This machine isn't far off being fully operational! So you are modifing a replay from OSX and driving the audio with it? Super weird that there is such a difference between windows and mac versions. |
I dont have a 14,1 machine but I have been corresponding with someone who does and is on one of the kernel bugs for sound. |
Hi there.. Any progress on this? |
I uploaded a new version around Oct 25th which is much improved. It now handles some headsets with mike plus no mike headsets. I also think it is working on 14,1, 14,2 and 14,3 (which seems to mean some 13 series machines also - basically anything with a 8409 HDA and either MAX98706 or SSM3515 amps plus CS42L83A chip) - at least other users have said this. So I think I have a working kernel module - the questions now are how the interface with the rest of the linux audio chain works - pulse seems to assign some strange labels if at all - which I dont really know anything about. The kernel module only handles the formats Apple defines so its reliant on higher level subsystems to do the required audio conversions. |
@davidjo thanks a lot for your work on this. after a little hassle with meeuw's fork I got my mbp 14,3 speakers speaking on ubuntu 19.10 kernel 5.3.0.24. first goal achieved. |
Its looks as tho meeuws fork is still on my first attempt and hasnt been updated with the commits I made around Oct 15th. But if meeuws fork works on kernel 5.3 for you its highly likely my updated version will work as well. So far I havent tried switching kernels as most of my machines are on 18.04 LTS - but there will be a new LTS version next Spring I think when I will upgrade which will go to a ver 5 kernel. As to the mike the code that meeuws fork is based didnt attempt to do anything with the CS42L83A chip so not surprising nothings working - my new version for headsets has a much better understanding of that chip but I still didnt attempt any tests of mikes - either internal or external. |
ok so, let me know if I can test anything on the ver 5 kernel. until then I stick to meeow‘s fork since it is not too long time left to the next LTS release |
I'am having MBP 14,3 too, but just using 5.3.0-26 kernel is not working with sound (although wifi is working fine after setting TX Power to 10 (there is a guide how to do that). Sound is not working on my machine at all. Only bluetooth headset is working. I'am newbie to linux, but can provide some help with testing on real machine too. Feel free to contact me, as @devalanche said, this computer is actually near to fully working, looks like only sound is missing. |
bro, I got speakers and jack working with this: |
Almost not working for me. Just tested and once after switching and clicking test Front Left is worked out with "Front Left" test voice sequence. Since this no music playing and audio test is not working too. Sad. alsa-info if needed I'am also see there are two snd_hda_intel modules, don't know if that ok UDP: Reinstalled snd_sha_intel on 5.4.7 kernel, works fine, although sound is... I don't know how to describe it, sounds like lack of low frequiencies, no bass at all (may be because of subwoofer is not used) |
you could try to reinstall the original kernel modules if you had tried to modify some in the past and then apply the patch. |
@Meetem so are you saying you have sound working with the leifliddy snd_hda_macbookpro (which is based on my updates from October)? |
@davidjo yes, it's working. May be sound quality correlates with the fact that only "Front Left" test sound sequence is working, rear ones and front right doesn't produce any sound. But both left and right speakers are working when sound is played by some applications (of course you can't tweak left-right front-rear balance). What about other sound outputs: I also have an A2DP (on linux, AAC on mac) bluetooth headset there, and sound quality drops over time and sometimes even lagging while on macOS it's working fine. Looks like there is bluetooth tx power problem, cause on mac/android I can listen to music on about 5m distance, and on linux distance is about 1m. |
@davidjo bass-boosting doesn't helps, while bass is heard from left-right speakers it doesn't "feel" like it should. No vibrations at all, there is subwoofer for sure, and it's not working (also I can test it easily cause I have some coarse dust in it) |
would be great if we had an apple contact who would just tell us. Is this plugin 'safe' in the sense of not blowing out the speakers yet? |
@marc-git since bass-boosting doesn't work right, cause doesn't using subwoofer that doesn't matter. And if you are trying to use it on linux you should know what are you doing, safety is on you now. |
@marc-git did you got the internal audio and microphone working by applying the Cirrus 8409 HDA chip driver patch from https://github.com/davidjo/snd_hda_macbookpro ? If you are running MBP >= 13.1 except for 13.3 (information already provided) can you provide me the dmesg and hwinfo information for that model(s) so I can update PR #149 with related README.md and updated/new dmesg and hwinfo information for those models? You can easily share the information by the commands Thanks |
thanks for organising. I didn't install since I did not want to blow my speakers. I don't need sound when running linux. |
@marc-git not a problem. Dunno if the volume control is still an issue. I have not seen any. |
This issue is bit outdated since built-in audio has been verified and is fully working for MBP models 13,3 and 14,3. @marc-git You should rename the title to only include MBP model 13,2 since it has not been verified. |
will try it out this week on 14,3 and get back to you. Or possibly this issue should be closed now since I don't have a 13,2? |
@marc-git read the README.md and test the latest commit of the driver patch, it is working on Linux kernel version 5.5+, I am running version 5.7.10 at the moment. And you should verify it on MBP model 13,2 otherwise it is pointless to have the issue open if you can't verify it. |
I am using MBP 13,2 and with the patch (https://github.com/davidjo/snd_hda_macbookpro) I can confirm that audio output through speakers and headphone is working. But no luck with the internal mic. I'm using kernel 5.4.0 at the moment. |
@sg0wtham test it with kernel version 5.5+, before version 5.5 internal audio and microphone is not working properly. Can be easily installed for Ubuntu/Mint/Debian via deb package manager https://kernel.ubuntu.com/~kernel-ppa/mainline/ (amd 64bit architecture) and choose to download and install the deb packages of at least v5.5.19 or greater with |
@andyholst Really sorry for the delayed updates since my Mac was in Apple care. As you mentioned, I had installed kernel v5.5.19. Now I can confirm that both speaker and mic are working seamlessly. Thank you very much for that. But there is one thing I have noticed, when I'm using wired headset, internal Mic does not seem to work. But with wireless Bluetooth headphones internal Mic is working perfectly. |
@sg0wtham I can't speak about the wired headset issue since I have never tried it, but I assume you did make sure the right input was selected (wired microphone instead of the built-in microphone), however you should make a PR and update the README.md file accordingly to update the built-in input & output audio support for MBP 13,2 as working. |
By any chance do you all happen to know a fix for Manjaro based OS. The solution by @davidjo works only for debian based platforms :( |
Not much has been completed but there is some activity. Was thinking of adding this somewhere:
A bit of activity happening here: https://github.com/davidjo/snd_hda_macbookpro
See also: https://bugzilla.kernel.org/show_bug.cgi?id=195671
Audio drivers to 13,2 / 13,3 probably same as 14,3. It seems this will not be straightforward at all. From bugzilla :
Encouraging is that @davidjo appears to actually hear sound!
The text was updated successfully, but these errors were encountered: