My laptop model number is 15-bc051nr. I get a static-y noise in my left earphone whenever I listen to music on Ubuntu 16.04. Works fine on Windows though
Here's the fix that I found while googling for the issue. I too had the same issue regarding crackling sound from the left headphone speaker. The problem is related to Realtek's ALC 295 Audio Device.
Firstly install alsa and alsa-tools package :
sudo apt-get install -y alsa alsa-tools
Next, execute the following commands, copy pasting the whole code-block at once into bash (For newbies, we are essentially creating a bash script to make the necessary changes and then we'll execute the script every time our system wakes up from suspend or boots.) :
printf '#!/bin/bash hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x67 hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x3000 ' > sound-script.sh sudo chmod +x ./sound-script.sh && sudo ./sound-script.sh
Once, the above commands are executed successfully, check the sound. You may check it here for both the speakers : http://www.audiocheck.net/audiotests_stereo.php
If it resolves the issue, we are good to go. Now we want to make the script run everytime our system wakes up from suspend or boots. Execute the following commands :
##Make the script run on wakeup from suspend. sudo mv ./sound-script.sh /lib/systemd/system-sleep/
Now, add the following line after doing
sudo crontab -e
sudo crontab -e
Paste this line in the file :
And save the file and exit the editor. You can check if the cron job was successfully created or not by doing
sudo crontab -l which returns a list of user-specified cron jobs.
Hope it helps. Thanks!
protected by Community♦ Feb 23 '18 at 15:04
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?