Skip to content

Instantly share code, notes, and snippets.

@vertexvaar
Created April 24, 2025 07:44
Show Gist options
  • Select an option

  • Save vertexvaar/f843f1a05ba705d9c0db464b861ae3bf to your computer and use it in GitHub Desktop.

Select an option

Save vertexvaar/f843f1a05ba705d9c0db464b861ae3bf to your computer and use it in GitHub Desktop.
Ubuntu stuff
https://askubuntu.com/a/1230834
It was happening because Ubuntu turned on the sound card power-saving capabilities. Turning it off can be the only way to get rid of the annoying sound:
Verify how is your sound card's power_save parameter:
cat /sys/module/snd_hda_intel/parameters/power_save
If it returns 1, do the following to change it temporally:
echo "0" | sudo tee /sys/module/snd_hda_intel/parameters/power_save
If the previous step worked for you, persist that configuration (otherwise the problem will continue after reboot):
echo "options snd_hda_intel power_save=0" | sudo tee -a /etc/modprobe.d/audio_disable_powersave.conf
(Optional) You can also do the same for power_save_controller parameter following the steps 1, 2 and 3 replacing power_save by power_save_controller also changing 0 to N.
Note: using the first step will probably return Y for this parameter, instead of 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment