- 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
184 lines
4.6 KiB
Diff
184 lines
4.6 KiB
Diff
From 95f4da477fdb6a06ed321e6f2c0f7fc7d170b2e0 Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Kysela <perex@perex.cz>
|
|
Date: Tue, 4 Feb 2020 19:21:47 +0100
|
|
Subject: [PATCH 31/36] PandaBoardES: corrections and fixes
|
|
|
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
|
---
|
|
ucm2/PandaBoardES/FMAnalog.conf | 9 ++++++---
|
|
ucm2/PandaBoardES/HiFi.conf | 18 +++++++++++-------
|
|
ucm2/PandaBoardES/HiFiLP.conf | 8 ++++++--
|
|
ucm2/PandaBoardES/Record.conf | 8 ++++++--
|
|
ucm2/PandaBoardES/Voice.conf | 8 ++++++--
|
|
ucm2/PandaBoardES/VoiceCall.conf | 10 +++++++---
|
|
6 files changed, 42 insertions(+), 19 deletions(-)
|
|
|
|
diff --git a/ucm2/PandaBoardES/FMAnalog.conf b/ucm2/PandaBoardES/FMAnalog.conf
|
|
index a4d5a23b7f4f..9920bcc90e21 100644
|
|
--- a/ucm2/PandaBoardES/FMAnalog.conf
|
|
+++ b/ucm2/PandaBoardES/FMAnalog.conf
|
|
@@ -17,10 +17,9 @@ SectionVerb {
|
|
cset "name='Capture Volume' 0"
|
|
]
|
|
|
|
- # Optional TQ and ALSA PCMs
|
|
+ # Optional TQ
|
|
Value {
|
|
TQ "Music"
|
|
- CapturePCM "hw:${CardId},0"
|
|
}
|
|
}
|
|
|
|
@@ -38,5 +37,9 @@ SectionDevice."Headset" {
|
|
cset "name='Analog Right Capture Route' 3"
|
|
cset "name='Capture Preamplifier Volume' 0"
|
|
]
|
|
-}
|
|
|
|
+ Value {
|
|
+ CapturePriority 100
|
|
+ CapturePCM "hw:${CardId}"
|
|
+ }
|
|
+}
|
|
diff --git a/ucm2/PandaBoardES/HiFi.conf b/ucm2/PandaBoardES/HiFi.conf
|
|
index 856dd9f90262..aa78e47f728e 100644
|
|
--- a/ucm2/PandaBoardES/HiFi.conf
|
|
+++ b/ucm2/PandaBoardES/HiFi.conf
|
|
@@ -26,13 +26,10 @@ SectionVerb {
|
|
cset "name='Headset Playback Volume' 0"
|
|
]
|
|
|
|
- # Optional TQ and ALSA PCMs
|
|
-# Value {
|
|
-# TQ "Music"
|
|
-# PlaybackPCM "hw:${CardId},0"
|
|
-# PlaybackVolume "name='DL1 Media Playback Volume' 90,90"
|
|
-# PlaybackSwitch "name='DL1 PDM Switch' 1"
|
|
-# }
|
|
+ # Optional TQ
|
|
+ Value {
|
|
+ TQ "Music"
|
|
+ }
|
|
}
|
|
|
|
SectionDevice."Headset" {
|
|
@@ -49,4 +46,11 @@ SectionDevice."Headset" {
|
|
cset "name='Headset Left Playback' 0"
|
|
cset "name='Headset Playback Volume' 0"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ PlaybackPriority 100
|
|
+ PlaybackPCM "hw:${CardId}"
|
|
+ # PlaybackVolume "name='DL1 Media Playback Volume' 90,90"
|
|
+ # PlaybackSwitch "name='DL1 PDM Switch' 1"
|
|
+ }
|
|
}
|
|
diff --git a/ucm2/PandaBoardES/HiFiLP.conf b/ucm2/PandaBoardES/HiFiLP.conf
|
|
index a6a258d282e7..23164edfdec5 100644
|
|
--- a/ucm2/PandaBoardES/HiFiLP.conf
|
|
+++ b/ucm2/PandaBoardES/HiFiLP.conf
|
|
@@ -18,10 +18,9 @@ SectionVerb {
|
|
cset "name='SDT DL Volume' 0"
|
|
]
|
|
|
|
- # Optional TQ and ALSA PCMs
|
|
+ # Optional TQ
|
|
Value {
|
|
TQ "Music"
|
|
- PlaybackPCM "hw:${CardId},6"
|
|
}
|
|
}
|
|
|
|
@@ -39,4 +38,9 @@ SectionDevice."Headset" {
|
|
cset "name='Headset Left Playback' 0"
|
|
cset "name='Headset Playback Volume' 0"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ PlaybackPriority 100
|
|
+ PlaybackPCM "hw:${CardId},6"
|
|
+ }
|
|
}
|
|
diff --git a/ucm2/PandaBoardES/Record.conf b/ucm2/PandaBoardES/Record.conf
|
|
index 57ad61261586..8cc6fdf911d3 100644
|
|
--- a/ucm2/PandaBoardES/Record.conf
|
|
+++ b/ucm2/PandaBoardES/Record.conf
|
|
@@ -17,10 +17,9 @@ SectionVerb {
|
|
cset "name='Capture Volume' 0"
|
|
]
|
|
|
|
- # Optional TQ and ALSA PCMs
|
|
+ # Optional TQ
|
|
Value {
|
|
TQ "Music"
|
|
- CapturePCM "hw:${CardId},0"
|
|
}
|
|
|
|
}
|
|
@@ -39,4 +38,9 @@ SectionDevice."Headset" {
|
|
cset "name='Analog Right Capture Route' 3"
|
|
cset "name='Capture Preamplifier Volume' 0"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ CapturePriority 100
|
|
+ CapturePCM "hw:${CardId}"
|
|
+ }
|
|
}
|
|
diff --git a/ucm2/PandaBoardES/Voice.conf b/ucm2/PandaBoardES/Voice.conf
|
|
index a198c238f657..e37e7ecd15ec 100644
|
|
--- a/ucm2/PandaBoardES/Voice.conf
|
|
+++ b/ucm2/PandaBoardES/Voice.conf
|
|
@@ -18,10 +18,9 @@ SectionVerb {
|
|
cset "name='SDT DL Volume' 0"
|
|
]
|
|
|
|
- # Optional TQ and ALSA PCMs
|
|
+ # Optional TQ
|
|
Value {
|
|
TQ "Voice"
|
|
- PlaybackPCM "hw:${CardId},2"
|
|
}
|
|
}
|
|
|
|
@@ -39,4 +38,9 @@ SectionDevice."Headset" {
|
|
cset "name='Headset Left Playback' 0"
|
|
cset "name='Headset Playback Volume' 0"
|
|
]
|
|
+
|
|
+ Value {
|
|
+ PlaybackPriority 100
|
|
+ PlaybackPCM "hw:${CardId},2"
|
|
+ }
|
|
}
|
|
diff --git a/ucm2/PandaBoardES/VoiceCall.conf b/ucm2/PandaBoardES/VoiceCall.conf
|
|
index 4aed020c238b..3e6e09212581 100644
|
|
--- a/ucm2/PandaBoardES/VoiceCall.conf
|
|
+++ b/ucm2/PandaBoardES/VoiceCall.conf
|
|
@@ -34,8 +34,6 @@ SectionVerb {
|
|
# Optional TQ and ALSA PCMs
|
|
Value {
|
|
TQ "Voice"
|
|
- CapturePCM "hw:${CardId},2"
|
|
- PlaybackPCM "hw:${CardId},2"
|
|
}
|
|
}
|
|
|
|
@@ -59,5 +57,11 @@ SectionDevice."Headset" {
|
|
cset "name='Headset Left Playback' 0"
|
|
cset "name='Headset Playback Volume' 0"
|
|
]
|
|
-}
|
|
|
|
+ Value {
|
|
+ CapturePriority 100
|
|
+ CapturePCM "hw:${CardId},2"
|
|
+ PlaybackPriority 100
|
|
+ PlaybackPCM "hw:${CardId},2"
|
|
+ }
|
|
+}
|
|
--
|
|
2.16.4
|
|
|