[alsa-devel] Constant noise on HDA ALC275
Hi there,
I've an HDA based chipset in a new Sony Vaio Z (Ivy Bridge). As sound as the system starts and the sound module are loaded, there's a constant noise (shhhhhhht) in the speakers. The noise change a bit if I toggle the mute button, but it's still there.
This noise stops as sound as I plug something in the jack port.
I've tried to play with HDA Analyzer¹, but I've no clue what to look for, so any hint appreciated.
Some information:
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
% aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC275 Analog [ALC275 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0
% lsmod | grep snd snd_hda_codec_hdmi 30783 1 snd_hda_codec_realtek 50906 1 snd_hda_intel 26504 3 snd_hda_codec 83533 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel snd_hwdep 13186 1 snd_hda_codec snd_pcm 64080 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel snd_page_alloc 12969 2 snd_pcm,snd_hda_intel snd_seq 45130 0 snd_seq_device 13176 1 snd_seq snd_timer 22917 2 snd_pcm,snd_seq snd 53077 15 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_seq_device soundcore 13026 1 snd
/proc/asound/card0/codec#0 ==========================
/proc/asound/card0/codec#3 ==========================
¹ http://www.alsa-project.org/main/index.php/HDA_Analyzer
At Sat, 15 Sep 2012 14:57:33 +0200, Julien Danjou wrote:
Hi there,
I've an HDA based chipset in a new Sony Vaio Z (Ivy Bridge). As sound as the system starts and the sound module are loaded, there's a constant noise (shhhhhhht) in the speakers. The noise change a bit if I toggle the mute button, but it's still there.
This noise stops as sound as I plug something in the jack port.
Do you mean the headphone, or any jacks no matter input or output? Also do you get the noise from the headphone output?
In anyway, please give alsa-info.sh output (run with --no-upload option). This will cover more wide range of information.
Last but not least, try the latest kernel (3.6-rc6) if not tried yet :)
Takashi
On Fri, Sep 21 2012, Takashi Iwai wrote:
Hi,
I've an HDA based chipset in a new Sony Vaio Z (Ivy Bridge). As sound as the system starts and the sound module are loaded, there's a constant noise (shhhhhhht) in the speakers. The noise change a bit if I toggle the mute button, but it's still there.
This noise stops as sound as I plug something in the jack port.
Do you mean the headphone, or any jacks no matter input or output?
Anything, external speaker, headphones with or without mic. When I plug something, the noise from the speaker just stops.
I just discoveredtThere's an exception: if a jack is plugged, and if I set "Auto-Mute mode" to "disabled" in alsamixer the noise can be heared. If I set "Auto-Mute mode" back to "enabled", no more noise.
Also do you get the noise from the headphone output?
Never. It's really only the integrated speakers emitting something.
In anyway, please give alsa-info.sh output (run with --no-upload option). This will cover more wide range of information.
Attached.
Last but not least, try the latest kernel (3.6-rc6) if not tried yet :)
I think I forgot to say, I'm running Linux 3.5 indeed. I've tried 3.6-rc1 a couple of weeks ago, and it didn't help. But I'd try rc6 if it has changes that can be related. :)
Thanks for your help!
At Fri, 21 Sep 2012 14:43:19 +0200, Julien Danjou wrote:
On Fri, Sep 21 2012, Takashi Iwai wrote:
Hi,
I've an HDA based chipset in a new Sony Vaio Z (Ivy Bridge). As sound as the system starts and the sound module are loaded, there's a constant noise (shhhhhhht) in the speakers. The noise change a bit if I toggle the mute button, but it's still there.
This noise stops as sound as I plug something in the jack port.
Do you mean the headphone, or any jacks no matter input or output?
Anything, external speaker, headphones with or without mic. When I plug something, the noise from the speaker just stops.
I just discoveredtThere's an exception: if a jack is plugged, and if I set "Auto-Mute mode" to "disabled" in alsamixer the noise can be heared. If I set "Auto-Mute mode" back to "enabled", no more noise.
Well, it means that the noise disappears when the speaker pin is disabled. It's logical.
But my question was: if you plug to an external mic jack and leave the headphone jack, the speaker noise is still there, right?
Also do you get the noise from the headphone output?
Never. It's really only the integrated speakers emitting something.
In anyway, please give alsa-info.sh output (run with --no-upload option). This will cover more wide range of information.
Attached.
Turning EAPD on/off on node 0x14 makes difference?
Takashi
On Fri, Sep 21 2012, Takashi Iwai wrote:
But my question was: if you plug to an external mic jack and leave the headphone jack, the speaker noise is still there, right?
Oh. If I understand correctly you're talking about 2 jacks, but there's only one jack on this laptop, doing both mic and speaker.
Turning EAPD on/off on node 0x14 makes difference?
Yes, turning it off makes the noise disappear. But I can't hear anything, e.g. playing music makes no sound unless I turn it back on. :)
(note that this may be obvious to you, but I don't understand what's EAPD on 0x14 so I'm just explaining what I hear ;-)
At Fri, 21 Sep 2012 15:14:35 +0200, Julien Danjou wrote:
[1 <text/plain (quoted-printable)>] On Fri, Sep 21 2012, Takashi Iwai wrote:
But my question was: if you plug to an external mic jack and leave the headphone jack, the speaker noise is still there, right?
Oh. If I understand correctly you're talking about 2 jacks, but there's only one jack on this laptop, doing both mic and speaker.
I see.
Turning EAPD on/off on node 0x14 makes difference?
Yes, turning it off makes the noise disappear. But I can't hear anything, e.g. playing music makes no sound unless I turn it back on. :)
(note that this may be obvious to you, but I don't understand what's EAPD on 0x14 so I'm just explaining what I hear ;-)
It's something like: hda-verb /dev/snd/hw0D0 0x14 SET_EAPD 0x00 to turn off, and hda-verb /dev/snd/hw0D0 0x14 SET_EAPD 0x02 to turn on.
Also, try to mute all sources in NID 0x0b, hda-verb /dev/snd/hw0D0 0x0b SET_AMP 0x7480
Takashi
On Fri, Sep 21 2012, Takashi Iwai wrote:
It's something like: hda-verb /dev/snd/hw0D0 0x14 SET_EAPD 0x00 to turn off, and
This completely shuts down the speaker: no noise, but no sound at all if I play something.
hda-verb /dev/snd/hw0D0 0x14 SET_EAPD 0x02 to turn on.
That makes it back to normal, with noise. :)
Also, try to mute all sources in NID 0x0b, hda-verb /dev/snd/hw0D0 0x0b SET_AMP 0x7480
This seems to not change anything at all.
At Fri, 21 Sep 2012 15:37:40 +0200, Julien Danjou wrote:
On Fri, Sep 21 2012, Takashi Iwai wrote:
It's something like: hda-verb /dev/snd/hw0D0 0x14 SET_EAPD 0x00 to turn off, and
This completely shuts down the speaker: no noise, but no sound at all if I play something.
hda-verb /dev/snd/hw0D0 0x14 SET_EAPD 0x02 to turn on.
That makes it back to normal, with noise. :)
Also, try to mute all sources in NID 0x0b, hda-verb /dev/snd/hw0D0 0x0b SET_AMP 0x7480
This seems to not change anything at all.
OK, then could you give the alsa-info.sh output at the state where the speaker makes noise? The one you attached is apparently without the speaker.
Takashi
On Fri, Sep 21 2012, Takashi Iwai wrote:
OK, then could you give the alsa-info.sh output at the state where the speaker makes noise? The one you attached is apparently without the speaker.
Sure, attached. Nothing plugged in the jack, and I hear the noise.
At Fri, 21 Sep 2012 16:08:20 +0200, Julien Danjou wrote:
On Fri, Sep 21 2012, Takashi Iwai wrote:
OK, then could you give the alsa-info.sh output at the state where the speaker makes noise? The one you attached is apparently without the speaker.
Sure, attached. Nothing plugged in the jack, and I hear the noise.
Thanks. The DAC paths look good to me. What happens if you load snd-hda-intel module with model="nofixup" option?
Takashi
On Fri, Sep 21 2012, Takashi Iwai wrote:
Thanks. The DAC paths look good to me. What happens if you load snd-hda-intel module with model="nofixup" option?
It doesn't change anything.
FWIW, I did the following:
# rmmod snd-hda-intel (noise still here) # modprobe snd-hda-intel model=nofixup (speakers are silent for 1 sec, then modprobe returns and noise is back) # rmmod snd-hda-intel (noise still here) # modprobe snd-hda-intel (speakers are silent for 1 sec, then modprobe returns and noise is back)
At Fri, 21 Sep 2012 17:29:09 +0200, Julien Danjou wrote:
On Fri, Sep 21 2012, Takashi Iwai wrote:
Thanks. The DAC paths look good to me. What happens if you load snd-hda-intel module with model="nofixup" option?
It doesn't change anything.
FWIW, I did the following:
# rmmod snd-hda-intel (noise still here) # modprobe snd-hda-intel model=nofixup (speakers are silent for 1 sec, then modprobe returns and noise is back) # rmmod snd-hda-intel (noise still here) # modprobe snd-hda-intel (speakers are silent for 1 sec, then modprobe returns and noise is back)
Hm then I have no more clue. Sony must have done something weird...
Takashi
On Fri, Sep 21 2012, Takashi Iwai wrote:
Hm then I have no more clue. Sony must have done something weird...
Too bad, but thanks a lot anyway for your help!
At Fri, 21 Sep 2012 17:55:18 +0200, Julien Danjou wrote:
On Fri, Sep 21 2012, Takashi Iwai wrote:
Hm then I have no more clue. Sony must have done something weird...
Too bad, but thanks a lot anyway for your help!
One last thing I'd try is to disable the analog loopback path
hda-verb /dev/snd/hwC0D0 0x0d SET_AMP 0x7180
Other than that, only insane things like setting VREF to the output pin (e.g. Apple machines need it) or trying some COEF used for other devices.
Takashi
On Fri, Sep 21 2012, Takashi Iwai wrote:
One last thing I'd try is to disable the analog loopback path
hda-verb /dev/snd/hwC0D0 0x0d SET_AMP 0x7180
Woh, that does something! The noise is now different, it's a lot more "piercing". It was shhhhhhht now it's hiiiiiiiiiii.
Hi Takashi,
Thanks for your help so far! I just spent some time playing with hda-analyzer, and found something interesting. Excuse me in advance, I don't really know and understand what I'm talking about, so I'll try to be the more clear I can.
I managed to make the weird sound disappear in one case: when the speakers are not muted, which is at least a good start. All I have to do, it to uncheck the mute buttons of val[8] and val[9] in "Node 0x0b AUD_MIX" and let their value to 0. By the way, changing the value of val[8] to something between 1 and 31 makes a different sound. Changing value of val[9] makes not effect
Does that ring a bell to you, or could you translate this to me? :)
Thanks a lot for your time,
Best,
At Thu, 04 Oct 2012 15:56:55 +0200, Julien Danjou wrote:
Hi Takashi,
Thanks for your help so far! I just spent some time playing with hda-analyzer, and found something interesting. Excuse me in advance, I don't really know and understand what I'm talking about, so I'll try to be the more clear I can.
I managed to make the weird sound disappear in one case: when the speakers are not muted, which is at least a good start. All I have to do, it to uncheck the mute buttons of val[8] and val[9] in "Node 0x0b AUD_MIX" and let their value to 0. By the way, changing the value of val[8] to something between 1 and 31 makes a different sound. Changing value of val[9] makes not effect
Does that ring a bell to you, or could you translate this to me? :)
At best, please give alsa-info.sh outputs at both working and non-working cases. In that way, we can see the internal states more exactly than ambiguous descriptions.
thanks,
Takashi
participants (2)
-
Julien Danjou
-
Takashi Iwai