From: Takashi Iwai Subject: Re: Realtek ALC268, Acer 4315 ?Use mic port as independent output? Date: Fri, 31 Oct 2008 10:03:10 +0100 Message-ID: References: <490AC80F.7020704@audioscience.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id EEE582447A for ; Fri, 31 Oct 2008 10:03:10 +0100 (CET) In-Reply-To: <490AC80F.7020704@audioscience.com> 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: Eliot Blennerhassett Cc: alsa-devel@alsa-project.org, Eliot Blennerhassett List-Id: alsa-devel@alsa-project.org At Fri, 31 Oct 2008 21:55:43 +1300, Eliot Blennerhassett wrote: > > Greetings, > > I have acer 4315 laptop with realtek alc268 codec. > (It also has hda modem which I don't use.) > > Looking at the datasheet, the codec has 2 PCM outs, but alsa hda driver > with model=acer shows only one. > > I want to know if I can enable the 2nd output, and use the external mic > jack as a second line out? > > I can see that PCM2/LOUT2 connects to HP-OUT (widget 0x15), while > PCM1/LOUT1 connects to several pins 0x[14,15,16,18,1A] > > How do I go about testing this. Does the hda model=test enable *every* > widget and PCM and allow change of pin direction etc? > > BTW I want to use the 2nd output as the secondar "preview" (prelisten?) > headphone output for my audio player (pytone), while main output is > going to speakers. The multi streams (not multi channels) aren't supported yet for Realtek codec support codes. So it won't work as is. It's on my TODO list. A basic framework was already prepared. spec->stream_analog_alt_playback can store the stream setup. But it's not used yet in the codec setup code. Takashi