This repository contains Linux audio drivers for the Cirrus Logic CS8409 HDA bridge chip found in MacBook Pro 15" 2016 models. These drivers enable proper audio functionality on Ubuntu 22.04 and other Linux distributions.
Before installing the drivers, ensure you have the necessary build tools installed:
sudo apt update
sudo apt install build-essential linux-headers-$(uname -r) git
If you encounter compilation errors, install GCC and G++ explicitly:
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
If the quick installation doesn't work, try these detailed steps:
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 # Clean any previous builds
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
# Check if module is loaded
lsmod | grep cs8409
# Force reload the module
sudo modprobe -r snd-hda-codec-cirrus-logic-cs8409
sudo modprobe snd-hda-codec-cirrus-logic-cs8409
# Restart PulseAudio
pulseaudio -k
pulseaudio --start
After installation, verify your audio devices:
# List audio devices
aplay -l
cat /proc/asound/cards
# Test audio output
speaker-test -c 2 -t wav
# Check PulseAudio devices
pactl list sinks
pactl list sources
To remove the drivers:
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
After kernel updates, you may need to rebuild and reinstall the drivers:
cd snd-hda-codec-cirrus-logic-cs8409
make clean
make
sudo make install
sudo reboot
The driver includes support for:
APPLE_PINSENSE_FIXUP)APPLE_CODECS)CONFIG_SND_HDA_RECONFIG)This driver is based on the work from the Linux kernel mainline and community contributions. For issues or improvements, please refer to the original repository.
This project is licensed under GPL-2.0-or-later. See the source files for complete license information.
For Ubuntu 22.04 specific issues or MacBook Pro 15" 2016 audio problems, you can:
Note: These drivers are specifically tested on MacBook Pro 15" 2016 models with Ubuntu 22.04. Compatibility with other models or distributions may vary.