OSDN Git Service

SDP4430: corrections and fixes
authorJaroslav Kysela <perex@perex.cz>
Mon, 27 Jan 2020 15:06:25 +0000 (16:06 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 5 Feb 2020 12:17:24 +0000 (13:17 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/SDP4430/FMAnalog.conf
ucm2/SDP4430/HiFiLP.conf
ucm2/SDP4430/Record.conf
ucm2/SDP4430/SDP4430.conf
ucm2/SDP4430/Voice.conf
ucm2/SDP4430/VoiceCall.conf [moved from ucm2/SDP4430/VoiceAll.conf with 98% similarity]

index 9681465..2cfabf9 100644 (file)
@@ -9,19 +9,12 @@ SectionVerb {
                 cset "name='Capture Volume' 4"
        ]
 
-
        DisableSequence [
                 cset "name='AMIC_UL PDM Switch' 0"
                 cset "name='MUX_UL00' 0"
                 cset "name='MUX_UL01' 0"
                 cset "name='Capture Volume' 0"
        ]
-
-       # Optional TQ and ALSA PCMs
-       Value {
-               TQ "Music"
-                CapturePCM "hw:${CardId},0"
-       }
 }
 
 SectionDevice."Headset" {
@@ -38,5 +31,9 @@ SectionDevice."Headset" {
                 cset "name='Analog Right Capture Route' 3"
                 cset "name='Capture Preamplifier Volume' 0"
        ]
+
+       Value {
+                CapturePCM "hw:${CardId},0"
+       }
 }
 
index 51380d9..731ac21 100644 (file)
@@ -18,10 +18,8 @@ SectionVerb {
                 cset "name='SDT DL Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
        Value {
                TQ "Music"
-               PlaybackPCM "hw:${CardId},6"
        }
 }
 
@@ -39,4 +37,9 @@ SectionDevice."Headset" {
                cset "name='HS Left Playback' 0"
                 cset "name='Headset Playback Volume' 0"
        ]
+
+       Value {
+               PlaybackPriority 100
+               PlaybackPCM "hw:${CardId},6"
+       }
 }
index 9f62fd1..d3c4955 100644 (file)
@@ -19,7 +19,6 @@ SectionVerb {
        # Optional TQ and ALSA PCMs
        Value {
                TQ "Music"
-               CapturePCM "hw:${CardId},0"
        }
 
 }
@@ -38,4 +37,8 @@ SectionDevice."Headset" {
                 cset "name='Analog Right Capture Route' 3"
                 cset "name='Capture Preamplifier Volume' 0"
        ]
+
+       Value {
+               CapturePCM "hw:${CardId},0"
+       }
 }
index df5b5b9..fd95890 100644 (file)
@@ -13,7 +13,7 @@ SectionUseCase."HiFi" {
 }
 
 SectionUseCase."HiFi_Low_Power" {
-       File "HiHiLP.conf"
+       File "HiFiLP.conf"
        Comment "Play HiFi quality Music in Low Power Mode"
 }
 
index 7d10a17..15cd4f0 100644 (file)
@@ -18,10 +18,8 @@ SectionVerb {
                 cset "name='SDT DL Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
        Value {
                TQ "Voice"
-               PlaybackPCM "hw:${CardId},2"
        }
 }
 
@@ -39,4 +37,8 @@ SectionDevice."Headset" {
                cset "name='HS Left Playback' 0"
                 cset "name='Headset Playback Volume' 0"
        ]
+
+       Value {
+               PlaybackPCM "hw:${CardId},2"
+       }
 }
similarity index 98%
rename from ucm2/SDP4430/VoiceAll.conf
rename to ucm2/SDP4430/VoiceCall.conf
index 07843c5..2f02a2b 100644 (file)
@@ -31,11 +31,8 @@ SectionVerb {
                 cset "name='SDT DL Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
        Value {
                TQ "Voice"
-                CapturePCM "hw:${CardId},2"
-               PlaybackPCM "hw:${CardId},2"
        }
 }
 
@@ -59,5 +56,9 @@ SectionDevice."Headset" {
                cset "name='HS Left Playback' 0"
                 cset "name='Headset Playback Volume' 0"
        ]
-}
 
+       Value {
+                CapturePCM "hw:${CardId},2"
+               PlaybackPCM "hw:${CardId},2"
+       }
+}