All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julian Wollrath <jwollrath@web.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, Clemens Ladisch <clemens@ladisch.de>
Subject: Re: Grey noise with HDA Intel PCH
Date: Thu, 14 Aug 2014 17:31:44 +0200	[thread overview]
Message-ID: <20140814173144.0f8db870@saldaea> (raw)
In-Reply-To: <20140814172658.75bd122f@saldaea>

Am Thu, 14 Aug 2014 17:26:58 +0200
schrieb Julian Wollrath <jwollrath@web.de>:

> Am Thu, 14 Aug 2014 17:11:32 +0200
> schrieb Takashi Iwai <tiwai@suse.de>:
> 
> > At Thu, 14 Aug 2014 17:04:59 +0200,
> > Julian Wollrath wrote:
> > > 
> > > Am Thu, 14 Aug 2014 16:47:46 +0200
> > > schrieb Takashi Iwai <tiwai@suse.de>:
> > > 
> > > > At Thu, 14 Aug 2014 16:39:14 +0200,
> > > > Julian Wollrath wrote:
> > > > > 
> > > > > Am Thu, 14 Aug 2014 16:09:51 +0200
> > > > > schrieb Takashi Iwai <tiwai@suse.de>:
> > > > > 
> > > > > > At Thu, 14 Aug 2014 16:07:37 +0200,
> > > > > > Julian Wollrath wrote:
> > > > > > > 
> > > > > > > > > > > Simple mixer control 'Mic',0
> > > > > > > > > > >   Front Left: Playback 0 [0%] [-34.50dB] [on]
> > > > > > > > > > >   Front Right: Playback 0 [0%] [-34.50dB] [on]
> > > > > > > > > > 
> > > > > > > > > > This plays any noise from the mic input.
> > > > > > > > > Turning it off makes no difference since capture is
> > > > > > > > > turned off anyway:
> > > > > > > > 
> > > > > > > > This is a loopback mixer element, it has nothing to do
> > > > > > > > with capture stream.
> > > > > > > > 
> > > > > > > > The likely culprit of the static noises is the signal
> > > > > > > > from the analog loopback.  In some cases, you can
> > > > > > > > disable the whole loopback via "Loopback Mixing" mixer
> > > > > > > > element on the fly.  In some cases, you'd need to
> > > > > > > > disable each mixer input (e.g. "Mic Playback Switch").
> > > > > > > > In some cases (e.g. on some Sony and Dell laptops),
> > > > > > > > you'd need to disable the complete analog loopback at
> > > > > > > > the initialization.
> > > > > > > > 
> > > > > > > > The last one can be done via the early patching or sysfs
> > > > > > > > reconfiguration, pass "mixer_nid = 0" hint.  See
> > > > > > > > HD-Audio.txt for a brief instruction.
> > > > > > > Sadly, that did not help.
> > > > > > 
> > > > > > Give alsa-info.sh output after your change to verify whether
> > > > > > you did correctly.
> > > > > Here it is, cheers:
> > > > 
> > > > Thanks.  The setup looks OK, the path is:
> > > >   DAC (0x02) -> mixer (0x0c) -> mixer (0x14)
> > > > and the mixer mutes the loopback path (index 1).
> > > > 
> > > > Is it the state where you still hear the static noise?
> > > Yes, the alsa-info.sh script was executed, while hearing the
> > > static noise.
> > 
> > OK.  And if you mute "Speaker" or "Headphone", the noise is gone,
> > too, right?
> No, if I mute "Speaker" (the internal laptop speaker) it is not gone.
> It is only gone, if I mute "Master" or have a headphone plugged in and
> mute "Headphone" or "Master".
> 
> More fascinating, it is not present, if the speaker is not muted and I
> disable powersaving via "echo '0' >
> '/sys/module/snd_hda_intel/parameters/power_save'" but even then, it
> is still present on the headphone.
And it is also present, if I mute only the speaker.

> > > > Also, what if you use the module option for snd-hda-intel
> > > > model=nofixup or model=generic?
> > > That did not change anything either. Passing the "mixer_nid = 0"
> > > hint also did not get rid of the static noise, when loading
> > > snd-hda-intel with model=nofixup resp. model=generic.
> > 
> > Did you reboot with setting the option in /etc/modprobe.d/*?
> > Reloading the module might not work for such a problem.
> No, I just unloaded every sound-related module and than loaded the
> module via "modprobe snd-hda-intel model=..." again.
> 
> > In either way, there should be some difference in alsa-info.sh
> > output, e.g. more (or less) mixer items with the model option.
> The difference is their, all the "Dock ..." entries were missing, when
> loading with the model="..." option.
> 
> Cheers,
> Julian

  reply	other threads:[~2014-08-14 15:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14  9:40 Grey noise with HDA Intel PCH Julian Wollrath
2014-08-14 10:20 ` Clemens Ladisch
2014-08-14 10:46   ` Julian Wollrath
2014-08-14 12:17     ` Takashi Iwai
2014-08-14 14:07       ` Julian Wollrath
2014-08-14 14:09         ` Takashi Iwai
2014-08-14 14:39           ` Julian Wollrath
2014-08-14 14:47             ` Takashi Iwai
2014-08-14 15:04               ` Julian Wollrath
2014-08-14 15:11                 ` Takashi Iwai
2014-08-14 15:26                   ` Julian Wollrath
2014-08-14 15:31                     ` Julian Wollrath [this message]
2014-08-14 15:48                     ` Takashi Iwai
2014-08-14 16:29                       ` Julian Wollrath
2014-08-15  6:02                         ` Takashi Iwai
2014-08-22 16:18                           ` Julian Wollrath
2014-08-23 18:40                             ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140814173144.0f8db870@saldaea \
    --to=jwollrath@web.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.