Results 1 to 8 of 8

Thread: [HOWTO] Fix "popping" sound in 11.04 Natty

  1. #1
    Join Date
    Dec 2010
    Location
    Sweden
    Beans
    Hidden!

    [HOWTO] Fix "popping" sound in 11.04 Natty

    Since I installed Natty recently, I had this "popping" sound from the speakers when the laptop was running on battery. Turns out this popping has to do with a power-saving feature for "hda-intel" sound-chips.

    If you're experiencing the same thing, here is how you fix it:

    Open terminal and do:

    Code:
    gksudo gedit /usr/lib/pm-utils/power.d/intel-audio-powersave
    Find this line:

    INTEL_AUDIO_POWERSAVE=${INTEL_AUDIO_POWERSAVE:-true}

    and comment it out by putting a "#" in front of it like this:

    # INTEL_AUDIO_POWERSAVE=${INTEL_AUDIO_POWERSAVE:-true}

    Just below this line you make a new line, like this:

    INTEL_AUDIO_POWERSAVE=false

    So now you will have:

    # INTEL_AUDIO_POWERSAVE=${INTEL_AUDIO_POWERSAVE:-true}
    INTEL_AUDIO_POWERSAVE=false


    Save the file (File > Save) and exit.

    Reboot the computer.

    The popping sound will be gone.


    NOTE: If you for some reason need to undo the setting, just open the file again and remove the "#" from:

    INTEL_AUDIO_POWERSAVE=${INTEL_AUDIO_POWERSAVE:-true}

    and delete this line:

    INTEL_AUDIO_POWERSAVE=false

    Save the file.

    Reboot.
    Last edited by DanneStrat; June 22nd, 2011 at 10:30 PM.

  2. #2
    Join Date
    Jun 2011
    Beans
    1

    Re: [HOWTO] Fix "popping" sound in 11.04 Natty

    Quote Originally Posted by DanneStrat View Post
    Since I installed Natty recently, I had this "popping" sound from the speakers when the laptop was running on battery. Turns out this popping has to do with a power-saving feature for "hda-intel" sound-chips.

    If you're experiencing the same thing, here is how you fix it:

    Open terminal and do:

    Code:
    gksudo gedit /usr/lib/pm-utils/power.d/intel-audio-powersave
    Find this line:

    INTEL_AUDIO_POWERSAVE=${INTEL_AUDIO_POWERSAVE:-true}

    and comment it out by putting a "#" in front of it like this:

    # INTEL_AUDIO_POWERSAVE=${INTEL_AUDIO_POWERSAVE:-true}

    Just below this line you make a new line, like this:

    INTEL_AUDIO_POWERSAVE=false

    So now you will have:

    # INTEL_AUDIO_POWERSAVE=${INTEL_AUDIO_POWERSAVE:-true}
    INTEL_AUDIO_POWERSAVE=false


    Save the file (File > Save) and exit.

    Reboot the computer.

    The popping sound will be gone.


    NOTE: If you for some reason need to undo the setting, just open the file again and remove the "#" from:

    INTEL_AUDIO_POWERSAVE=${INTEL_AUDIO_POWERSAVE:-true}

    and delete this line:

    INTEL_AUDIO_POWERSAVE=false

    Save the file.

    Reboot.

    Thank you very much for this post. This did get rid of the crackling/popping noises coming from my hp

    laptop. One thing i've noticed though, the volume output is less now. Is there anyway to restore or boost

    the volume output? Your help would be appreciated!

  3. #3
    Join Date
    Dec 2010
    Location
    Sweden
    Beans
    Hidden!

    Re: [HOWTO] Fix "popping" sound in 11.04 Natty

    Thank you very much for this post. This did get rid of the crackling/popping noises coming from my hp laptop.
    You're welcome!

    One thing i've noticed though, the volume output is less now. Is there anyway to restore or boost

    the volume output? Your help would be appreciated!
    Hmm, this setting is not supposed to alter the output volume. It's only used to make sure the sound card does not turn on/off repeatedly to save power when not in use(which causes the popping sound).

    Maybe your sound settings got a reset after you disabled power-saving.

    Open terminal and type:

    Code:
    alsamixer
    Make sure the "Master" and "PCM" channels are turned up.

    You use the keyboard up/down arrows to increase/decrease volume.

    Use the "escape" key to exit from alsamixer when you're done.

    Any difference?
    Last edited by DanneStrat; June 28th, 2011 at 11:30 AM.

  4. #4
    Join Date
    Jul 2009
    Beans
    1
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: [HOWTO] Fix "popping" sound in 11.04 Natty

    Thanks for the fix DanneStrat - it worked perfectly.

  5. #5
    Join Date
    Dec 2010
    Location
    Sweden
    Beans
    Hidden!

    Re: [HOWTO] Fix "popping" sound in 11.04 Natty

    Quote Originally Posted by simonjtyler View Post
    Thanks for the fix DanneStrat - it worked perfectly.
    I'm glad it worked for you!

  6. #6
    Join Date
    Jan 2007
    Beans
    180

    Re: [HOWTO] Fix "popping" sound in 11.04 Natty

    Sadly enough it didn't work for me. How can you check if the changes had any effect?

    Edit: It's much less frequent though.
    Last edited by Surkow; December 28th, 2011 at 01:51 PM.
    "I decided to be happy, it is excellent for one's health."

  7. #7
    Join Date
    Apr 2007
    Location
    Warszawa, Poland
    Beans
    60
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [HOWTO] Fix "popping" sound in 11.04 Natty

    Thank you for the tip!

    If someone doesn't want to make permanent changes, the same can be achieved temporarily with:

    Code:
    sudo su
    echo 0 > /sys/module/snd_hda_intel/parameters/power_save
    Replace "snd_hda_intel" with your soundcard's module if necessary.

  8. #8
    Join Date
    Jan 2010
    Location
    Sydney, Australia
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: [HOWTO] Fix "popping" sound in 11.04 Natty

    Ubuntu 11.04 has already reached EOL and not officially supported.

    https://wiki.ubuntu.com/Releases.

    Also as per the Ubuntu Forums Code of Conduct, please do not post in threads more than one year old.
    Old thread is closed now.

    Thanks!
    “Progress is made by lazy men looking for easier ways to do things”
    — Robert A. Heinlein

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •