You are not logged in.

#1 2014-07-27 07:07:36

bitvirus
Member
Registered: 2014-07-27
Posts: 1

Popping noise on shutdown

hello,my laptop is lenovo y410p with JBL speaker( i think its a external speaker but hided somewhere),
I have Gnome 3.12 installed and sound is being managed by PulseAudio - Alas setup.

typed lspic | grep Audio
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)

aplay - l
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC282 Analog [ALC282 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC282 Digital [ALC282 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

alsamixer just have an item : Master

Anyone can help me ?and sorry for my poor english smile

Offline

#2 2014-07-27 09:36:31

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Popping noise on shutdown

Try running this, before shutdown (from old thread):

amixer -q set "Master" mute

Another interesting thing to try would be to play silence for a second, after the above command - maybe that would help to drain the capacitor.

aplay -q -d 1 /root/silence.wav

Offline

#3 2014-07-27 10:20:35

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Popping noise on shutdown

bitvirus wrote:

alsamixer just have an item : Master

Alsamixer shows only one control, since this is the hdmi card (card 0). Run alsamixer -c 1 or amixer -c PCH to show/list controls for the PCH card. Setting volume levels down/muting is a workaround worth trying, this issue should however be handled by the driver itself without any user interaction.

I found this thread. It suggests loading the "generic" module model for the PCH sound card, but since both your cards use snd-hda-intel, you need to find out and use their vid and pid as described on the alsa wiki (read the whole chapter). Reordering them using index was also mentioned.

Offline

#4 2014-08-13 01:03:41

berrykerry789
Member
Registered: 2014-08-02
Posts: 11

Re: Popping noise on shutdown

I also have a y410p with the same issue.  It seems that even booting up the installation disk, then simply shutting down creates the popping noise.  (Two loud pops about 3/4 of a second apart, one for each speaker).  Apparently other distros like Ubuntu and Bodhi don't have this problem.  (Ubuntu used to have it, but doesn't now)  Is there anything that's different in how Arch manages it's sound compared to Ubuntu/Bodhi that could be causing this issue?

Last edited by berrykerry789 (2014-08-13 01:07:00)

Offline

#5 2014-08-13 05:49:33

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Popping noise on shutdown

berrykerry789 wrote:

compared to Ubuntu

Ubuntu *what* - Trusty?

If you have a laptop which clicks reliably, you're in a good position to try to find patterns, playing with e.g.:

aplay -q -d1 /dev/zero
amixer -q set "Master" 0%
aplay -q -d1 silence.wav    (see link I posted in this thread, for silence.wav)
(unplugging headphones)

My laptop only has a slight pop at shutdown, intermittently, But this seems to fix it:

amixer -q set "Master" 0%
aplay -q -d 1 /root/silence.wav

I'm sure that silence.wav can be improved, e.g. probably only a fraction of a second of playing time is required.

Also see other commands that might work:

amixer -q set Master mute
modprobe -r snd-hda-intel

There's also an interesting kernel patch proposed.

Offline

#6 2014-08-13 11:17:59

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Popping noise on shutdown

@brebs that particular patch is already integrated into patch_realtek.c seemed to me to be integrated and it should be respected here, since ALC282 seems to be a variant of ALC269.

@berrykerry789 you try loading the module with different power_save settings, the global one and the one for controller, so 4 combinations.

Edit: See below.

Last edited by emeres (2014-08-13 18:51:43)

Offline

#7 2014-08-13 18:22:34

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Popping noise on shutdown

emeres wrote:

is already integrated

No - the point was that A & C should be "shut up". Currently only B is.

Just an interesting idea, dunno if it's true.

Offline

#8 2014-08-13 18:39:51

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Popping noise on shutdown

Right, my bad, a big chunk of code that I missed right there. Next time I am definitely going to use diff.

brebs wrote:

Just an interesting idea, dunno if it's true.

One would have to take a look at the datasheet, those are usually reference designs, so it should be sufficient.

Offline

#9 2014-10-31 23:08:49

berrykerry789
Member
Registered: 2014-08-02
Posts: 11

Re: Popping noise on shutdown

Ok, I finally fixed the issue.  All I had to do was add "options snd-hda-intel model=,generic" to /etc/modprobe.d/modprobe.conf
Also disabling auto-mute somehow fixes the weird buzzing sound when the backlit keyboard is turned to the medium setting.

Last edited by berrykerry789 (2014-10-31 23:09:17)

Offline

Board footer

Powered by FluxBB