]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: PAZ - move whole initialization to BootSequence
authorJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2020 18:50:46 +0000 (20:50 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2020 18:51:08 +0000 (20:51 +0200)
We need to remove the custom UCM rules from udev (alsa-utils).
The 'alsactl init' is UCM aware and sufficient to initialize
the soundcard now.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/PAZ00/PAZ00.conf

index aa1e7f7386a86f44db9d6b2e42505a6cc3c51c5f..66a5745cb867ffc7442d1fe7ea32385cbaf4d37e 100644 (file)
@@ -2,7 +2,7 @@ Syntax 2
 
 Comment "PAZ00 alc5632"
  
-SectionDefaults [
+BootSequence [
        cset "name='Master Playback Switch' on"
        cset "name='Master Playback Volume' 44,44"
        cset "name='Headphone Playback Volume' 21,21"
@@ -21,6 +21,16 @@ SectionDefaults [
        cset "name='Mic1 Playback Volume' 0"
        cset "name='Mic2 Playback Volume' 0"
        cset "name='Rec Capture Volume' 0"
+
+       # Enable internal speaker
+       cset "name='Speaker Playback Switch' on"
+       cset "name='Int Spk Switch' on"
+       cset "name='Speaker Mix DAC2SPK Playback Switch' on"
+
+       # Enable DMIC
+       cset "name='DMICL Mix DMICL2ADC Capture Switch' on"
+       cset "name='DMIC En Capture Switch' on"
+       cset "name='DMIC PreFilter Capture Switch' on"
 ]
  
 SectionUseCase."HiFi" {