From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] Add default config for tegra-alc5632 (as found on paz00) Date: Mon, 27 Feb 2012 17:32:10 +0100 Message-ID: References: <1328561498-19337-1-git-send-email-fercerpav@gmail.com> <4F30BC18.3040102@nvidia.com> <20120207125404.GD11313@home.lan> <20120207131339.GK3332@opensource.wolfsonmicro.com> <20120224084346.GI22762@home.lan> 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 (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id EE2022469D for ; Mon, 27 Feb 2012 17:32:11 +0100 (CET) In-Reply-To: <20120224084346.GI22762@home.lan> 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: Paul Fertser Cc: "alsa-devel@alsa-project.org" , Stephen Warren , Mark Brown , Marc Dietrich , Oliver Grawert , Leon Romanovsky , Andrey Danin List-Id: alsa-devel@alsa-project.org At Fri, 24 Feb 2012 12:43:47 +0400, Paul Fertser wrote: > > Hi, > > On Tue, Feb 07, 2012 at 01:13:39PM +0000, Mark Brown wrote: > > On Tue, Feb 07, 2012 at 04:54:04PM +0400, Paul Fertser wrote: > > > Mark, do you have some idea how to solve the issue at hand (having > > > dmix on this netbook by default) better? Is quantity of maximum > > > simultaneous playback/record PCM streams already queryable by the > > > userspace? Somehow it happened that adding per-device config file was > > > ok during all these years, is there a better way now? > > > > For almost all devices there's one stream supported in each direction, > > if we were assuming any default that'd be it. > > Takashi, can you please provide some feedback on this thread? The reason dmix is implemented in a white-list way in alsa-lib is that dmix isn't always working well. The support was limited on some architectures, and could be buggy when the buffer transfer isn't standard. So, unless the situation doesn't change drastically, I don't think it's wise to change the policy for now. In your case, just apply tegra-alc5632, and define an alias of Compal PAZ00. This would be just a safer option. Of course, if there are more hundreds of different drivers come up soon now with different card->driver name strings, and all of them must be set up with dmix, then we can reconsider. thanks, Takashi