Overview
Sometimes you might hear a pop/click from the speakers, usually when audio starts/stops, or around suspend/shutdown.
We have upstreamed a runtime adjustment to improve this, but while that change trickles down to different distributions, you can use the workaround below.
What you will do
You will:
- Create a small configuration file for the audio driver.
- Rebuild the initramfs (on some distributions).
- Reboot.
Step 1: Open a Terminal
Open the Terminal app.
Common shortcuts:
- On many distributions: press
Ctrl+Alt+T - Or open your app launcher and search for
Terminal
Step 2: Create the config file
Copy and paste this command into the Terminal, then press Enter:
sudo tee /etc/modprobe.d/sls-eapd.conf >/dev/null <<'EOF'
options snd_hda_intel power_save=0
EOF
Notes:
- You may be prompted for your password. When typing your password, you will not see any characters appear. This is normal.
- This change can slightly increase idle power usage (battery life).
Step 3: Rebuild initramfs (pick your distribution)
Some distributions bundle driver options into an initramfs (an early-boot image). Rebuilding it ensures the change is picked up.
Run the command that matches your distribution:
Ubuntu / Debian (and derivatives)
sudo update-initramfs -u
Fedora (and derivatives)
sudo dracut -f
Arch / Manjaro
sudo mkinitcpio -P
Step 4: Reboot
Reboot your system. The change takes effect after reboot.
sudo reboot
Verify (optional)
After reboot, you can check the setting with:
cat /sys/module/snd_hda_intel/parameters/power_save
It should output 0.
Undo (revert the change)
- Remove the config file:
sudo rm -f /etc/modprobe.d/sls-eapd.conf
- Rebuild initramfs again (same command as in Step 3 for your distribution).
- Reboot.