[alsa-devel] Multistreaming Playback using Front Panel Headphone with realtek codec

Raymond Yau superquad.vortex2 at gmail.com
Sat May 7 04:52:09 CEST 2011

2011/5/5 Valerio tesei <valerio.tesei at gmail.com>

> Hi Raymond,
> About my problem, the audio card with the latest patches seems to work (but
> great noise when nothing is playing is present, i also tried to mute
> everything in alsamixer) so i could say "it works with model=auto"

I think it just partially works with model=auto

according to your alsa-info.sh

> I applied the patch, and build the kernel, this is my lastest alsa-info:
> http://www.alsa-project.org/db/?f=61aa4129d0ea771ebc7226ea80c5c3ead24ef05c

There are two sets of capture volume/switch and input sources controls but
only one capture device


**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1

Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line'
  Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line'
  Item0: 'Line'

What kind of noise ?

Do you mean that the noise can be hear in HP and all audio jacks at rear
panel ?

Have you try those parameter in


Assuming that you are using default devices in

You should keep "PCM Playback Volume" at 0dB since it a softvol plugin

Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Front Left: Playback 180 [71%] [-15.00dB]
  Front Right: Playback 180 [71%] [-15.00dB]

    control.36 {
        comment.access 'read write user'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 255'
        comment.tlv '0000000100000008ffffec1400000014'
        comment.dbmin -5100
        comment.dbmax 0
        iface MIXER
        name 'PCM Playback Volume'
        value.0 180
        value.1 180

> So i made the test, i correctly hear the tests, 7 outputs for the rear
> panel, and 2 for the front, but when i play the first test, i hear on
> the front panel some noise and realy crackly and whispered the tests
> when front left and front right are played, i guess it is not normal,
> may this help?

Can you compile the driver  --with-debug=verbose  ?

Check those hda_codec_setup_stream , hda_codec_prepare_stream and

when the driver is init, "independent HP" is off by default
so you should find one setup stream/cleanup stream for each DAC

when turn on , only four DAC is used when playing 8 channels

only 1 DAC is used for device 2

More information about the Alsa-devel mailing list