aboutsummaryrefslogtreecommitdiff
path: root/ucm2/chtrt5650
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2020-05-23 22:28:05 +0200
committerJaroslav Kysela <perex@perex.cz>2020-05-23 22:28:05 +0200
commit0c025ab9ddb2099b3ee18d5d11cdd3fd318b5609 (patch)
treefdc16559b9c10cfcf7e03bcc6ac5e984b2711ab2 /ucm2/chtrt5650
parent48b11a4c33f267c8ffd9a6c584c3e651eda7e5ec (diff)
ucm2: fix chtrt5650 configuration (ucm-validator)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'ucm2/chtrt5650')
-rw-r--r--ucm2/chtrt5650/HiFi.conf23
1 files changed, 11 insertions, 12 deletions
diff --git a/ucm2/chtrt5650/HiFi.conf b/ucm2/chtrt5650/HiFi.conf
index e9011d4..b365bc6 100644
--- a/ucm2/chtrt5650/HiFi.conf
+++ b/ucm2/chtrt5650/HiFi.conf
@@ -3,10 +3,6 @@ SectionVerb {
# ALSA PCM
Value {
TQ "HiFi"
-
- # ALSA PCM device for HiFi
- PlaybackPCM "hw:${CardId}"
- CapturePCM "hw:${CardId}"
}
EnableSequence [
@@ -29,7 +25,8 @@ SectionDevice."Speaker" {
Comment "Speaker"
Value {
- PlaybackChannels "2"
+ PlaybackPCM "hw:${CardId}"
+ PlaybackPriority 100
}
ConflictingDevice [
@@ -50,7 +47,8 @@ SectionDevice."Headphones" {
Comment "Headphones"
Value {
- PlaybackChannels "2"
+ PlaybackPCM "hw:${CardId}"
+ PlaybackPriority 200
JackControl "Headphone Jack"
JackHWMute "Speaker"
}
@@ -69,12 +67,12 @@ SectionDevice."Headphones" {
]
}
-SectionDevice."Mic" {
+SectionDevice."Mic1" {
Comment "Internal Microphone"
Value {
- CaptureChannels "2"
- CapturePriority "150"
+ CapturePCM "hw:${CardId}"
+ CapturePriority 100
}
EnableSequence [
@@ -90,13 +88,14 @@ SectionDevice."Mic" {
]
}
-SectionDevice."HSMic" {
+SectionDevice."Mic2" {
Comment "Headset Microphone"
Value {
- CaptureChannels "2"
+ CapturePCM "hw:${CardId}"
+ CapturePriority 200
JackControl "Headset Mic Jack"
- JackHWMute "Mic"
+ JackHWMute "Mic1"
}
EnableSequence [