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>,
	Takashi Iwai <tiwai@suse.de>
Subject: Re: [PATCH ALSA HDA 1/1] Fix alc662_dac_nid and change 6stack-dig to 5stack-dig
Date: Thu, 14 Apr 2011 19:11:20 +0800	[thread overview]
Message-ID: <BANLkTik57-t7OH=JUC7wv0aMFuVRX2735A@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=4wGJSDGOWwrFHMhd9w17tWvbrNQ@mail.gmail.com>

2011/4/13 Valerio tesei <valerio.tesei@gmail.com>

>
>
> Yes but my motherboard is ASUS P7H55D-M PRO not ASUS P7H55-M PRO i
> dont know the exact differences between h55d and h55 (i think only a
> 'deluxe' on the package)
> On Asus compare, differences are about gigabit lan (realtek obviusly)
> on p7h55d-pro and more "asus unique features" on p7h55d-pro (wasted
> money to get nothing more than value mobo)
> This is my back panel :
> http://img40.imageshack.us/img40/8864/asusp7h55dmpro1156ddr3m.jpg
> seems the same as p7h55-pro
>  are out of my skills.
> I will revert sound-2.6-git changes (printk and patch you suggested
> above), create a new alsa-info, dump the graph by hda-analyzer tool, I
> will post all these things later (when back home)
> Anyway, all of you make a great work. I realy appreciate. Thanks All.
>

I guess those patches are ok since those connections are also unmuted in my
10 channels ad1988a

As alc892 datasheet is available at realtek web site , no need to use
codecgraph, just look at the Block diagram and you will able to find out
those inputs pins (e.g. Front Mic, Rear Mic ,... ) connected through 0x0b to
those output pins


Takashi  ,
 Is it correct to set spec->multiout.hp_nid = 0 or
spec->multiout.no_share_stream in order to disable the multiout to use hp
dac

and use alt_dac_nid and stream_analog_alt_playback to enable Front Panel HP
playback (multistream playback) like those intel desktop videos ?

This assign headphone and mic at front panel to alt_playback and alt_capture
"hw:0,2"


    if (!spec->cap_mixer)
        set_capture_mixer(codec);

+    if (codec->vendor_id == 0x10ec0892) {
+/* enable multistream for front panel hp */
+       if (spec->multiout.hp_nid && spec->autocfg.line_outs == 4) {
+           spec->alt_dac_nid = spec->multiout.hp_nid;
+           spec->multiout.hp_nid = 0;
+           spec->stream_analog_alt_playback =
&alc880_pcm_analog_alt_playback;
+       }
+        if (spec->num_adc_nids>1 && spec->autocfg.num_inputs > 2)
+            spec->stream_analog_alt_capture =
&alc880_pcm_analog_alt_capture;
+   }

    if (has_cdefine_beep(codec)) {

  parent reply	other threads:[~2011-04-14 11:11 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 14:59 [PATCH ALSA HDA 1/1] Fix alc662_dac_nid and change 6stack-dig to 5stack-dig Raymond Yau
2011-04-06  6:19 ` Takashi Iwai
2011-04-06  7:35   ` Raymond Yau
2011-04-06  7:41     ` Takashi Iwai
2011-04-06  8:29       ` Raymond Yau
2011-04-06  9:29         ` Takashi Iwai
2011-04-06 10:49           ` Valerio tesei
2011-04-07  1:53             ` Raymond Yau
2011-04-07 12:59               ` Valerio tesei
2011-04-07 13:13                 ` Raymond Yau
2011-04-07 13:55                   ` Valerio tesei
2011-04-07 19:44                   ` Valerio Tesei
2011-04-08  0:48                     ` Raymond Yau
2011-04-06 12:59           ` Raymond Yau
2011-04-06 13:07             ` Takashi Iwai
2011-04-06 13:19               ` Takashi Iwai
2011-04-08  2:06           ` Raymond Yau
2011-04-08  8:38             ` Valerio tesei
2011-04-08  9:28               ` OT: applying patches (was: [PATCH ALSA HDA 1/1] Fix alc662_dac_nid and change 6stack-dig to 5stack-dig) Paul Menzel
2011-04-08  9:47                 ` Valerio tesei
2011-04-08 10:27                   ` snd-hda-intel and parameter `patch` (was: OT: applying patches) Paul Menzel
2011-04-08 14:44                     ` snd-hda-intel and parameter `patch` David Henningsson
2011-04-10  1:21               ` [PATCH ALSA HDA 1/1] Fix alc662_dac_nid and change 6stack-dig to 5stack-dig Raymond Yau
2011-04-11  8:21                 ` Valerio tesei
2011-04-11 19:28                   ` Valerio Tesei
2011-04-13  8:52                     ` Raymond Yau
2011-04-13 11:08                       ` Valerio tesei
2011-04-13 19:12                         ` Valerio Tesei
2011-04-14 11:11                         ` Raymond Yau [this message]
2011-04-18 19:53                           ` Valerio Tesei

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='BANLkTik57-t7OH=JUC7wv0aMFuVRX2735A@mail.gmail.com' \
    --to=superquad.vortex2@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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).