alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Raymond Yau <superquad.vortex2@gmail.com>
To: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: Multistreaming Playback using Front Panel Headphone with realtek codec
Date: Sat, 7 May 2011 10:52:09 +0800	[thread overview]
Message-ID: <BANLkTim_JYqCiPMaZ+2Ffi+t=1_AuF6KuA@mail.gmail.com> (raw)
In-Reply-To: <BANLkTikP+e2Oe_K0yFMJNWmYGdMkdyhN+A@mail.gmail.com>

2011/5/5 Valerio tesei <valerio.tesei@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

ARECORD

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

http://git.alsa-project.org/?p=alsa-kernel.git;a=blob_plain;f=Documentation/sound/alsa/HD-Audio.txt


Assuming that you are using default devices in
/usr/share/alsa/cards/HDA-Intel.conf

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
  Mono:
  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
hda_codec_cleanup_stream

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

  reply	other threads:[~2011-05-07  2:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04 15:42 Multistreaming Playback using Front Panel Headphone with realtek codec Raymond Yau
2011-05-05  9:54 ` Takashi Iwai
2011-05-05 11:26   ` Valerio tesei
2011-05-07  2:52     ` Raymond Yau [this message]
2011-05-09  8:12       ` Valerio tesei
2011-05-10  0:50         ` Raymond Yau
2011-05-06  3:30   ` Raymond Yau
2011-05-06  5:28     ` Takashi Iwai
2011-05-07  3:48       ` Raymond Yau
2011-05-09 12:13         ` Takashi Iwai
2011-05-10  6:42           ` Raymond Yau
2011-05-10  7:11             ` Takashi Iwai
2011-05-05 19:50 ` Valerio Tesei
2011-05-15  3:21   ` Raymond Yau

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='BANLkTim_JYqCiPMaZ+2Ffi+t=1_AuF6KuA@mail.gmail.com' \
    --to=superquad.vortex2@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).