You are not logged in.

#1 2014-02-03 15:35:14

pivotraze
Member
From: Missoula, MT
Registered: 2011-08-21
Posts: 113

[SOLVED]Speaker Pops?

On Linux, my speakers love to pop for some reason, and it's really annoying. Not only do they pop, but they make white noise.

lspci:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)
08:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
09:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)

lsusb:

Bus 004 Device 002: ID 8087:8000 Intel Corp. 
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:07da Intel Corp. 
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 174f:1474 Syntek 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[cody@cody-arch ~]$ cat /proc/asound/cards
 0 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xc2610000 irq 50
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xc2614000 irq 46
 4 [ThinkPadEC     ]: ThinkPad EC - ThinkPad Console Audio Control
                      ThinkPad Console Audio Control at EC reg 0x30, fw unknown
[cody@cody-arch ~]$ cat /etc/modprobe.d/modprobe.conf 
options sna_hda_intel power_save=0 power_save_controller=N

If you need any other commands, just let me know smile

*EDIT: If it matters, TLP is installed (but it happens usually when audio is not playing, regardless of if it is plugged in or not.)

Last edited by pivotraze (2014-02-03 18:56:40)

Offline

#2 2014-02-03 16:23:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Speaker Pops?

When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#3 2014-02-03 16:23:29

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED]Speaker Pops?

This is quite common issue with some audio chips when audio power saving is enabled. Only way to resolve this seems to be disabling audio power saving, which is bit of a drag if you have a laptop.

I see you already have disabled it via modprobe.conf, but you probably need to disable it for TLP also. you can do this by adding SOUND_POWER_SAVE=0 in /etc/default/tlp

Offline

#4 2014-02-03 16:34:41

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Speaker Pops?

@ooo, from the posted /etc/modprobe.d file in the first post though, it would seem that this is a desktop/server and that the snd_hda_intel power_save it turned off...

Offline

#5 2014-02-03 16:47:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Speaker Pops?

ooo, if you have any tips, please add them to https://wiki.archlinux.org/index.php/Al … g_playback , but OP is already doing what's in there.

Offline

#6 2014-02-03 18:55:54

pivotraze
Member
From: Missoula, MT
Registered: 2011-08-21
Posts: 113

Re: [SOLVED]Speaker Pops?

ooo wrote:

This is quite common issue with some audio chips when audio power saving is enabled. Only way to resolve this seems to be disabling audio power saving, which is bit of a drag if you have a laptop.

I see you already have disabled it via modprobe.conf, but you probably need to disable it for TLP also. you can do this by adding SOUND_POWER_SAVE=0 in /etc/default/tlp

It seems like the TLP fixed it. I haven't heard the issue again so far. If it does, I'll be back! haha

Offline

#7 2014-02-05 13:19:53

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED]Speaker Pops?

@WonderWoofy,@karol, sorry I made my previous reply a bit hasty, so the point may not have come out very clear.

What I think is going on, is that even though you have disabled audio power saving via modprobe.conf, when TLP runs (after modprobe), it enables audio power saving again by its default configuration.
you can test this by checking /sys/module/snd_hda_intel/parameters/power_save after enabling audio power saving for, and restarting TLP

I don't know if that is worth adding to the wiki, since this is sort of a special case, and if people are using scripts like TLP they should already understand what it is doing.

happy to hear that my suggestion seemed to fix your issue :)

Offline

Board footer

Powered by FluxBB