OSDN Git Service

PandaBoard: corrections and fixes
authorJaroslav Kysela <perex@perex.cz>
Tue, 4 Feb 2020 18:11:10 +0000 (19:11 +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/PandaBoard/FMAnalog.conf
ucm2/PandaBoard/HiFi.conf
ucm2/PandaBoard/HiFiLP.conf
ucm2/PandaBoard/Record.conf
ucm2/PandaBoard/Voice.conf
ucm2/PandaBoard/VoiceCall.conf

index 11a2288..29cbbe8 100644 (file)
@@ -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}"
+       }
+}
index 1b16125..5de0c8f 100644 (file)
@@ -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"
+       }
 }
index 92de382..c735248 100644 (file)
@@ -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"
+       }
 }
index 1fbe74c..e88d6c3 100644 (file)
@@ -18,10 +18,9 @@ SectionVerb {
                 cset "name='Capture Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
+       # Optional TQ
        Value {
                TQ "Music"
-               CapturePCM "hw:${CardId},0"
        }
 
 }
@@ -40,4 +39,9 @@ SectionDevice."Headset" {
                 cset "name='Analog Right Capture Route' 3"
                 cset "name='Capture Preamplifier Volume' 0"
        ]
+
+       Value {
+               CapturePriority 100
+               CapturePCM "hw:${CardId}"
+       }
 }
index 42af48a..6843cc8 100644 (file)
@@ -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"
+       }
 }
index c20bf5c..9a8099e 100644 (file)
@@ -31,11 +31,9 @@ SectionVerb {
                 cset "name='SDT DL Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
+       # Optional TQ
        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"
+       }
+}