From: Takashi Iwai Subject: Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded Date: Thu, 08 Mar 2007 16:55:07 +0100 Message-ID: References: <200703051024.l25AOIF3015951@shell0.pdx.osdl.net> <45EC2DEB.1050108@googlemail.com> <45EEA3C4.7000501@googlemail.com> <20070307104746.f08a2e84.akpm@linux-foundation.org> <6bffcb0e0703071141j42309702w793e4a76b1b23bfa@mail.gmail.com> <20070307115024.756c848f.akpm@linux-foundation.org> <45EF3B2C.9060801@googlemail.com> <45F02EE2.6040606@googlemail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id E295A24388 for ; Thu, 8 Mar 2007 16:55:14 +0100 (CET) In-Reply-To: <45F02EE2.6040606@googlemail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Michal Piotrowski Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Andrew Morton , Adrian Bunk , Linus Torvalds , Jaroslav Kysela List-Id: alsa-devel@alsa-project.org At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: > = > Takashi Iwai napisa=B3(a): > > At Wed, 07 Mar 2007 23:22:36 +0100, > > Michal Piotrowski wrote: > >> Hi Takashi, > >> > >> Takashi Iwai napisa=B3(a): > >>> At Wed, 7 Mar 2007 11:50:24 -0800, > >>> Andrew Morton wrote: > >>>> On Wed, 7 Mar 2007 20:41:30 +0100 "Michal Piotrowski" wrote: > >>>> > >>>>>>> 831466f4ad2b5fe23dff77edbe6a7c244435e973 is first bad commit > >>>>>>> commit 831466f4ad2b5fe23dff77edbe6a7c244435e973 > >>>>>>> Author: Randy Cushman > >>>>>>> Date: Tue Dec 19 18:42:16 2006 +0100 > >>>>>>> > >>>>>>> [ALSA] ac97 - fix microphone and line_in selection logic > >>>>>>> > >>>>>>> This patch fixes the Microphone and LINE_IN select logic for > >>>>>>> Analog Devices surround codecs with shared jacks. The existi= ng > >>>>>>> code can never utilize the shared jacks for Microphone and LI= NE_IN > >>>>>>> due to the reversed jack selection logic. The patched code > >>>>>>> correctly selects the shared jack for input if the 'Channel M= ode' > >>>>>>> selector does not specify that the jack is to be used for out= put. > >>>>>>> Specifically, in '2ch' mode the Center/LFE jack is used for > >>>>>>> microphone input and the Surround jack is used for LINE_IN, > >>>>>>> in '4ch' mode the Center/LFE jack is used for microphone input > >>>>>>> and the Surround jack is used for output, and in '6ch' mode > >>>>>>> both jacks are used for output. > >>>>>>> > >>>>>>> Signed-off-by: Randy Cushman > >>>>>>> Signed-off-by: Takashi Iwai > >>>>>>> Signed-off-by: Jaroslav Kysela > >>>>>>> > >>>>>> Is 2.6.21-rc3 similarly broken? > >>>>> Yes. > >>>>> > >>>> OK. Can you please confirm that applying the below fixes 2.6.21-rc3? > >>>> > >>>> If so, I'll queue it up for application in a week or two if there is= no > >>>> progress on this. > >>> [sorry for the late interrupt - I'm just back from a vacation] > >>> > >>> Could you postpone reverting for a while? > >>> I guess this possible regression is limited only to a certain type of > >>> ac97 codec chip. The patch applied there was a fix for many codec > >>> chips. > >>> > >>> Which codec chip are you using specifically? Please check > >>> /proc/asound/card0/codec97#0/* file(s). > >> 0-0/0: Analog Devices AD1985 > > = > > OK, that's good to know. > > = > >> control.43 { > >> comment.access 'read write' > >> comment.type BOOLEAN > >> comment.count 1 > >> iface MIXER > >> name 'Spread Front to Surround and Center/LFE' > >> value true > >> } > > = > > So, you're playing two-channel samples and get no output from surround > > and CLFE? > = > Yes. > = > > Or, does it happen if you play a real 5.1 channel file? > > (for example, try speaker-test -c6) > = > It doesn't work for me on both kernels. Pass -Dplug:surround51 to speaker-test in addition. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE= VDEV