Re: [PATCH] conf: Move UCM profile snippets into ucm-includes subdirectory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 "<searchdir:ucm-includes>".

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
  <codecs/rt5640/EnableSeq.conf>

I'll submit the revised patch.


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux