4

How to Fix Static Noise Issue in Linux

 1 year ago
source link: https://www.makeuseof.com/fix-static-noise-from-speakers-linux/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to Fix Static Noise Issue in Linux

By Debarshi Das Published 7 hours ago

For those who have recently installed Linux and constantly hear a static noise from their audio devices, here's a quick fix to this problem.

linux tux wearing headphones

Speakers emitting unwanted static noise can be a huge annoyance when trying to focus and can significantly hamper your productivity. It is not a pleasant sound to the ears as well. If you have recently switched to Linux and find your audio devices malfunctioning, this guide can help you troubleshoot your issues and fix static noise on Linux.

Why This Issue Arises?

Although audio devices emitting static noise may come across as a hardware or driver issue, the actual reason is much simpler. The reason behind your audio device emitting static or high-pitched noise lies in the power-saving settings of your Linux distro.

In some distros, power-saving modes on all peripherals are enabled by default to conserve battery on laptops and other battery-dependent systems. While it doesn't affect the system performance, there can be side effects, a good example of which is a malfunctioning audio device.

Disable Power Saving Mode in snd_hda_intel

changing power save paramter value to 0

To shut down the static noise from your audio devices, you have to turn off the power-saving mode of the snd_hda_intel audio module.

Start off by checking the value of the power-saving parameter of the snd_hda_intel module:

cat /sys/module/snd_hda_intel/parameters/power_save

This command should return the output one, indicating that the power-save mode is set to on. You need to change it to zero. Do this by manually editing the file with a Linux text editor or IDE or using the echo command in conjunction with the redirection operator.

You might need superuser privileges to execute this command. So make sure to spawn a root shell before you run the command.

sudo su
echo 0 > /sys/module/snd_hda_intel/parameters/power_save

That's all you needed to do. Running this command might produce a "pop" sound from the speakers, and you should find the static noise, or the "buzzing" sound gone for good!

Enjoy Static Free Audio in Linux

With the audio issues out of the way, you can now focus on immersing yourself in the Linux experience. While you're at it, it wouldn't hurt to have a little melody as you go about your daily routine, and if you're a true audiophile, you should definitely check out some of the best music player apps on Linux.

About The Author
6223366c3c077-debarshidas.jpg?fit=crop&w=100&h=100

Debarshi Das (16 Articles Published)

I love breaking things and making things that help me in breaking things. When the screens are off, you can find me on the football ground or battling wits at the local chess club.

More From Debarshi Das

Subscribe to our newsletter

Join our newsletter for tech tips, reviews, free ebooks, and exclusive deals!

Click here to subscribe

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK