No sound on loudspeaker (Trisquel 12 on macbook 2017)
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
 
I installed Trisquel 12 on a retina macbook 2017. Everything works except wifi (that was expected, but it works with a USB wifi adapter) but also, I have no sound on the speakers. If I plug in a headset, there is sound on it.
I see
$ lspci |grep -i audio 00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) $ cat /proc/asound/pcm 00-00: CS4208 Analog : CS4208 Analog : playback 1 : capture 1 00-03: HDMI 0 : HDMI 0 : playback 1 00-07: HDMI 1 : HDMI 1 : playback 1 00-08: HDMI 2 : HDMI 2 : playback 1 $ lspci -v |grep snd Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_skl
Before I installed Trisquel, this laptop was running MacOS and the sound was working on the speaker, so the speaker is not defective.
Any idea is welcome.
This kernel.org bug report points to a workaround:
https://bugzilla.kernel.org/show_bug.cgi?id=203613
I could not find a licence file for the suggested patch, though.
Thanks a lot for the interesting hint. It says work in progress, which may be the reason why there is no license file on all, but I guess that would need some contact with the developpers.
I tried it, it downloads the linux kernel source from cdn.kernel.org (so perhaps I should try to get it to use Trisquel version instead), and at some point, it says
Skipping BTF generation for /home/user/macbook12-audio-driver/build/hda/snd_had_codec-cirrus.ko due to unavailability of vmlinux"
So maybe something necessary is not generated. After reboot, it still does not work. I'll investigate further.
The error message you got does not seem to indicate that the patch failed to install. Maybe the speaker is muted elsewhere, so I would try to run alsamixer > F6 > PCH and look for MM in the "Speaker" column.
NB: the patch_cirrus.c file says "SPDX-License-Identifier: GPL-2.0-or-later" but the author has not been modified.
I am impressed that trisquel even works on a macbook that new.
I have heard running a distro on macbook is very hard if not impossible.

