Данный репозиторий содержит Linux-драйверы для аудиочипа Cirrus Logic CS8409 (HDA bridge), используемого в моделях MacBook Pro 15" 2016. Эти драйверы обеспечивают корректную работу звука в Ubuntu 22.04 и других дистрибутивах Linux.
Перед установкой драйверов убедитесь, что установлены необходимые инструменты сборки:
sudo apt update
sudo apt install build-essential linux-headers-$(uname -r) git
При ошибках компиляции установите GCC и G++ отдельно:
sudo apt install gcc g++ make
Клонируйте репозиторий:
git clone https://github.com/nurxan02/snd-hda-codec-cirrus-logic-cs8409.git
cd snd-hda-codec-cirrus-logic-cs8409
Соберите драйвер:
make
Установите:
sudo make install
Перезагрузите систему:
sudo reboot
Если быстрая установка не сработала:
sudo apt update
sudo apt install dkms build-essential linux-headers-$(uname -r)
git clone https://github.com/nurxan02/snd-hda-codec-cirrus-logic-cs8409.git
cd snd-hda-codec-cirrus-logic-cs8409
make clean
make
sudo make install sudo depmod -a sudo modprobe snd-hda-codec-cirrus-logic-cs8409
sudo systemctl restart alsa-state
pulseaudio -k
sudo apt install linux-headers-$(uname -r) linux-headers-generic
sudo apt install gcc g++ build-essential
sudo dmesg | grep cs8409
sudo modinfo snd-hda-codec-cirrus-logic-cs8409
lsmod | grep cs8409
sudo modprobe -r snd-hda-codec-cirrus-logic-cs8409
sudo modprobe snd-hda-codec-cirrus-logic-cs8409
pulseaudio -k
pulseaudio --start
aplay -l
cat /proc/asound/cards
speaker-test -c 2 -t wav
pactl list sinks
pactl list sources
cd snd-hda-codec-cirrus-logic-cs8409
sudo make clean
sudo rm -f /lib/modules/$(uname -r)/updates/snd-hda-codec-cirrus-logic-cs8409.ko
sudo depmod -a
cd snd-hda-codec-cirrus-logic-cs8409
make clean
make
sudo make install
sudo reboot
Проект распространяется по лицензии GPL-2.0-or-later.
Если нужно, могу оформить это как полноценный README.md с корректной структурой для GitHub.