From: Jaroslav Kysela Date: Mon, 11 Nov 2019 11:36:02 +0000 (+0100) Subject: PAZ00: adapt to ucm2 X-Git-Tag: v1.2.1~5 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=6ee0ddd1585a08cdccc5a8cd6906678c8f9fea90;p=alsa-ucm-conf.git PAZ00: adapt to ucm2 Signed-off-by: Jaroslav Kysela --- diff --git a/ucm/PAZ00/HiFi.conf b/ucm2/PAZ00/HiFi.conf similarity index 90% rename from ucm/PAZ00/HiFi.conf rename to ucm2/PAZ00/HiFi.conf index 275516d..8588ab6 100644 --- a/ucm/PAZ00/HiFi.conf +++ b/ucm2/PAZ00/HiFi.conf @@ -1,7 +1,5 @@ SectionVerb { EnableSequence [ - cdev "hw:PAZ00" - cset "name='Speaker Playback Switch' on" cset "name='Int Spk Switch' on" cset "name='Speaker Mix DAC2SPK Playback Switch' on" @@ -13,7 +11,7 @@ SectionVerb { ] } -SectionDevice."Headset".0 { +SectionDevice."Headset" { Comment "3.5mm Headset" Value { @@ -21,8 +19,6 @@ SectionDevice."Headset".0 { } EnableSequence [ - cdev "hw:PAZ00" - # Internal speaker cset "name='Int Spk Switch' off" @@ -32,8 +28,6 @@ SectionDevice."Headset".0 { cset "name='HPR Mix DACR2HP Playback Switch' on" ] DisableSequence [ - cdev "hw:PAZ00" - # Headphones cset "name='Headphone Playback Switch' off" cset "name='HPL Mix DACL2HP Playback Switch' off" diff --git a/ucm/PAZ00/PAZ00.conf b/ucm2/PAZ00/PAZ00.conf similarity index 94% rename from ucm/PAZ00/PAZ00.conf rename to ucm2/PAZ00/PAZ00.conf index 8b9d904..3a0b915 100644 --- a/ucm/PAZ00/PAZ00.conf +++ b/ucm2/PAZ00/PAZ00.conf @@ -1,10 +1,7 @@ +Syntax 2 + Comment "PAZ00 alc5632" -ValueDefaults { - PlaybackCTL "hw:0" - CaptureCTL "hw:0" -} - SectionDefaults [ cdev "hw:PAZ00" diff --git a/ucm/PAZ00/Record.conf b/ucm2/PAZ00/Record.conf similarity index 94% rename from ucm/PAZ00/Record.conf rename to ucm2/PAZ00/Record.conf index 568e2fb..b7dba4f 100644 --- a/ucm/PAZ00/Record.conf +++ b/ucm2/PAZ00/Record.conf @@ -1,7 +1,5 @@ SectionVerb { EnableSequence [ - cdev "hw:PAZ00" - cset "name='Speaker Playback Switch' on" cset "name='Int Spk Switch' on" cset "name='Speaker Mix DAC2SPK Playback Switch' on" @@ -21,7 +19,7 @@ SectionVerb { ] } -SectionDevice."Headset".0 { +SectionDevice."Headset" { Comment "3.5mm Headset" Value { @@ -29,8 +27,6 @@ SectionDevice."Headset".0 { } EnableSequence [ - cdev "hw:PAZ00" - # Internal speaker cset "name='Int Spk Switch' off" @@ -46,8 +42,6 @@ SectionDevice."Headset".0 { cset "name='Left Capture Mix MIC12REC_L Capture Switch' on" ] DisableSequence [ - cdev "hw:PAZ00" - # Headphones cset "name='Headphone Playback Switch' off" cset "name='HPL Mix DACL2HP Playback Switch' off"