alsa-ucm-conf/0009-sof-hda-dsp-Set-Master-Playback-Switch-on-in-the-Boo.patch
Takashi Iwai cea7e1aaaa Accepting request 855782 from home:tiwai:branches:multimedia:libs
- Backport upstream fixes: AMD MCP mute issue, chtnau8824 fixes,
  rt715 fix, and soundwire initialization fix:
  0004-Revert-ucm2-HDA-acp-add-Capture-simple-mixer-element.patch
  0005-chtnau8824-Fix-mono-speaker-config-not-working.patch
  0006-chtnau8824-Add-support-for-laptops-using-stereo-DMIC.patch
  0007-chtnau8824-Boost-analog-mic-volumes-a-bit.patch
  0008-rt715-init-setup-ADC07-to-a-proper-volume.patch
  0009-sof-hda-dsp-Set-Master-Playback-Switch-on-in-the-Boo.patch

OBS-URL: https://build.opensuse.org/request/show/855782
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-ucm-conf?expand=0&rev=25
2020-12-14 15:51:13 +00:00

45 lines
1.3 KiB
Diff

From cf267cce6d553d4d436c166c23d3befc5476acef Mon Sep 17 00:00:00 2001
From: Hui Wang <hui.wang@canonical.com>
Date: Thu, 29 Oct 2020 13:34:02 +0800
Subject: [PATCH 9/9] sof-hda-dsp: Set Master Playback Switch on in the
BootSequence
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 | 1 +
ucm2/sof-hda-dsp/sof-hda-dsp.conf | 1 +
2 files changed, 2 insertions(+)
diff --git a/ucm2/HDA-Intel/init.conf b/ucm2/HDA-Intel/init.conf
index 1a351a9cb3d5..6310eb34973a 100644
--- a/ucm2/HDA-Intel/init.conf
+++ b/ucm2/HDA-Intel/init.conf
@@ -15,6 +15,7 @@ If.master {
}
True.BootSequence [
cset "name='Master Playback Volume' 60%"
+ cset "name='Master Playback Switch' on"
]
}
diff --git a/ucm2/sof-hda-dsp/sof-hda-dsp.conf b/ucm2/sof-hda-dsp/sof-hda-dsp.conf
index c8069a6bbf28..79b54a9c61d6 100644
--- a/ucm2/sof-hda-dsp/sof-hda-dsp.conf
+++ b/ucm2/sof-hda-dsp/sof-hda-dsp.conf
@@ -24,6 +24,7 @@ If.master {
}
True.BootSequence [
cset "name='Master Playback Volume' 60%"
+ cset "name='Master Playback Switch' on"
]
}
--
2.26.2