[alsa-devel] Noise on snd-hda-intel

Raymond Yau superquad.vortex2 at gmail.com
Mon Jul 4 07:20:26 CEST 2011


2011/6/24 Sune Mølgaard <sune at molgaard.org>:


Refer to patch eb541337b7a43822fce7d0c9d967ee149b2d9a96

"ALSA: hda - Make converter setups sticky"

The patch create an array of 8 elements for converter caches but there
are more than 8 converters in ad1988/ad1989

5 analog Audio Output + 3 analog Audio Input + Digital Audio Output +
DIgital Input


+       snd_array_init(&codec->cvt_setups, sizeof(struct hda_cvt_setup), 8);


>>
>> 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.


!!Modprobe options (Sound related)
!!--------------------------------

snd-usb-audio: index=-2
snd_hda_intel: model=6stack enable=1 index=0

Seem those snd-usb-audio are loaded before snd-hda-intel and that's
why your onboard become card 2 instead of card 0


>
>> since pulseaudio use "front:2" for playback and capture and this won't
>> create "digital capture volume" control
>
> How to remedy?

Are you upgarded from version which use dmix/dsnoop ?

or the "Digital Capture Volume" control is created when  remove
alsa-pulse-plugin

There are three capture subdevices since ad1988/ad1989 have 3 [Audio Input]

when application using dsnoop which use subdevice 0 by default

However for PA server release the capture device after probe
so it is possible that other application (e.g. arecord ) can open subdevice 0

PA server will open the next available subdevice

https://qa.mandriva.com/show_bug.cgi?id=52175


card 2: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 3/3
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2



Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 48 [89%] [13.50dB] [on]
  Front Right: Capture 48 [89%] [13.50dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 0 [0%] [-58.50dB] [off]
  Front Right: Capture 0 [0%] [-58.50dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 54
  Front Left: Capture 0 [0%] [-58.50dB] [off]
  Front Right: Capture 0 [0%] [-58.50dB] [off]


More information about the Alsa-devel mailing list