[alsa-devel] Noise on snd-hda-intel
Plugging almost any headset into the front headset jacks on my machine results in noise in the headphones as well as in Skype conversations and/or recording. Said noise is, however not head in the regular speakers (except when playing back recordings, of course. lspci -vvnn gives 00:1b.0 Audio device [0403]: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller [8086:3a3e] Subsystem: ASUSTeK Computer Inc. Device [1043:82ea] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 70 Region 0: Memory at f7ff8000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel and aplay -l gives **** List of PLAYBACK Hardware Devices **** card 0: Device [USB Multimedia Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 I have tried with no modules options as well as options snd_hda_intel model=6stack and options snd_hda_intel model=6stack-dig Best regards, Sune Mølgaard -- You buy Windows, and you put it on your machine-you can't do a whole lot with it. - Bob Muglia, Microsoft Senior Vice President
sune@jekaterina:~$ cat /proc/asound/card2/codec#* | grep Codec Codec: Analog Devices AD1989B btw... /sune -- Optimism: The doctrine that everything is beautiful, including what is ugly, everything good, especially the bad, and everything right that is wrong. ... It is hereditary, but fortunately not contagious. - Ambrose Bierce (1842-1914) - The Devil's Dictionary, 1911
Am Dienstag, den 21.06.2011, 21:42 +0200 schrieb Sune Mølgaard:
sune@jekaterina:~$ cat /proc/asound/card2/codec#* | grep Codec Codec: Analog Devices AD1989B
Please add those information below the first message next time. […] Please provide the information (attach and upload) listed on [1]. Thanks, Paul [1] http://alsa-project.org/main/index.php/Help_To_Debug
Paul Menzel wrote:
Am Dienstag, den 21.06.2011, 21:42 +0200 schrieb Sune Mølgaard:
sune@jekaterina:~$ cat /proc/asound/card2/codec#* | grep Codec Codec: Analog Devices AD1989B
Please add those information below the first message next time.
[…]
Please provide the information (attach and upload) listed on [1].
Thanks,
Paul
Ok, thanks. Attached is the generated file. Best regards, Sune Mølgaard -- By downloading these unsupported tools you are using them at your own risk--you know, like bungee jumping in your underwear or dating your best friend's sister. - Microsoft Internet Explorer 4.0 PowerToys disclaimer
Am Mittwoch, den 22.06.2011, 10:34 +0200 schrieb Sune Mølgaard:
Paul Menzel wrote:
Am Dienstag, den 21.06.2011, 21:42 +0200 schrieb Sune Mølgaard:
[…]
Please provide the information (attach and upload) listed on [1].
[…] Please clean up the quotes before replying!
Ok, thanks.
Attached is the generated file.
[…]
upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.4.60 !!################################
!!Script ran on: Tue Jun 21 21:23:22 UTC 2011
!!Linux Distribution !!------------------
Ubuntu 11.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 11.04"
[…]
!!Kernel Information !!------------------
Kernel release: 3.0.0-rc4-sune-1 Operating System: GNU/Linux Architecture: x86_64 Processor: x86_64 SMP Enabled: Yes
Ok, so you are using Ubuntu and a self-compiled Linux kernel. These are very important information so please mention it next time in the first place. The answers to the following question are probably useful too? 1. Is it a regression? Does this happen with the Linux kernel shipped by Ubuntu or did it happen with your self-compiled Linux kernels before? 2. If it also happens with the default Linux kernel shipped by Ubuntu the easiest way is to follow their instructions to solve sound related problems and report it to them using `ubuntu-bug audio` [1]. There are several developers working for(?) Ubuntu who will probably be able to help you really quickly.
!!ALSA Version !!------------
Driver version: 1.0.24 Library version: 1.0.24.1 Utilities version: 1.0.24.2
[…] I am sorry that I will not be able to help you any further because I do not know anything about the internals. I hope you will be able to fix your problem quickly. Thanks, Paul [1] https://wiki.ubuntu.com/DebuggingSoundProblems
Paul Menzel wrote:
Am Mittwoch, den 22.06.2011, 10:34 +0200 schrieb Sune Mølgaard:
Please clean up the quotes before replying!
Sorry forgot the quotes again. Will try to remember.
Ok, so you are using Ubuntu and a self-compiled Linux kernel. These are very important information so please mention it next time in the first place. The answers to the following question are probably useful too?
Duly noted.
1. Is it a regression? Does this happen with the Linux kernel shipped by Ubuntu or did it happen with your self-compiled Linux kernels before? 2. If it also happens with the default Linux kernel shipped by Ubuntu the easiest way is to follow their instructions to solve sound related problems and report it to them using `ubuntu-bug audio` [1]. There are several developers working for(?) Ubuntu who will probably be able to help you really quickly.
Ad 1) I'm uncertain as to whether it is a regression. This is a new headset to replace my old one. The old one has done this on my desktop machine for ages, but not in my laptop. The new one does this on both desk- and laptop. Ad 2) I'll try the official kernels and report there if it persists. Thank you.
I am sorry that I will not be able to help you any further because I do not know anything about the internals. I hope you will be able to fix your problem quickly.
That's perfectly ok - thank you for helping me this far and thank you for hoping :-) Thanks, Sune -- I have seen no evidence whatsoever that Microsoft's millions of dollars have enabled them to come up with a better product than MIT's few grad students. - Paul D. Smith, on Windows vs. X11
At Wed, 22 Jun 2011 10:34:02 +0200, Sune Mølgaard wrote:
Simple mixer control 'Front Mic',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 22 [71%] [-1.50dB] [on] Front Right: Playback 22 [71%] [-1.50dB] [on]
Try to mute this. Takashi
Takashi Iwai wrote:
At Wed, 22 Jun 2011 10:34:02 +0200, Sune Mølgaard wrote:
Simple mixer control 'Front Mic',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 22 [71%] [-1.50dB] [on] Front Right: Playback 22 [71%] [-1.50dB] [on]
Try to mute this.
Thank you for the suggestion, but it didn't help. At least not as I tried to mute or downplay it in alsamixer - should I try some obscure command to amixer? Best regards, Sune -- Beauty without grace is the hook without the bait. - Ralph Waldo Emerson (1803-1882)
2011/6/23 Sune Mølgaard <sune@molgaard.org>:
Takashi Iwai wrote:
At Wed, 22 Jun 2011 10:34:02 +0200, Sune Mølgaard wrote:
Simple mixer control 'Front Mic',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 22 [71%] [-1.50dB] [on] Front Right: Playback 22 [71%] [-1.50dB] [on]
Try to mute this.
Thank you for the suggestion, but it didn't help. At least not as I tried to mute or downplay it in alsamixer - should I try some obscure command to amixer?
Best regards,
Sune
Does the noise appear when you increase "Front Mic Boost" control from 0dB to 30 dB ? arecord -v -f CD -Dhw:CARD=Intel | aplay -v -Dhw:CARD=Intel
Sorry for mailing in private. I'm used to lists that set Reply-to to the list :-$ Raymond Yau wrote:
Does the noise appear when you increase "Front Mic Boost" control from 0dB to 30 dB ?
arecord -v -f CD -Dhw:CARD=Intel | aplay -v -Dhw:CARD=Intel
Those commands give aplay: main:660: audio open error: Device or resource busy and thus no sound. I have played around with Front Mic Boost, though - it doesn't seem to alter the level of noise. /sune -- Anybody who thinks a little 9,000-line program that's distributed free and can be cloned by anyone is going to affect anything we do at Microsoft has his head screwed on wrong. -Bill Gates, on Java
2011/6/24 Sune Mølgaard <sune@molgaard.org>:
Raymond Yau wrote:
Does the noise appear when you increase "Front Mic Boost" control from 0dB to 30 dB ?
arecord -v -f CD -Dhw:CARD=Intel | aplay -v -Dhw:CARD=Intel
Those commands give
aplay: main:660: audio open error: Device or resource busy
and thus no sound. I have played around with Front Mic Boost, though - it doesn't seem to alter the level of noise.
Which asus motherboard are you using ? Do your computer chassis have a HD compliant front audio panel ? I cannot find any situation which "Noise" appear in Front Panel HP only and does not on rear panel jacks for my ad1988a I guess you have to check the front panel connector and Front Audio Panel There are "click" when I change "Beep Playback Volume" and "pop" when unmute "Beep Playback Switch" in alsamixer on both HP jack and rear panel jacks of my ad1988 aplay -D pulse --period-time=500 48000Hz.wav Playing one instance of aplay at minimum period time just cause CPU go up to 20% and the sound is still good However sound is distorted after you play another instance of aplay at the same time aplay -D pulse --period-time=500 44100Hz.wav
2011/6/22 Sune Mølgaard <sune@molgaard.org>:
Attached is the generated file.
Best regards,
Sune Mølgaard
!!Linux Distribution !!------------------ Ubuntu 11.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 11.04" Is this a clean install of 11.4 or upgrade from previous version of ubuntu which use "default:2" and create "Digital Capture Volume" ? since pulseaudio use "front:2" for playback and capture and this won't create "digital capture volume" control Do you have any application which use the softvol plugin "PCM Playback Volume" ? control.38 { iface MIXER name 'PCM Playback Volume' value.0 248 value.1 249 comment { access 'read write user' type INTEGER count 2 range '0 - 255' tlv '0000000100000008ffffec1400000014' dbmin -5100 dbmax 0 dbvalue.0 -140 dbvalue.1 -120 } } control.39 { iface MIXER name 'Digital Capture Volume' value.0 0 value.1 0 comment { access 'read write user' type INTEGER count 2 range '0 - 120' tlv '0000000100000008fffff44800000032' dbmin -3000 dbmax 3000 dbvalue.0 -3000 dbvalue.1 -3000 }
Sorry for mailing in private. I'm used to lists that set Reply-to to the list :-$ Raymond Yau wrote:
Is this a clean install of 11.4 or upgrade from previous version of ubuntu which use "default:2" and create "Digital Capture Volume" ?
It is an upgrade.
since pulseaudio use "front:2" for playback and capture and this won't create "digital capture volume" control
How to remedy?
Do you have any application which use the softvol plugin "PCM Playback Volume" ?
Not to my knowledge, but how do I check? /sune -- It was once proposed that all religions persuasions should be free and their worship publicly exercised. We Catholics have rejected this article as contrary to Roman Catholic canon law. - Pope Pius VII, 1808
Thank you all for your help so far. Currently I'm on a long-planned vacation until Saturday, but will take up troubleshooting when I get back. My very best regards, Sune Mølgaard
2011/6/22 Sune Mølgaard <sune@molgaard.org>:
Plugging almost any headset into the front headset jacks on my machine results in noise in the headphones as well as in Skype conversations and/or recording. Said noise is, however not head in the regular speakers (except when playing back recordings, of course.
lspci -vvnn gives
00:1b.0 Audio device [0403]: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller [8086:3a3e] Subsystem: ASUSTeK Computer Inc. Device [1043:82ea] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 70 Region 0: Memory at f7ff8000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel
and aplay -l gives
**** List of PLAYBACK Hardware Devices **** card 0: Device [USB Multimedia Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
I have tried with no modules options as well as
options snd_hda_intel model=6stack
and
options snd_hda_intel model=6stack-dig
Best regards,
Sune Mølgaard
Are you sure that it is noise ? Just test Ubuntu 11.04 Live CD HP has no sound when select Analog Headphone connector in gnome sound preference and HP has sound when select Analog Output as connector I guess PA server cannot find "Headphone Playback Volume". since only "Headphone Playback Switch" exist in Ubuntu 11.04 The other strange thing is alsamixer can mute but unmute has no effect ,need to use gnome sound preference
participants (4)
-
Paul Menzel -
Raymond Yau -
Sune Mølgaard -
Takashi Iwai