aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2020-02-04 19:21:47 +0100
committerJaroslav Kysela <perex@perex.cz>2020-02-05 13:17:24 +0100
commit95f4da477fdb6a06ed321e6f2c0f7fc7d170b2e0 (patch)
treed8533b77a9e01f769b4fe0f09ddfd5dc70fba7a6
parent1e7ea2a0d7afe51447e7efb71f8f03c39b6fcb64 (diff)
PandaBoardES: corrections and fixes
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r--ucm2/PandaBoardES/FMAnalog.conf9
-rw-r--r--ucm2/PandaBoardES/HiFi.conf18
-rw-r--r--ucm2/PandaBoardES/HiFiLP.conf8
-rw-r--r--ucm2/PandaBoardES/Record.conf8
-rw-r--r--ucm2/PandaBoardES/Voice.conf8
-rw-r--r--ucm2/PandaBoardES/VoiceCall.conf10
6 files changed, 42 insertions, 19 deletions
diff --git a/ucm2/PandaBoardES/FMAnalog.conf b/ucm2/PandaBoardES/FMAnalog.conf
index a4d5a23..9920bcc 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 856dd9f..aa78e47 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 a6a258d..23164ed 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 57ad612..8cc6fdf 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 a198c23..e37e7ec 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 4aed020..3e6e092 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"
+ }
+}