Bug#1027430: linux-image-5.10.0-20-amd64: No sound on Lenovo IdeaPad 3
Hi Martin, On Sun, Jan 01, 2023 at 08:50:34PM +0100, Martin Furlanic wrote: > I'm quite a knowlegeable user and glad to help, but I think I'll be needing > some directons on how to do it. At this point I'm booting the machine with > the linux-image-5.10.0-19, just the one before the december release of > updates, and everything is working well as before. Thank you. In #1027483 PÁLFFY Dániel bisected the issue down to commit c34db0d6b88b ("ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open()"). If you would be able to confirm as well that such a revert fixes the issue that would be of help indeed. We have some instruction here on how to build Debian's kernel with a single patch on top: https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s4.2.2 The patch which would need to be applied is the revert of the above commit, which I'm attaching here. Regards, Salvatore >From 039fd15cf22a0807f8e68fc8ba9fa0d3c015bf18 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Mon, 2 Jan 2023 11:32:44 +0100 Subject: [PATCH] Revert "ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open()" This reverts commit c34db0d6b88b1da95e7ab3353e674f4f574cccee. --- sound/soc/soc-pcm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index fb874f924bbe..9a60d62f12fe 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -723,6 +723,11 @@ static int soc_pcm_open(struct snd_pcm_substream *substream) ret = snd_soc_dai_startup(dai, substream); if (ret < 0) goto err; + + if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) + dai->tx_mask = 0; + else + dai->rx_mask = 0; } /* Dynamic PCM DAI links compat checks use dynamic capabilities */ -- 2.39.0
Bug#1027430: linux-image-5.10.0-20-amd64: No sound on Lenovo IdeaPad 3
Control: tags -1 + moreinfo On Sat, Dec 31, 2022 at 01:12:13PM +0100, Martin Furlanič wrote: > Package: src:linux > Version: 5.10.158-2 > Severity: normal > X-Debbugs-Cc: martin.furla...@gmail.com > > > > -- Package-specific info: > ** Version: > Linux version 5.10.0-20-amd64 (debian-kernel@lists.debian.org) (gcc-10 > (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) > #1 SMP Debian 5.10.158-2 (2022-12-13) > > ** Command line: > BOOT_IMAGE=/boot/vmlinuz-5.10.0-20-amd64 > root=UUID=87df20a8-1d34-4d1a-a72f-a638f3903070 ro quiet > > ** Not tainted > > ** Kernel log: > [5.440482] audit: type=1400 audit(1672488471.944:3): apparmor="STATUS" > operation="profile_load" profile="unconfined" name="lsb_release" pid=497 > comm="apparmor_parser" > [5.445266] audit: type=1400 audit(1672488471.948:4): apparmor="STATUS" > operation="profile_load" profile="unconfined" name="/usr/bin/akonadiserver" > pid=498 comm="apparmor_parser" > [5.451349] audit: type=1400 audit(1672488471.956:5): apparmor="STATUS" > operation="profile_load" profile="unconfined" name="mariadbd_akonadi" pid=505 > comm="apparmor_parser" > [5.452211] audit: type=1400 audit(1672488471.956:6): apparmor="STATUS" > operation="profile_load" profile="unconfined" > name="/usr/lib/snapd/snap-confine" pid=500 comm="apparmor_parser" > [5.452213] audit: type=1400 audit(1672488471.956:7): apparmor="STATUS" > operation="profile_load" profile="unconfined" > name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=500 > comm="apparmor_parser" > [5.454140] audit: type=1400 audit(1672488471.956:8): apparmor="STATUS" > operation="profile_load" profile="unconfined" name="/usr/sbin/haveged" > pid=503 comm="apparmor_parser" > [5.454755] audit: type=1400 audit(1672488471.960:9): apparmor="STATUS" > operation="profile_load" profile="unconfined" name="postgresql_akonadi" > pid=504 comm="apparmor_parser" > [5.457653] audit: type=1400 audit(1672488471.960:10): apparmor="STATUS" > operation="profile_load" profile="unconfined" > name="/usr/libexec/ibus-engine-hangul" pid=508 comm="apparmor_parser" > [5.465292] audit: type=1400 audit(1672488471.968:11): apparmor="STATUS" > operation="profile_load" profile="unconfined" name="libvirtd" pid=509 > comm="apparmor_parser" > [5.479178] rtw_8822ce :01:00.0: enabling device ( -> 0003) > [5.482956] rtw_8822ce :01:00.0: firmware: direct-loading firmware > rtw88/rtw8822c_wow_fw.bin > [5.482961] rtw_8822ce :01:00.0: Firmware version 9.9.4, H2C version 15 > [5.484112] rtw_8822ce :01:00.0: firmware: direct-loading firmware > rtw88/rtw8822c_fw.bin > [5.484120] rtw_8822ce :01:00.0: Firmware version 9.9.6, H2C version 15 > [5.657215] sof-audio-pci :00:1f.3: DSP detected with PCI > class/subclass/prog-if info 0x040100 > [5.657234] sof-audio-pci :00:1f.3: Digital mics found on Skylake+ > platform, using SOF driver > [5.657249] sof-audio-pci :00:1f.3: enabling device ( -> 0002) > [5.657475] sof-audio-pci :00:1f.3: DSP detected with PCI > class/subclass/prog-if 0x040100 > [5.657577] sof-audio-pci :00:1f.3: bound :00:02.0 (ops > i915_audio_component_bind_ops [i915]) > [5.665146] sof-audio-pci :00:1f.3: use msi interrupt mode > [5.708490] intel_rapl_msr: PL4 support detected. > [5.708519] intel_rapl_common: Found RAPL domain package > [5.708521] intel_rapl_common: Found RAPL domain core > [5.708522] intel_rapl_common: Found RAPL domain uncore > [5.783997] mei_hdcp :00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: > bound :00:02.0 (ops i915_hdcp_component_ops [i915]) > [5.789421] rtw_8822ce :01:00.0 wlp1s0: renamed from wlan0 > [5.789808] Bluetooth: Core ver 2.22 > [5.789896] NET: Registered protocol family 31 > [5.789896] Bluetooth: HCI device and connection manager initialized > [5.789900] Bluetooth: HCI socket layer initialized > [5.789901] Bluetooth: L2CAP socket layer initialized > [5.789904] Bluetooth: SCO socket layer initialized > [5.809119] usbcore: registered new interface driver btusb > [5.810049] sof-audio-pci :00:1f.3: hda codecs found, mask 5 > [5.810051] sof-audio-pci :00:1f.3: using HDA machine driver > skl_hda_dsp_generic now > [5.810056] sof-audio-pci :00:1f.3: DMICs detected in NHLT tables: 2 > [5.812606] sof-audio-pci :00:1f.3: firmware: direct-loading firmware > intel/sof/sof-tgl.ri > [5.812614] sof-audio-pci :00:1f.3: warning: unknown sof_ext_man > header type 6 size 0x20 > [5.812615] sof-audio-pci :00:1f.3: Firmware info: version 1:7:0-47d07 > [5.812616] sof-audio-pci :00:1f.3: Firmware: ABI 3:18:1 Kernel ABI > 3:17:0 > [5.812617] sof-audio-pci :00:1f.3: warn: FW ABI is more recent than > kernel > [5.812621] sof-audio-pci :00:1f.3: warning: unknown sof_ext_man > header type 3 size 0x30 > [
Processed: Re: Bug#1027430: linux-image-5.10.0-20-amd64: No sound on Lenovo IdeaPad 3
Processing control commands: > tags -1 + moreinfo Bug #1027430 [src:linux] linux-image-5.10.0-20-amd64: No sound on Lenovo IdeaPad 3 Added tag(s) moreinfo. -- 1027430: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027430 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems