Thanks for the explanations. I'll keep working with pulseaudio+ucm for
now so as to be able to test your fixes. If it becomes too unbearable
I'll revert to dmic_detect=0

>About the issue on google meet, it is a problem, do you also meet the
similar issue on other audio apps?

Regarding the microphone issue, it seems to be chromium specific,
possibly related to the fact that chromium is a snap and is therefore
sandboxed.

here is the corresponding dmesg trace :
[24350.178216] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 
0x0
[24350.270480] sof-audio-pci 0000:00:1f.3: firmware boot complete
[24354.651222] input: 2C:41:A1:47:C5:93 as /devices/virtual/input/input24
[24354.693912] audit: type=1107 audit(1585155460.615:229): pid=1284 uid=103 
auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_signal"  
bus="system" path="/org/freedesktop/NetworkManager" 
interface="org.freedesktop.NetworkManager" member="CheckPermissions" 
name=":1.8" mask="receive" pid=8453 label="snap.spotify.spotify" peer_pid=1291 
peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? 
terminal=?'
[24354.930070] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24354.940107] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24354.940110] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24354.940110] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24364.030170] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24364.030176] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24364.030177] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24365.009964] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.009968] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.019991] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.019995] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.019996] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.094089] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24365.094093] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24365.094095] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24365.244985] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.244988] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.244989] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.254999] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.255003] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.255004] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.467006] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.467011] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.467012] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.467014] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.477005] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.522114] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24365.522117] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24365.748003] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.748012] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.748013] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.758019] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.758025] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24365.842064] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24365.842067] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24366.023968] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.023972] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.034004] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.034008] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.034010] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.295004] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.295009] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.304979] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.304982] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.304983] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.338045] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24366.338048] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24366.338049] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24366.426008] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.426014] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.426015] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.426017] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.436001] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.486082] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24366.486086] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24366.599985] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.599989] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.599990] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.609983] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.650074] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24366.796984] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.796987] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.796989] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.806998] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.807002] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.807003] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.866041] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24366.866044] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24366.866045] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24366.983974] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.983978] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.983979] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.993992] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.993997] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24366.993998] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.090095] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24367.233980] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.233984] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.243990] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.243995] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.302095] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24367.302099] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24367.302100] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24367.462007] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.462011] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.462012] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.471985] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.471988] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.518071] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24367.518073] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24367.719987] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.719991] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.719992] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.729950] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.729970] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24367.729971] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.152945] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.152949] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.152950] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.162982] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.453979] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.453988] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.463978] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.463988] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.463991] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.610106] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24368.610111] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24368.610113] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24368.905985] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.905993] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.915980] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24368.915988] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.070106] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24369.070114] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24369.292970] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.292975] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.302970] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.302974] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.302975] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.312975] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.386013] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24369.588945] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.588950] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.598956] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.598960] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.698067] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24369.698071] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24369.698073] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24369.897956] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.897961] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.907949] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.907953] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.907955] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24369.917952] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.010082] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24370.010088] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24370.253929] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.253933] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.263970] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.263975] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.263977] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.370028] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24370.708933] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.708938] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.718924] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.718928] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.718930] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.728966] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24370.841981] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24371.185935] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.185937] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.185938] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.195946] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.195949] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.195951] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.298011] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24371.298024] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24371.458958] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.468932] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.468935] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.468936] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.478949] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.761918] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.761922] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.771922] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.771928] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.771930] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24371.845988] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24372.043937] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.043940] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.043941] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.043942] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.053927] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.314960] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.314964] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.314965] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.324912] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.430010] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24372.430014] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24372.430016] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24372.617924] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.617929] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.617930] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.627921] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.627926] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.627928] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.893922] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.893931] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.903934] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.903947] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24372.903948] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.108926] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.118928] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.118932] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.118933] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.118933] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.193969] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24373.193973] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24373.193975] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24373.322902] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.322908] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.322910] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.322911] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.332938] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.332942] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.401972] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24373.593936] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.593942] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.593944] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.603924] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.603930] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.838911] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.838917] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.848908] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.848912] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.848913] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24373.913955] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24374.039909] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.039913] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.039915] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.049897] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.101951] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24374.277930] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.277934] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.277935] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.287887] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.287892] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.338051] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24374.338057] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24374.338060] Bluetooth: hci0: SCO packet for unknown connection handle 257
[24374.452923] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.452928] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.452929] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.462889] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.462893] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.462894] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.677995] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.677999] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.678001] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.792928] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.792932] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.818158] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.818163] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.975915] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.975925] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.975927] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.985895] Bluetooth: hci0: SCO packet for unknown connection handle 0
[24374.985902] Bluetooth: hci0: SCO packet for unknown connection handle 0


Using the exact same testcase on firefox, starting the visio correctly switched 
to the headset microphone, becoming presenter didn't trigger the input/output 
looping nor this huge dmesg trace.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-lib in Ubuntu.
https://bugs.launchpad.net/bugs/1859754

Title:
  [SRU] add ucm to make alsa/sof driver work under PA (variants of
  Lenovo X1 Carbon 7th, Dell cnl and cml machines)

Status in HWE Next:
  Fix Released
Status in alsa-lib package in Ubuntu:
  Invalid
Status in alsa-lib source package in Bionic:
  Fix Released
Status in alsa-lib source package in Eoan:
  Fix Released

Bug description:
  This ucm is only for Eoan and Bionic, for focal and future versions,
  we plan to integrate the ucm2 instead of this ucm, and the ucm2
  depends on the alsa-lib-1.2.1 and pluseaudio-v14, the ucm2 is under
  developing by the community, is not ready yet.

  [Impact]
  In the oem project, we have a couple of Lenovo and Dell machines which
  connect the digital mic to PCH directly, this design needs the new
  sound driver soc/sof, and this driver can't work under pulseaudio
  automatically, we need to integrate the ucm for the driver, then the
  sof dirver could work under pulseaudio and gnome.

  This ucm is maintained by intel audio team, and it is not upstreamed
  and will not be upstreamed, since the community is developing the ucm2
  which is based on at least alsa-lib-1.2.1 and pulseaudio-v14.0 (still
  under developing), for bionic and eoan, we have to integrate this ucm
  since the alsa-lib version is too low. For focal and future version, we
  are going to integrate the ucm2 after the ucm2 is ready.

  This ucm is already verified in the oem project, now it is time to put it
  into the stock ubuntu. 

  [Fix]
  These ucm files are backported from sof_ucm1 branch of
  https://github.com/thesofproject/alsa-ucm-conf.git

  [Test Case]
  Boot the eoan kernel or oem-osp1-bionic kernel, then check the log of
  pulseaudio, the ucm files are loaded successfully, then check the
  gnome-sound-setting, both output and input devices work well.

  [Regression Risk]
  Low, just add some new ucm files, and this will not affect other machines,
  and those new added ucm files are only used by specific machines which enable
  the sof driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1859754/+subscriptions

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

Reply via email to