- Backport upstream fixes: cleanup and correctsion for ucm2: 0007-broxton-rt298-corrections-cleanups.patch 0008-bytcr-rt5640-cleanups-and-corrections.patch 0009-bytcr-rt5651-cleanups-and-corrections.patch 0010-bytcht-cx2072x-cleanups-and-corrections.patch 0011-bytcht-es8316-cleanups-and-corrections.patch 0012-DAISY-I2S-added-back-PCM-devices.patch 0013-DB410c-cleanups-and-corrections.patch 0014-DB820c-cleanups-and-corrections.patch 0015-Dell-WD15-Dock-cleaups-and-corrections.patch 0016-HDA-Intel-HiFi-dual-fixes-and-corrections.patch 0017-cht-bsw-rt5672-fixes-and-corrections.patch 0018-chtnau8824-fixes-and-corrections.patch 0019-skylake-rt286-fixes-and-corrections.patch 0020-SDP4430-corrections-and-fixes.patch 0021-sof-hda-dsp-fix-typo-PlaybackMixerMaster-PlaybackMas.patch 0022-broadwell-rt286-add-correct-prefix-to-Priority-field.patch 0023-GoogleNyan-comment-CaptureControl-what-is-this.patch 0024-VEYRON-I2S-corrections-and-fixes.patch 0025-SDP4430-corrections-and-fixes.patch 0026-chtrt5645-corrections-and-fixes.patch 0027-GoogleNyan-corrections-and-fixes.patch 0028-PAZ00-corrections-and-fixes.patch 0029-SDP4430-corrections-and-fixes.patch 0030-PandaBoard-corrections-and-fixes.patch 0031-PandaBoardES-corrections-and-fixes.patch 0032-kblrt5660-corrections-and-fixes.patch 0033-bytcr-rt5640-corrections-and-fixes.patch 0034-bytcht-es8316-corrections-and-fixes.patch 0035-sof-hda-dsp-corrections-and-fixes.patch OBS-URL: https://build.opensuse.org/request/show/774838 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-ucm-conf?expand=0&rev=7
152 lines
3.0 KiB
Diff
152 lines
3.0 KiB
Diff
From 1a824b16b8fc26122deec2a6307b8294dc1bc497 Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Kysela <perex@perex.cz>
|
|
Date: Fri, 24 Jan 2020 10:07:14 +0100
|
|
Subject: [PATCH 13/36] DB410c: cleanups and corrections
|
|
|
|
---
|
|
ucm2/DB410c/HDMI.conf | 9 ++++++---
|
|
ucm2/DB410c/HiFi.conf | 50 ++++++++++++++++++++++++++++++++++++++++----------
|
|
2 files changed, 46 insertions(+), 13 deletions(-)
|
|
|
|
diff --git a/ucm2/DB410c/HDMI.conf b/ucm2/DB410c/HDMI.conf
|
|
index d08a50b9aa42..fa44132227ff 100644
|
|
--- a/ucm2/DB410c/HDMI.conf
|
|
+++ b/ucm2/DB410c/HDMI.conf
|
|
@@ -4,12 +4,15 @@
|
|
SectionVerb {
|
|
Value {
|
|
TQ "HiFi"
|
|
- PlaybackPCM "plughw:${CardId},0"
|
|
- PlaybackChannels "2"
|
|
+ PlaybackChannels 2
|
|
}
|
|
}
|
|
|
|
-SectionDevice."HDMI-stereo" {
|
|
+SectionDevice."HDMI" {
|
|
# Name "HDMI-stereo"
|
|
Comment "HDMI Digital Stereo Output"
|
|
+ Value {
|
|
+ PlaybackPriority 200
|
|
+ PlaybackPCM "plughw:${CardId}"
|
|
+ }
|
|
}
|
|
diff --git a/ucm2/DB410c/HiFi.conf b/ucm2/DB410c/HiFi.conf
|
|
index 848d02fd78f1..1b2716ab8bf1 100644
|
|
--- a/ucm2/DB410c/HiFi.conf
|
|
+++ b/ucm2/DB410c/HiFi.conf
|
|
@@ -2,14 +2,9 @@
|
|
# Author: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
|
|
|
SectionVerb {
|
|
-
|
|
- # ALSA PCM
|
|
Value {
|
|
- # ALSA PCM device for HiFi
|
|
- PlaybackPCM "plughw:${CardId},1"
|
|
- CapturePCM "plughw:${CardId},2"
|
|
- PlaybackChannels "2"
|
|
- CaptureChannels "2"
|
|
+ PlaybackChannels 2
|
|
+ CaptureChannels 2
|
|
}
|
|
}
|
|
|
|
@@ -33,6 +28,11 @@ SectionDevice."Speaker" {
|
|
cset "name='SPK DAC Switch' 0"
|
|
cset "name='RX3 MIX1 INP1' ZERO"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ PlaybackPriority 200
|
|
+ PlaybackPCM "plughw:${CardId},1"
|
|
+ }
|
|
}
|
|
|
|
|
|
@@ -64,6 +64,11 @@ SectionDevice."Headphones" {
|
|
cset "name='RX1 MIX1 INP1' ZERO"
|
|
cset "name='RX2 MIX1 INP1' ZERO"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ PlaybackPriority 300
|
|
+ PlaybackPCM "plughw:${CardId},1"
|
|
+ }
|
|
}
|
|
|
|
SectionDevice."Earpiece" {
|
|
@@ -73,6 +78,11 @@ SectionDevice."Earpiece" {
|
|
"Speaker"
|
|
"Headphones"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ PlaybackPriority 100
|
|
+ PlaybackPCM "plughw:${CardId},1"
|
|
+ }
|
|
}
|
|
|
|
SectionDevice."Handset" {
|
|
@@ -90,9 +100,14 @@ SectionDevice."Handset" {
|
|
cset "name='ADC2 Volume' 0"
|
|
cset "name='DEC1 MUX' ZERO"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ CapturePriority 400
|
|
+ CapturePCM "plughw:${CardId},2"
|
|
+ }
|
|
}
|
|
|
|
-SectionDevice."PrimaryMic" {
|
|
+SectionDevice."Mic1" {
|
|
Comment "Primary Microphone"
|
|
|
|
EnableSequence [
|
|
@@ -105,9 +120,14 @@ SectionDevice."PrimaryMic" {
|
|
cset "name='DEC1 MUX' ZERO"
|
|
cset "name='ADC1 Volume' 0"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ CapturePriority 300
|
|
+ CapturePCM "plughw:${CardId},2"
|
|
+ }
|
|
}
|
|
|
|
-SectionDevice."SecondaryMic" {
|
|
+SectionDevice."Mic2" {
|
|
Comment "Secondary Microphone"
|
|
|
|
EnableSequence [
|
|
@@ -122,9 +142,14 @@ SectionDevice."SecondaryMic" {
|
|
cset "name='ADC2 Volume' 0"
|
|
cset "name='ADC2 MUX' ZERO"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ CapturePriority 200
|
|
+ CapturePCM "plughw:${CardId},2"
|
|
+ }
|
|
}
|
|
|
|
-SectionDevice."DigitalMic" {
|
|
+SectionDevice."Mic3" {
|
|
Comment "Digital Microphone"
|
|
|
|
EnableSequence [
|
|
@@ -135,4 +160,9 @@ SectionDevice."DigitalMic" {
|
|
DisableSequence [
|
|
cset "name='DEC1 MUX' ZERO"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ CapturePriority 100
|
|
+ CapturePCM "plughw:${CardId},2"
|
|
+ }
|
|
}
|
|
--
|
|
2.16.4
|
|
|