OSDN Git Service

sof-hda-dsp: Set Master Playback Switch on in the BootSequence
authorHui Wang <hui.wang@canonical.com>
Thu, 29 Oct 2020 05:34:02 +0000 (13:34 +0800)
committerJaroslav Kysela <perex@perex.cz>
Mon, 14 Dec 2020 08:36:27 +0000 (09:36 +0100)
Otherwise, the audio output will be muted by default if there is no
/var/lib/alsa/asound.state. I have experienced this issue When newly
install an OS.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/HDA-Intel/init.conf
ucm2/sof-hda-dsp/sof-hda-dsp.conf

index 1a351a9..6310eb3 100644 (file)
@@ -15,6 +15,7 @@ If.master {
        }
        True.BootSequence [
                cset "name='Master Playback Volume' 60%"
+               cset "name='Master Playback Switch' on"
        ]
 }
 
index c8069a6..79b54a9 100644 (file)
@@ -24,6 +24,7 @@ If.master {
        }
        True.BootSequence [
                cset "name='Master Playback Volume' 60%"
+               cset "name='Master Playback Switch' on"
        ]
 }