ubuntu耳机噪音,电流声
原地址
This might be the Intel sound card entering power save mode. Check whether power save in currently enabled via:
cat /sys/module/snd_hda_intel/parameters/power_save
If this returns 1, power save is enabled; it returns 0 otherwise. Check to see if changing this solves your problem by runnning
echo 0 | sudo tee /sys/module/snd_hda_intel/parameters/power_save
Then play some music, pause it and see if the noise returns. If the problem persists, it’s something else.
If this does get rid of the noise, you’ll find it’s only temporary, since the value can be reset on reboot or on switching between battery to AC power. A few different services could be changing this value, so try configuring each of them:
ALSA
To /etc/modprobe.d/alsa-base.conf
, add the line:
options snd-hda-intel power_save=0
Power.d
To /usr/lib/pm-utils/power.d/intel-audio-powersave
, add or uncomment the line:
INTEL_AUDIO_POWERSAVE=false
TLP
If installed, in /etc/default/tlp
, set the following:
SOUND_POWER_SAVE_ON_BAT=0