From: Takashi Iwai Subject: Re: [PATCH] conf: Move UCM profile snippets into ucm-includes subdirectory Date: Wed, 28 Nov 2018 10:55:12 +0100 Message-ID: References: <20181127130852.7567-1-tiwai@suse.de> 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 mx1.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E67CC267AF3 for ; Wed, 28 Nov 2018 10:55:13 +0100 (CET) In-Reply-To: <20181127130852.7567-1-tiwai@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org Cc: Hans de Goede , Pierre-Louis Bossart List-Id: alsa-devel@alsa-project.org On Tue, 27 Nov 2018 14:08:52 +0100, Takashi Iwai wrote: > > We have placed UCM profile snippets to be included by the main config > files also in the same directory, src/conf/ucm, it confuses alsaucm > program that scans over all subdirectories. It thinks such a file is > also the main config file, and spews errors like: > % alsaucm > ALSA lib utils.c:67:(uc_mgr_config_load) could not open configuration file /usr/share/alsa/ucm/bytcr/bytcr.conf > ALSA lib parser.c:1427:(load_master_config) error: could not parse configuration for card bytcr > alsaucm: unable to obtain card list: No such file or directory > > For avoiding this, move UCM profile snippets into the own root > directory, src/conf/ucm-includes, and include them by changing the > include with "". Scratch this one, there were a few more places requiring the fixes. Furthermore, after looking at the code again, I found that we have already defined the subdirectories for components. Currently, it's "codecs" and "dsps". Now I added "platforms", and move the included files to the appropriate subdirs. That is, the inclusion will be like I'll submit the revised patch. thanks, Takashi