- Backport upstream fixes: UCM updates, Broadwell UCM support, namehint fixes, fix faulty assert in PCM plugins, etc: 0001-ucm-document-some-standard-values.patch 0002-conf-ucm-broadwell-rt286-add-ucm-config.patch 0003-conf-ucm-Add-Makefile.am-for-broadwell-rt286-ucm-con.patch 0004-ucm-reformat-snd_use_case_get-doc.patch 0005-ucm-improve-jack-configuration-documentation.patch 0006-USB-audio-Sound-Blaster-HD-iec958-is-on-device-1.patch 0007-Sync-include-sound-asound.h-with-4.1-kernel.patch 0008-conf-ucm-broadwell-rt286-change-to-use-the-correct-j.patch 0009-namehint-Fix-invalid-list-access-in-snd_device_name_.patch 0010-namehint-Fix-the-listing-without-device-number.patch 0011-namehint-Fix-bad-free-with-invalid-iface-name.patch 0012-Allow-hint-for-ctl-hwdep-timer-and-seq.patch 0013-conf-Add-hint-descriptions-to-ctl-hwdep-seq-and-time.patch 0014-conf-ucm-broadwell-rt286-change-to-set-capture-volum.patch 0015-ucm-allow-multiple-devices-in-JackHWMute.patch 0016-pcm-Remove-assert-from-snd_pcm_hw_params_slave.patch OBS-URL: https://build.opensuse.org/request/show/308371 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=181
53 lines
1.5 KiB
Diff
53 lines
1.5 KiB
Diff
From 404951da5ed66c80caf5e3fa3d703f291002cb24 Mon Sep 17 00:00:00 2001
|
|
From: Jie Yang <yang.jie@intel.com>
|
|
Date: Fri, 8 May 2015 15:18:47 +0800
|
|
Subject: [PATCH 14/16] conf/ucm: broadwell-rt286: change to set capture volume
|
|
and capture device
|
|
|
|
Set 'Mic Capture Volume' in capture device EnableSequence, to fix
|
|
capture no volume by default issue.
|
|
|
|
Also add JackHWMute Value item to mute onboard dmic while headset
|
|
mic is plugged in.
|
|
|
|
Signed-off-by: Jie Yang <yang.jie@intel.com>
|
|
Tested-by: Mark Brown <broonie@kernel.org>
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
---
|
|
src/conf/ucm/broadwell-rt286/HiFi | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/src/conf/ucm/broadwell-rt286/HiFi b/src/conf/ucm/broadwell-rt286/HiFi
|
|
index 58983ea5763c..c09a01cca8fd 100644
|
|
--- a/src/conf/ucm/broadwell-rt286/HiFi
|
|
+++ b/src/conf/ucm/broadwell-rt286/HiFi
|
|
@@ -86,6 +86,7 @@ SectionDevice."Handset" {
|
|
EnableSequence [
|
|
cdev "hw:broadwellrt286"
|
|
|
|
+ cset "name='Mic Capture Volume' 28"
|
|
cset "name='ADC 0 Mux' 0"
|
|
cset "name='ADC0 Capture Switch' on"
|
|
cset "name='ADC0 Capture Volume' 127"
|
|
@@ -99,6 +100,9 @@ SectionDevice."Handset" {
|
|
|
|
Value {
|
|
CaptureChannels "2"
|
|
+ JackDev "rt286-jack"
|
|
+ JackControl "Mic Jack"
|
|
+ JackHWMute "Mainmic"
|
|
}
|
|
}
|
|
|
|
@@ -112,6 +116,7 @@ SectionDevice."Mainmic" {
|
|
EnableSequence [
|
|
cdev "hw:broadwellrt286"
|
|
|
|
+ cset "name='Mic Capture Volume' 30"
|
|
cset "name='ADC 0 Mux' 2"
|
|
cset "name='ADC0 Capture Switch' on"
|
|
cset "name='ADC0 Capture Volume' 127"
|
|
--
|
|
2.4.1
|
|
|