Verify the package, the default setting on mixer 'Dmic0 Capture Switch'
will still be off, but 'Dmic0 Capture Volume' will set to 49 which can
confirm the initial command has applied. Therefore, I think the new ucm
is still valid.

I try to add below code, then Mic will turn on after.
1. $ sudo rm /var/lib/alsa/asound.state
2. # echo b > /proc/sysrq-trigger
diff --git a/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf 
b/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf
index e6a8a15..038253e 100644
--- a/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf
+++ b/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf
@@ -73,6 +73,7 @@ If.dmic {
                }
                True.BootSequence [
                        cset "name='Dmic0 Capture Volume' 70%"
+                       cset "name='Dmic0 Capture Switch' on"
                ]
        }
 }

** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to alsa-ucm-conf in Ubuntu.
https://bugs.launchpad.net/bugs/1992435

Title:
  sof-hda-dsp Dmic0 not initial correctly

Status in OEM Priority Project:
  Confirmed
Status in alsa-ucm-conf package in Ubuntu:
  Fix Released
Status in alsa-ucm-conf source package in Jammy:
  Fix Committed

Bug description:
  [Impact]
  Device use sof-hda-dsp driver will not able to initial the Dmic0 status 
correctly

  [Test Plan]
  1. stop alsa-restore service, "sudo systemctl stop alsa-restore.service"
  2. remove old alsa status, "sudo rm /var/lib/alsa/asound.state"
  3. reboot system
  4. Dmic should be on and volume set to 70%

  [Where problems could occur]
  Only fix for Dmic0 control and upstream already merged the code. The risk 
will be low

  [Other Info]
  Pull Request in upstream 
https://github.com/alsa-project/alsa-ucm-conf/pull/132

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1992435/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to