Skip to content
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

Macbook9,1 12 Retina Early 2016 #27

Open
gc070653 opened this issue Jan 18, 2024 · 14 comments
Open

Macbook9,1 12 Retina Early 2016 #27

gc070653 opened this issue Jan 18, 2024 · 14 comments

Comments

@gc070653
Copy link

So far I've not been able to make the internal speakers working on any distro I tried, Manjaro Ubuntu Linux Mint, even after installing your patch.
After your patch the system is showing correctly the Analog Output-Built-in Audio and if I play some song I see the sound bar moving but no sound is coming out.
Earphones are not working any longer as expected.
I also tried to add 'options snd_hda_intel model=mbp11' into the alsa-base.conf but nothing changed.

Checking your patch_cirrus.c, I did not found any reference to macbook9,1, can be this the reason why the driver is not working?
I reference to this:

/*

  • CS4208 support:
  • Its layout is no longer compatible with CS4206/CS4207
    */
    enum {
    CS4208_MAC_AUTO,
    CS4208_MBA6,
    CS4208_MBP11,
    CS4208_MACMINI,
    CS4208_GPIO0,
    };

static const struct hda_model_fixup cs4208_models[] = {
{ .id = CS4208_GPIO0, .name = "gpio0" },
{ .id = CS4208_MBA6, .name = "mba6" },
{ .id = CS4208_MBP11, .name = "mbp11" },
{ .id = CS4208_MACMINI, .name = "macmini" },
{}
};

static const struct snd_pci_quirk cs4208_fixup_tbl[] = {
SND_PCI_QUIRK_VENDOR(0x106b, "Apple", CS4208_MAC_AUTO),
{} /* terminator */
};

/* codec SSID matching /
static const struct snd_pci_quirk cs4208_mac_fixup_tbl[] = {
SND_PCI_QUIRK(0x106b, 0x5e00, "MacBookPro 11,2", CS4208_MBP11),
SND_PCI_QUIRK(0x106b, 0x6c00, "MacMini 7,1", CS4208_MACMINI),
SND_PCI_QUIRK(0x106b, 0x7100, "MacBookAir 6,1", CS4208_MBA6),
SND_PCI_QUIRK(0x106b, 0x7200, "MacBookAir 6,2", CS4208_MBA6),
SND_PCI_QUIRK(0x106b, 0x7b00, "MacBookPro 12,1", CS4208_MBP11),
{} /
terminator */
};

Alsactl init is showing :

Found hardware: "HDA-Intel" "Cirrus Logic CS4208"
"HDA:10134208,106b6500,00100401 HDA:80862809,80860101,001000000" "0x8086" "0x7270"
Hardware is initialized using a generic method

Also the reference to 0x106b 0x6500 is missing

Sorry if I've not been very clear and thank you in advance
Ciao
Luca

@gc070653
Copy link
Author

Using HDA-Analizer I discover that in Codec 0 the node ox02 AUD_OUT is set with Mute=true and using hdajackretask the internal speaker entry is empty. Can this help to fix the missing audio?

@patx
Copy link

patx commented Apr 3, 2024

bump

@Alth3c0w
Copy link

Alth3c0w commented Aug 11, 2024

For anyone having this issue, enabling "Play Startup Sound" in macos fixes the audio issue. For some reason, having this setting disabled mutes the speakers, but disabling it allowed the speakers to work in Ubuntu on the 2016 Macbook for me.

@patx
Copy link

patx commented Sep 17, 2024

@Alth3c0w interesting. I will test this out ASAP. Thanks

@aj-pd
Copy link

aj-pd commented Sep 22, 2024

Same issue here. Tried enabling the startup sound and it didn't help. Any other things to try? Exactly the same model, early 2016. Thanks

@gc070653
Copy link
Author

gc070653 commented Sep 22, 2024 via email

@aj-pd
Copy link

aj-pd commented Sep 22, 2024

In my MacBook I have Linux mint and iOS installed.To make the sound working I enable the start up sound in iOS and after the sound driver installation in mint the sound is working Yahoo Mail: Search, Organize, Conquer On Sun, Sep 22, 2024 at 15:56, @.> wrote: Same issue here. Tried enabling the startup sound and it didn't help. Any other things to try? Thanks — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

Exactly what I did, and it didn't work. Spent a few hours searching online for other solutions, but couldn't find anything that would get it working

@gc070653
Copy link
Author

gc070653 commented Sep 22, 2024 via email

@aj-pd
Copy link

aj-pd commented Sep 22, 2024

@gc070653 Yes there is a startup chime. Although it's kind of lacking bass, it sounds too tinny, don't think I've seen this with other macs. But it does chime every startup, yes. I have fedora kde on it, but I've tried ubuntu too, it was the same.

@gc070653
Copy link
Author

gc070653 commented Sep 22, 2024 via email

@aj-pd
Copy link

aj-pd commented Sep 22, 2024

@gc070653
There are no attached screenshots, probably got lost when you sent it via email. Maybe I'll try to install mint when I have time for this, but I doubt it will work. And I really prefer kde more than any of the mint DEs, but I guess it's worth trying if that will make this laptop at least somewhat useful

@aj-pd
Copy link

aj-pd commented Sep 22, 2024

@gc070653
Update: after another reboot it started working for some reason. But the sound is kind of tinny, as I mentioned before, as if the bass was completely cut off. Very different from the sound on the Mac OS. But at least there is sound now 👍

@Alth3c0w
Copy link

To fix the tinny sound, you can first change the audio device to use "Analog Surround 4.0 Output" in the Sound Configuration in Settings, and then use an equalizer. I use PulseEffects which has allowed me to get the audio at least close to MacOS. Here's the json config file for PE that I use if anyone wants it.

bars2.json

@tobiasgrossmann
Copy link

For anyone having this issue, enabling "Play Startup Sound" in macos fixes the audio issue. For some reason, having this setting disabled mutes the speakers, but disabling it allowed the speakers to work in Ubuntu on the 2016 Macbook for me.

For clarification: You mean: "Enable Startup Sound" in Mac OS will enable the Speakers? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants