Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36

Thread: Strange "pop"/"click" sound from Speakers Every Time

  1. #1
    SidM NNTP User

    Default Strange "pop"/"click" sound from Speakers Every Time

    Hey, I've been using OpenSUSE for a day now, and I have a small problem.

    Every time a sound is played after the speakers haven't been in use for a few seconds, a "pop" or some sort of clicking sound is created from the speakers. Now this is the kind of sound that a speaker or a pair of earphones would make if you are plugging in the jack to the computer. It would make this sound once.

    This didn't happen back in Windows or Ubuntu, but I think this has something to do with ALSA.

    I've got the following hardware:
    Sound:
    MCP67 High Definition Audio
    Bus: PCI
    Device Identifier (spec): 78038
    Device Identifier: 66908
    Device: MCP67 High Definition Audio
    Driver: HDA Intel
    Active: Yes
    Kernel Driver: snd_hda_intel
    UDI: /org/freedesktop/Hal/devices/pci_10de_55c

    I've already tried changing settings around in the Sound preferences (the dialog with a bunch of drop downs and test buttons).
    Any help would be appreciated.
    Thanks,
    Sid

  2. #2
    cycleman2114 NNTP User

    Default Re: Strange "pop"/"click" sound from Speakers Every Time

    I have the same issue on my Thinkpad R61.

    30: PCI 1b.0: 0403 Audio device
    [Created at pci.310]
    UDI: /org/freedesktop/Hal/devices/pci_8086_284b
    Unique ID: u1Nb.iJWhLrosxI5
    SysFS ID: /devices/pci0000:00/0000:00:1b.0
    SysFS BusID: 0000:00:1b.0
    Hardware Class: sound
    Model: "Lenovo ThinkPad T61"
    Vendor: pci 0x8086 "Intel Corporation"
    Device: pci 0x284b "82801H (ICH8 Family) HD Audio Controller"
    SubVendor: pci 0x17aa "Lenovo"
    SubDevice: pci 0x20ac "ThinkPad T61"
    Revision: 0x03
    Driver: "HDA Intel"
    Driver Modules: "snd_hda_intel"
    Memory Range: 0xf8300000-0xf8303fff (rw,non-prefetchable)
    IRQ: 17 (16790331 events)
    Module Alias: "pci:v00008086d0000284Bsv000017AAsd000020ACbc04sc03i00"
    Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
    Config Status: cfg=no, avail=yes, need=no, active=unknown

    I turned down the volume both in KDE and in ALSA and it's not as bad, but even at max volume I can't hear any media that I play. Only KDE notifications are loud enough to be clear, everything else is too quiet...

  3. #3
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,429
    Blog Entries
    34

    Default Re: Strange "pop"/"click" sound from Speakers Every Time

    There is a possibility this noise is coming from your mic.

    Can you switch OFF your mic in your mixer, and test to see if the noise is still there.

    If the noise is still there, can you provide more detail, such as output of a copy and paste of the following commands in an xterm/konsole with regular user permissions:
    cat /etc/SuSE-release
    rpm -qa | grep alsa
    rpm -qa | grep pulse
    rpm -q libasound2
    uname -a
    cat /etc/modprobe.d/sound


    and also with your pc connected to the internet provide the output URL created by running the following two scripts in an xterm/konsole as a regular user:
    Code:
    wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh
    enter your root password when prompted for a password by the next script and answer "NO" to every question that you do not understand
    Code:
    su -c 'wget -O tsalsa wget http://home.cfl.rr.com/infofiles/tsalsa && bash tsalsa'
    Please post the output URLs here.

  4. #4
    SidM NNTP User

    Default Re: Strange "pop"/"click" sound from Speakers Every Time

    I don't think the problem that I am experiencing has much to do with the Mic, because the little "click" sound only gets played when the speakers haven't been used for a while and something like Pidgin plays an "incoming message" sound.

    Anyways, thanks for the response, here is the output of the commands:

    cat /etc/SuSE-release
    Code:
    openSUSE 11.0 (i586)
    VERSION = 11.0
    rpm -qa | grep alsa
    Code:
    alsa-plugins-1.0.16-57.1
    alsa-utils-1.0.16-35.1
    alsa-oss-1.0.15-48.1
    alsa-plugins-pulse-1.0.16-57.1
    alsa-1.0.16-39.1
    rpm -qa | grep pulse
    Code:
    pulseaudio-module-bluetooth-0.9.10-26.1
    libpulse-browse0-0.9.10-26.1
    pulseaudio-module-x11-0.9.10-26.1
    alsa-plugins-pulse-1.0.16-57.1
    libpulsecore4-0.9.10-26.1
    pulseaudio-0.9.10-26.1
    pulseaudio-module-lirc-0.9.10-26.1
    libpulse0-0.9.10-26.1
    libpulse-mainloop-glib0-0.9.10-26.1
    pulseaudio-utils-0.9.10-26.1
    pulseaudio-module-gconf-0.9.10-26.1
    gstreamer-0_10-pulse-0.9.7-42.pm.1
    pulseaudio-module-zeroconf-0.9.10-26.1
    pulseaudio-esound-compat-0.9.10-26.1
    rpm -q libasound2
    Code:
    libasound2-1.0.16-39.1
    uname -a
    Code:
    Linux linux-9cfv 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 athlon i386 GNU/Linux
    cat /etc/modprobe.d/sound
    Code:
    options snd slots=snd-hda-intel
    # M71A.LQQQ2m7P8oE:MCP67 High Definition Audio
    alias snd-card-0 snd-hda-intel
    AND: I used a command to find the ALSA version:
    cat /proc/asound/version
    Code:
    Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31 16:40:16 2008 UTC).
    I remember that 1.0.16 existed, but I'm slightly confused as to why 1.0.16RC2 is being used

    That script (alsa-info.sh) doesn't seem to work; I can't access Pastebin.ca and it doesn't give me a link.
    The second one returns this link: tsalsa.txt - nopaste.com (beta)

    Thanks,
    Sid

  5. #5
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,429
    Blog Entries
    34

    Default Re: Strange "pop"/"click" sound from Speakers Every Time

    Quote Originally Posted by SidM View Post
    I don't think the problem that I am experiencing has much to do with the Mic, because the little "click" sound only gets played when the speakers haven't been used for a while and something like Pidgin plays an "incoming message" sound.
    This suggests to me this could be hardware related. Have you experienced this with other openSUSE versions, or with other Linux distributions, or with an MS-Windows version?

    Quote Originally Posted by SidM View Post
    rpm -qa | grep pulse
    I see you have lots of pulse audio applications. Pulse is being reported by many openSUSE-11.0 users as being buggy. I have not experienced that myself, but I also have very few pulse apps installed.

    Quote Originally Posted by SidM View Post
    cat /etc/modprobe.d/sound
    Code:
    options snd slots=snd-hda-intel
    # M71A.LQQQ2m7P8oE:MCP67 High Definition Audio
    alias snd-card-0 snd-hda-intel
    There are model options that one can specify in the /etc/modprobe.d/sound file for your HP Presario V3500 series' Conexant CX20549 (Venice) hardware audio codec, but I don't think there is much point in doing that since your sound works.

    Quote Originally Posted by SidM View Post
    AND: I used a command to find the ALSA version:
    cat /proc/asound/version
    Code:
    Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31 16:40:16 2008 UTC).
    I remember that 1.0.16 existed, but I'm slightly confused as to why 1.0.16RC2 is being used
    My speculative view on this is when it was decided to "freeze" openSUSE-11.0, only 1.0.16 RC2 was available for the alsa driver.

  6. #6
    Join Date
    Jun 2008
    Location
    Kln, Deutschland
    Posts
    1,054

    Default Re: Strange "pop"/"click" sound from Speakers Every Time

    Did this issue get fixed?

    I just did a clean install of 11 (no updates yet) and I have the popping from the KDE sound system (KDE3), but only when on battery power (laptop).

    Thanks

  7. #7
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,429
    Blog Entries
    34

    Default Re: Strange "pop"/"click" sound from Speakers Every Time

    Quote Originally Posted by growbag View Post
    Did this issue get fixed?

    I just did a clean install of 11 (no updates yet) and I have the popping from the KDE sound system (KDE3), but only when on battery power (laptop).
    You could try a couple of thing to narrow this down.

    Try the following when on regular power, and then again when on regular power. Look for any differences:
    cat /proc/interrupts

    You can easily save the output by typing when on regular power:
    cat /proc/interrupts > regular-interrupts.txt

    and when on battery power:
    cat /proc/interrupts > battery-interrupts.txt
    and compare the two.

    Are they identical? My guess is they should be identical.

    Another possibility is to run "dmesg > dmesg-regular.txt" immediately after a boot with regular power, ... and then reboot with only battery power and run "dmesg > dmesg-battery.txt" immediately after booting. Compare the two text files "dmesg-regular.txt" and "dmesg-battery.txt". Any hints?

  8. #8
    Join Date
    Jun 2008
    Location
    Kln, Deutschland
    Posts
    1,054

    Default Re: Strange "pop"/"click" sound from Speakers Every Time

    Thanks for your help oldcpu, I was hoping you might be watching this thread .

    I did as you instructed, but I really don't know what I'm looking for.

    Here are the files if you have the time or inclination to look at them.

    Index of /public

    Thanks

  9. #9
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,429
    Blog Entries
    34

    Default Re: Strange "pop"/"click" sound from Speakers Every Time

    Quote Originally Posted by growbag View Post
    I did as you instructed, but I really don't know what I'm looking for.

    Here are the files if you have the time or inclination to look at them.

    Index of /public
    I was looking to see if there might be something sharing an interrupt (related to power management) with your sound. You sound HDA-Intel is on IRQ21 by itself, so that is not the case.

    I did a computer compare between the two dmesg outputs. I noted the USB and sound modules were loaded at different times, but that does not indicate much to me.

    I note from the dmesg you are loading the model option "laptop-hpsense" which is typically associated with a Conexant 5045 hardware audio codec chipset. Out of curiousity, did you try the other Conexant 5045 model options (instead of "laptop-hpsense") to see if their behaviour was worse or better? ie try "laptop-micsense" or "laptop-hpimcsense" ?

    I also did a search on alsa for the CX5045, and I noted there are some updates in alsa 1.0.17 for the CX5045:
    Search results for CX5045 - AlsaProject

    I do not know if any of those improve the situation wrt battery operation. Nor do I know what alsa version you are using, so maybe you already have the latest alsa version.

    Finally, a question. ... when on battery, did you try restarting alsa to see if it makes any difference? ie in a konsole/gnome-terminal, with root permissions, type: rcalsasound restart

  10. #10
    Join Date
    Jun 2008
    Location
    Kln, Deutschland
    Posts
    1,054

    Default Re: Strange "pop"/"click" sound from Speakers Every Time

    I tried each of the laptop modes you suggested, but no change.

    The alsa restart command did fix the problem though. Although not a permanent solution.

    The pop happens after 11 seconds (when on battery power), which seems to be the inactivity timeout of the sound system.

    When a sound is played, the pop occurs just before, then again 11 seconds later, as (I assume) the sound device is once again released after the timeout count.

Page 1 of 4 123 ... LastLast

Tags for this Thread

Posting Permissions

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