aboutsummaryrefslogtreecommitdiff
path: root/ucm2
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2020-01-24 11:06:29 +0100
committerJaroslav Kysela <perex@perex.cz>2020-02-05 03:16:05 +0100
commitdfad18452427460bf50c55a2c06f9460b2db2123 (patch)
treed79e5bd3c938bfa8c74301431867125ed1644eb1 /ucm2
parent42d0227c417e732ac76328e4168d885b07211f92 (diff)
HDA-Intel/HiFi-dual: fixes and corrections
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'ucm2')
-rw-r--r--ucm2/HDA-Intel/HDAudio-DualCodecs.conf (renamed from ucm2/HDA Intel PCH/HDAudio-DualCodecs.conf)0
l---------ucm2/HDA-Intel/HDAudio-Gigabyte-ALC1220DualCodecs.conf (renamed from ucm2/HDA Intel PCH/HDAudio-Gigabyte-ALC1220DualCodecs.conf)0
l---------ucm2/HDA-Intel/HDAudio-Lenovo-DualCodecs.conf (renamed from ucm2/HDA Intel PCH/HDAudio-Lenovo-DualCodecs.conf)0
-rw-r--r--ucm2/HDA-Intel/HiFi-dual.conf (renamed from ucm2/HDA Intel PCH/HiFi-dual.conf)70
4 files changed, 22 insertions, 48 deletions
diff --git a/ucm2/HDA Intel PCH/HDAudio-DualCodecs.conf b/ucm2/HDA-Intel/HDAudio-DualCodecs.conf
index 8aaabd0..8aaabd0 100644
--- a/ucm2/HDA Intel PCH/HDAudio-DualCodecs.conf
+++ b/ucm2/HDA-Intel/HDAudio-DualCodecs.conf
diff --git a/ucm2/HDA Intel PCH/HDAudio-Gigabyte-ALC1220DualCodecs.conf b/ucm2/HDA-Intel/HDAudio-Gigabyte-ALC1220DualCodecs.conf
index 89801aa..89801aa 120000
--- a/ucm2/HDA Intel PCH/HDAudio-Gigabyte-ALC1220DualCodecs.conf
+++ b/ucm2/HDA-Intel/HDAudio-Gigabyte-ALC1220DualCodecs.conf
diff --git a/ucm2/HDA Intel PCH/HDAudio-Lenovo-DualCodecs.conf b/ucm2/HDA-Intel/HDAudio-Lenovo-DualCodecs.conf
index 89801aa..89801aa 120000
--- a/ucm2/HDA Intel PCH/HDAudio-Lenovo-DualCodecs.conf
+++ b/ucm2/HDA-Intel/HDAudio-Lenovo-DualCodecs.conf
diff --git a/ucm2/HDA Intel PCH/HiFi-dual.conf b/ucm2/HDA-Intel/HiFi-dual.conf
index 63b3fe6..846c6db 100644
--- a/ucm2/HDA Intel PCH/HiFi-dual.conf
+++ b/ucm2/HDA-Intel/HiFi-dual.conf
@@ -1,6 +1,8 @@
SectionVerb {
Value {
TQ "HiFi"
+ PlaybackChannels 2
+ CaptureChannels 2
}
EnableSequence [
@@ -22,31 +24,22 @@ SectionDevice."Speaker" {
Comment "Speaker"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 100
PlaybackPCM "hw:${CardId},4"
+ PlaybackMixerElem "Speaker"
}
ConflictingDevice [
- "Headphone"
- ]
-
- EnableSequence [
- cset "name='Speaker Playback Switch' on"
- cset "name='Speaker Playback Volume' 100%"
- ]
-
- DisableSequence [
- cset "name='Speaker Playback Volume' 0"
- cset "name='Speaker Playback Switch' off"
+ "Headphones"
]
}
-SectionDevice."LineOut" {
+SectionDevice."Line1" {
Comment "Line Out"
Value {
- PlaybackChannels "2"
- PlaybackPCM "hw:${CardId},0"
+ PlaybackPriority 200
+ PlaybackPCM "hw:${CardId}"
JackControl "Line Out Jack"
JackHWMute "Speaker"
}
@@ -56,8 +49,9 @@ SectionDevice."Headphones" {
Comment "Headphones"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 300
PlaybackPCM "hw:${CardId},4"
+ PlaybackMixerElem "Headphone"
JackControl "Front Headphone Jack"
JackHWMute "Speaker"
}
@@ -65,29 +59,19 @@ SectionDevice."Headphones" {
ConflictingDevice [
"Speaker"
]
-
- EnableSequence [
- cset "name='Headphone Playback Switch' on"
- cset "name='Headphone Playback Volume' 100%"
- ]
-
- DisableSequence [
- cset "name='Headphone Playback Volume' 0"
- cset "name='Headphone Playback Switch' off"
- ]
}
-SectionDevice."LineIn" {
+SectionDevice."Line2" {
Comment "Rear Line In"
Value {
- CaptureChannels "2"
- CapturePCM "hw:${CardId},0"
+ CapturePriority 200
+ CapturePCM "hw:${CardId}"
JackControl "Line Jack"
}
ConflictingDevice [
- "RearMic"
+ "Mic2"
]
EnableSequence [
@@ -104,18 +88,17 @@ SectionDevice."LineIn" {
]
}
-SectionDevice."RearMic" {
+SectionDevice."Mic2" {
Comment "Rear Microphone"
Value {
- CaptureChannels "2"
- CapturePCM "hw:${CardId},0"
- # CapturePriority "150"
- JackHWMute "LineIn"
+ CapturePriority 300
+ CapturePCM "hw:${CardId}"
+ JackHWMute "Line2"
}
ConflictingDevice [
- "LineIn"
+ "Line2"
]
EnableSequence [
@@ -123,22 +106,13 @@ SectionDevice."RearMic" {
]
}
-SectionDevice."FrontMic" {
+SectionDevice."Mic1" {
Comment "Front Microphone"
Value {
- CaptureChannels "2"
+ CapturePriority 100
CapturePCM "hw:${CardId},4"
+ CaptureMixerElem "Front-Panel"
JackControl "Front Mic Jack"
}
-
- EnableSequence [
- cset "name='Front-Panel Capture Volume' 100%"
- cset "name='Front-Panel Capture Switch' on"
- ]
-
- DisableSequence [
- cset "name='Front-Panel Capture Volume' 0"
- cset "name='Front-Panel Capture Switch' off"
- ]
}