Hello community, here is the log from the commit of package alsa-ucm-conf for openSUSE:Factory checked in at 2020-01-24 13:05:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alsa-ucm-conf (Old) and /work/SRC/openSUSE:Factory/.alsa-ucm-conf.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alsa-ucm-conf" Fri Jan 24 13:05:22 2020 rev:2 rq:766328 version:1.2.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/alsa-ucm-conf/alsa-ucm-conf.changes 2019-12-02 11:31:50.142546396 +0100 +++ /work/SRC/openSUSE:Factory/.alsa-ucm-conf.new.26092/alsa-ucm-conf.changes 2020-01-24 13:06:03.317310006 +0100 @@ -1,0 +2,20 @@ +Tue Jan 21 15:45:15 CET 2020 - ti...@suse.de + +- Backport upstream fixes: + fixes / corrections for sof-hda-dsp, es8316, chtrt5645 and + broadwell-rt286: + 0001-sof-hda-dsp-Fix-the-Dmic0-CaptureMixerElem-for-v1.4..patch + 0002-sof-hda-dsp-Use-more-strict-names-according-latest-u.patch + 0003-README-remove-topologies-note.patch + 0004-bytcht-es8316-Fix-missing-including-of-HeadPhones.co.patch + 0005-ucm2-fix-the-verb-path-in-chtrt5645-chtrt5645-dmic2..patch + 0006-broadwell-rt286-add-support-for-hardware-volume-conf.patch + +------------------------------------------------------------------- +Fri Nov 29 20:45:11 CET 2019 - ti...@suse.de + +- Update to alsa-ucm-conf 1.2.1.2: + More UCM2 adaptions, SOF fixes / improvements, details found at + https://www.alsa-project.org/wiki/Changes_v1.2.1.1_v1.2.1.2 + +------------------------------------------------------------------- Old: ---- alsa-ucm-conf-1.2.1.tar.bz2 New: ---- 0001-sof-hda-dsp-Fix-the-Dmic0-CaptureMixerElem-for-v1.4..patch 0002-sof-hda-dsp-Use-more-strict-names-according-latest-u.patch 0003-README-remove-topologies-note.patch 0004-bytcht-es8316-Fix-missing-including-of-HeadPhones.co.patch 0005-ucm2-fix-the-verb-path-in-chtrt5645-chtrt5645-dmic2..patch 0006-broadwell-rt286-add-support-for-hardware-volume-conf.patch alsa-ucm-conf-1.2.1.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alsa-ucm-conf.spec ++++++ --- /var/tmp/diff_new_pack.EThfKn/_old 2020-01-24 13:06:06.897311444 +0100 +++ /var/tmp/diff_new_pack.EThfKn/_new 2020-01-24 13:06:06.897311444 +0100 @@ -1,7 +1,7 @@ # # spec file for package alsa-ucm-conf # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,13 +15,20 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: alsa-ucm-conf -Version: 1.2.1 +Version: 1.2.1.2 Release: 0 Summary: ALSA UCM Profiles License: BSD-3-Clause Url: http://www.alsa-project.org/ Source: ftp://ftp.alsa-project.org/pub/lib/alsa-ucm-conf-%{version}.tar.bz2 +Patch1: 0001-sof-hda-dsp-Fix-the-Dmic0-CaptureMixerElem-for-v1.4..patch +Patch2: 0002-sof-hda-dsp-Use-more-strict-names-according-latest-u.patch +Patch3: 0003-README-remove-topologies-note.patch +Patch4: 0004-bytcht-es8316-Fix-missing-including-of-HeadPhones.co.patch +Patch5: 0005-ucm2-fix-the-verb-path-in-chtrt5645-chtrt5645-dmic2..patch +Patch6: 0006-broadwell-rt286-add-support-for-hardware-volume-conf.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -30,6 +37,12 @@ %prep %setup -q -c -a0 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 %build ++++++ 0001-sof-hda-dsp-Fix-the-Dmic0-CaptureMixerElem-for-v1.4..patch ++++++ >From 2882eb5085db58b60ff6dd0f61912d32ccbdf911 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela <pe...@perex.cz> Date: Thu, 5 Dec 2019 17:46:53 +0100 Subject: [PATCH 1/6] sof-hda-dsp: Fix the Dmic0 CaptureMixerElem for v1.4.1 firmware Signed-off-by: Jaroslav Kysela <pe...@perex.cz> --- ucm2/sof-hda-dsp/HiFi.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucm2/sof-hda-dsp/HiFi.conf b/ucm2/sof-hda-dsp/HiFi.conf index f1c81a1b4f53..500cbae82a43 100644 --- a/ucm2/sof-hda-dsp/HiFi.conf +++ b/ucm2/sof-hda-dsp/HiFi.conf @@ -162,7 +162,7 @@ SectionDevice."DigitalMic" { Control "name='Dmic0 Capture Switch'" } True { - CaptureMixerElem "Dmic0 Capture" + CaptureMixerElem "Dmic0" CaptureVolume "Dmic0 Capture Volume" CaptureSwitch "Dmic0 Capture Switch" } -- 2.16.4 ++++++ 0002-sof-hda-dsp-Use-more-strict-names-according-latest-u.patch ++++++ >From adeb572487081f4f88318583d6eefb0ea1b61361 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela <pe...@perex.cz> Date: Fri, 6 Dec 2019 11:12:39 +0100 Subject: [PATCH 2/6] sof-hda-dsp: Use more strict names according latest use-case.h Also remove ConflictinDevice section from the digital microphone. Those paths are independent. BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/7 Signed-off-by: Jaroslav Kysela <pe...@perex.cz> --- ucm2/sof-hda-dsp/HiFi.conf | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/ucm2/sof-hda-dsp/HiFi.conf b/ucm2/sof-hda-dsp/HiFi.conf index 500cbae82a43..5c7236d7bd02 100644 --- a/ucm2/sof-hda-dsp/HiFi.conf +++ b/ucm2/sof-hda-dsp/HiFi.conf @@ -6,7 +6,7 @@ SectionVerb { ] } -SectionDevice."Headphones" { +SectionDevice."Headphones1" { Comment "Headphones" EnableSequence [ @@ -87,8 +87,9 @@ If.monomic { Control "name='Input Source'" ControlEnum "Headphone Mic" } + After.SectionDevice "Mic" True { - SectionDevice."HeadphonesMic" { + SectionDevice."Headphones2" { Comment "Headphones Stereo Microphone" ConflictingDevice [ @@ -106,7 +107,7 @@ If.monomic { } } - SectionDevice."HeadsetMic" { + SectionDevice."Headset" { Comment "Headset Mono Microphone" EnableSequence [ @@ -121,7 +122,7 @@ If.monomic { } } False { - SectionDevice."HeadphonesMic" { + SectionDevice."Headphones2" { Comment "Headphones Stereo Microphone" Value { @@ -133,13 +134,9 @@ If.monomic { } } -SectionDevice."DigitalMic" { +SectionDevice."Mic" { Comment "Digital Microphone" - ConflictingDevice [ - "HeadsetMic" - ] - Value { CapturePriority 100 CapturePCM "hw:${CardId},6" -- 2.16.4 ++++++ 0003-README-remove-topologies-note.patch ++++++ >From 42b15d5d4adc8b462ed004811a2ed7078b2ef2b3 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela <pe...@perex.cz> Date: Fri, 6 Dec 2019 11:15:37 +0100 Subject: [PATCH 3/6] README: remove topologies note --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 635d5e9de1d4..9c4e3503148e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # alsa-ucm-conf -ALSA Use Case Manager configuration (and topologies) +ALSA Use Case Manager configuration -- 2.16.4 ++++++ 0004-bytcht-es8316-Fix-missing-including-of-HeadPhones.co.patch ++++++ >From e852e235102b6132e7c873c2ff00bf3e01237af0 Mon Sep 17 00:00:00 2001 From: Hans de Goede <hdego...@redhat.com> Date: Mon, 6 Jan 2020 14:11:59 +0100 Subject: [PATCH 4/6] bytcht-es8316: Fix missing including of HeadPhones.conf after ucm2 conversion The conversion to ucm2 format missed adding an include for: codecs/es8316/HeadPhones.conf Leading to no sound on the headphones output, this commit adds the missing include fixing this. Cc: youling 257 <youling...@gmail.com> Reported-by: youling 257 <youling...@gmail.com> Signed-off-by: Hans de Goede <hdego...@redhat.com> Signed-off-by: Jaroslav Kysela <pe...@perex.cz> --- ucm2/bytcht-es8316/HiFi-Components.conf | 2 ++ ucm2/bytcht-es8316/HiFi-LongName.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ucm2/bytcht-es8316/HiFi-Components.conf b/ucm2/bytcht-es8316/HiFi-Components.conf index 314d35517c01..c40bd491bac9 100644 --- a/ucm2/bytcht-es8316/HiFi-Components.conf +++ b/ucm2/bytcht-es8316/HiFi-Components.conf @@ -20,6 +20,8 @@ If.mono { } } +<codecs/es8316/HeadPhones.conf> + If.in1 { Condition { Type String diff --git a/ucm2/bytcht-es8316/HiFi-LongName.conf b/ucm2/bytcht-es8316/HiFi-LongName.conf index ea7d1c35c58a..03cf17b54cda 100644 --- a/ucm2/bytcht-es8316/HiFi-LongName.conf +++ b/ucm2/bytcht-es8316/HiFi-LongName.conf @@ -20,6 +20,8 @@ If.mono { } } +<codecs/es8316/HeadPhones.conf> + If.in1 { Condition { Type String -- 2.16.4 ++++++ 0005-ucm2-fix-the-verb-path-in-chtrt5645-chtrt5645-dmic2..patch ++++++ >From 74f2a0f0884df7b9f2d08d07456a3bc37d1a512e Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela <pe...@perex.cz> Date: Mon, 13 Jan 2020 13:36:55 +0100 Subject: [PATCH 5/6] ucm2: fix the verb path in chtrt5645/chtrt5645-dmic2.conf Signed-off-by: Jaroslav Kysela <pe...@perex.cz> --- ucm2/chtrt5645/chtrt5645-dmic2.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucm2/chtrt5645/chtrt5645-dmic2.conf b/ucm2/chtrt5645/chtrt5645-dmic2.conf index 9bbebfaa66cf..2ea095ca5261 100644 --- a/ucm2/chtrt5645/chtrt5645-dmic2.conf +++ b/ucm2/chtrt5645/chtrt5645-dmic2.conf @@ -1,6 +1,6 @@ Syntax 2 Comment "Intel SoC Audio Device" SectionUseCase."HiFi" { - File "../LENOVO-80XF-LenovoMIIX320_10ICR-LNVNB161216/HiFi.conf" + File "HiFi-dmic2.conf" Comment "Default" } -- 2.16.4 ++++++ 0006-broadwell-rt286-add-support-for-hardware-volume-conf.patch ++++++ >From be86627a9f4179979d208943bb497b10dfc679cb Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela <pe...@perex.cz> Date: Tue, 10 Dec 2019 17:08:37 +0100 Subject: [PATCH 6/6] broadwell-rt286: add support for hardware volume, conformance fixes Signed-off-by: Jaroslav Kysela <pe...@perex.cz> --- ucm2/broadwell-rt286/HiFi.conf | 90 ++++++++++++++++++++---------------------- 1 file changed, 43 insertions(+), 47 deletions(-) diff --git a/ucm2/broadwell-rt286/HiFi.conf b/ucm2/broadwell-rt286/HiFi.conf index 6cf31e75ace4..e766250dfac8 100644 --- a/ucm2/broadwell-rt286/HiFi.conf +++ b/ucm2/broadwell-rt286/HiFi.conf @@ -1,13 +1,31 @@ # Use case Configuration for Nexus 7 # Adapted to Ubuntu Touch by David Henningsson <david.hennings...@canonical.com> -SectionVerb { +SectionDevice."Speaker" { + Comment "Speaker playback" + + ConflictingDevice [ + "Headphones" + ] + + EnableSequence [ + cset "name='SPO Switch' on" + cset "name='Speaker Playback Switch' on" + cset "name='Speaker Switch' on" + ] + + DisableSequence [ + cset "name='Speaker Switch' off" + cset "name='Speaker Playback Switch' off" + cset "name='SPO Switch' 0" + ] - # ALSA PCM Value { - # ALSA PCM device for HiFi + Priority 100 PlaybackPCM "hw:${CardId}" - CapturePCM "hw:${CardId}" + PlaybackChannels 2 + PlaybackMixerElem "DAC0" + PlaybackMasterElem "Master" } } @@ -19,11 +37,9 @@ SectionDevice."Headphones" { ] EnableSequence [ - cset "name='Master Playback Volume' 30" cset "name='HPO L Switch' on" cset "name='HPO R Switch' on" cset "name='Headphone Jack Switch' on" - cset "name='DAC0 Playback Volume' 100" ] DisableSequence [ @@ -33,36 +49,38 @@ SectionDevice."Headphones" { ] Value { - PlaybackChannels "2" + Priority 200 + PlaybackPCM "hw:${CardId}" + PlaybackChannels 2 + PlaybackMixerElem "DAC0" + PlaybackMasterElem "Master" JackDev "rt286-jack" JackControl "Headphone Jack" JackHWMute "Speaker" } } -SectionDevice."Speaker" { - Comment "Speaker playback" +SectionDevice."Mic" { + Comment "Microphone" ConflictingDevice [ - "Headphones" + "Handset" ] EnableSequence [ - cset "name='Master Playback Volume' 30" - cset "name='DAC0 Playback Volume' 127" - cset "name='SPO Switch' on" - cset "name='Speaker Playback Switch' on" - cset "name='Speaker Switch' on" + cset "name='ADC 0 Mux' 2" ] DisableSequence [ - cset "name='Speaker Switch' off" - cset "name='Speaker Playback Switch' off" - cset "name='SPO Switch' 0" + cset "name='ADC0 Capture Switch' off" ] Value { - PlaybackChannels "2" + Priority 100 + CapturePCM "hw:${CardId}" + CaptureChannels "2" + CaptureMixerElem "Mic" + CaptureMasterElem "ADC0" } } @@ -70,14 +88,11 @@ SectionDevice."Handset" { Comment "Handset Microphone" ConflictingDevice [ - "Mainmic" + "Mic" ] EnableSequence [ - cset "name='Mic Capture Volume' 28" cset "name='ADC 0 Mux' 0" - cset "name='ADC0 Capture Switch' on" - cset "name='ADC0 Capture Volume' 127" cset "name='AMIC Volume' 1" ] @@ -86,32 +101,13 @@ SectionDevice."Handset" { ] Value { + Priority 200 + CapturePCM "hw:${CardId}" CaptureChannels "2" + CaptureMixerElem "Mic" + CaptureMasterElem "ADC0" JackDev "rt286-jack" JackControl "Mic Jack" - JackHWMute "Mainmic" - } -} - -SectionDevice."Mainmic" { - Comment "Main Microphone" - - ConflictingDevice [ - "Handset" - ] - - EnableSequence [ - cset "name='Mic Capture Volume' 30" - cset "name='ADC 0 Mux' 2" - cset "name='ADC0 Capture Switch' on" - cset "name='ADC0 Capture Volume' 127" - ] - - DisableSequence [ - cset "name='ADC0 Capture Switch' off" - ] - - Value { - CaptureChannels "2" + JackHWMute "Mic" } } -- 2.16.4 ++++++ alsa-ucm-conf-1.2.1.tar.bz2 -> alsa-ucm-conf-1.2.1.2.tar.bz2 ++++++ ++++ 8496 lines of diff (skipped)