From: Takashi Iwai Subject: Re: pin assignment for ALC260 (hda-intel) Date: Thu, 19 Jan 2006 12:50:31 +0100 Message-ID: References: <20060119094653.GA3838@ag-smil.arcig> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20060119094653.GA3838@ag-smil.arcig> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: =?ISO-8859-1?Q?V=E1clav_?= =?ISO-8859-2?Q?=A9milauer?= Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 19 Jan 2006 10:46:53 +0100, V=C3=A1clav =C5=A0milauer wrote: >=20 > (jwoithe: respond privately, we take this off list unless someone else > gets in.) >=20 > I've been playing with ALC260 (patch_realtek.c) following the direction= s > for bug #1618. >=20 > What I've done is the following: >=20 > 1. I did not modify alc260_base_mixer, as it seems to cover all mixers > on the chip (i.e. 0x7-0xa, following the diagram in the datasheet); I > assume that if it is HDA_INPUT or HDA_OUTPUT makes only the difference > whether the mixer displays it under playback or capture. No, HDA_INPUT and HDA_OUTPUT don't specify the direction but specify which side of widget amp is affected by that control. A widget may have amps in the both sides, before the processing and after the processing. It may have multiple individual input amps but only one output amp. > 2. alc260_init_verbs is problematic for me. I did > {0x0f, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT} for all the i/o widgets= , > i.e. 0xf-0x16. No sound so far. PIN_OUT is defined as 0x40, which is no= t > a number I was able to find in the datasheet. You surely have to find this bit in the datasheet, at least, on HD-audio specification. > Can I assume that widgets > connected to PIN_OUT are relly going to the real output. Yes, but without HP amplifier (if any). > I am at loss also with AC_VERB_CONNECT_SEL. What is its parameter 0x0? > /* select line-out */ {0x15, AC_VERB_SET_CONNECT_SEL, 0x00}.? It selects the first index if multiple widgets are connected to the target widget. > Is the > only point that I will try to connect all line IO (0xf-0x16) to 0x0-0x3 > (or more?) (which is, according to some comments in the realtek_patch.c= : > HP, line, mic?) I don't find any such numbers on the datasheet. You can see the connection list in the proc file even if it's not on the datasheet (and IIRC ALC260 datasheet has a table of connection lists, too). > I am sorry that I pose such questtions, but I don't really know nothing > about ALSA internals. Well, the above are pretty generic for HD-audio codecs and irrelevant with ALSA internals at all ;) Takashi ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642