From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valerio Tesei Subject: Re: [PATCH ALSA HDA 1/1] Fix alc662_dac_nid and change 6stack-dig to 5stack-dig Date: Mon, 18 Apr 2011 21:53:31 +0200 Message-ID: <4DAC96BB.7000105@gmail.com> References: <4DA3566E.6000600@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ww0-f51.google.com (mail-ww0-f51.google.com [74.125.82.51]) by alsa0.perex.cz (Postfix) with ESMTP id 6F2F0243F5 for ; Mon, 18 Apr 2011 21:53:34 +0200 (CEST) Received: by wwf26 with SMTP id 26so4787880wwf.20 for ; Mon, 18 Apr 2011 12:53:33 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Il 14/04/2011 13:11, Raymond Yau ha scritto: > 2011/4/13 Valerio tesei > >> >> 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)) { > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel Double checked all things that could make problems, alsa version, kernel configuration, lib version, i dont find any solution. Audio is cracky, some times does not work, front and rear mic does not work, I applied the patch you suggested Raymond, nothing changed. Do I open a separate thread? If could help some times, when I start virutalbox with windows 7 or windows xp machine image, audio starts work well, no noise no problems, but after a little usage (an mp3 with mplayer) noise is back and mic stop working again, i search in dmesg for any info about, but the messages are always the same. this is my last alsa-info http://www.alsa-project.org/db/?f=9806a84f0d24e576b8b84524a7fb46a3f3703800 my latest kernel config (sound-2.6 Takashi's git) http://valeriotesei.com/alsa/kconfig There is a debug tool to show connections/pinstatus on windows7 to try replicate those connection/pinstatus on alsa? -- *Email:* valerio.tesei@gmail.com *Cellulare:* +39.3394768306 *Gtalk:* valerio.tesei@gmail.com *LinkedIn:* http://www.linkedin.com/pub/valerio-tesei/22/a87/577