alsa-lib/src/conf/ucm/cube-i1_TF-Defaultstring-CherryTrailCR/HiFi.conf
Takashi Iwai d48adc2a20 conf: Move UCM profile snippets into components subdirectory
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

Actually we already defined the subdirectory for such components, and
they are skipped at parsing the main configs.  So we just need to move
the files there -- this is what's done here.

One more thing done here is to add a new component subdirectory,
platforms, for definitions bytcr/* that don't match with neither the
existing ones (codecs nor dsps).

Suggested-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-11-28 18:21:14 +01:00

28 lines
494 B
Text

<searchdir:ucm>
SectionVerb {
Value {
TQ "HiFi"
# ALSA PCM device for HiFi
PlaybackPCM "hw:chtnau8824"
CapturePCM "hw:chtnau8824"
}
EnableSequence [
cdev "hw:chtnau8824"
<platforms/bytcr/PlatformEnableSeq.conf>
<codecs/nau8824/EnableSeq.conf>
]
DisableSequence [
cdev "hw:chtnau8824"
<platforms/bytcr/PlatformDisableSeq.conf>
]
}
<codecs/nau8824/MonoSpeaker.conf>
<codecs/nau8824/HeadPhones.conf>
<codecs/nau8824/InternalMic.conf>
<codecs/nau8824/HeadsetMic.conf>