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