So I got it working with 5.13-rc2 kernel built by me. And a new topology file https://github.com/thesofproject/linux/files/5912926/sof-tgl-rt711-rt1308-2ch.tplg.gz in /lib/firmware/intel/sof-tplg/ was really needed. Because when I restarted laptop with ubuntu version of the topology file devices disappeared. The comment #45 regarding this topology file was errorneous (I forgot to test it).
With ubuntu kernel the problem is deeper. I cannot see the right devices in aplay and in alsamixer (Compare with comment #40 above) marian@HPSpectre:/usr/share/alsa$ uname -a Linux HPSpectre 5.11.0-19-generic #20-Ubuntu SMP Tue Jun 1 10:51:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux marian@HPSpectre:/usr/share/alsa$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sofhdadsp [sof-hda-dsp], device 1: HDMI1 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofhdadsp [sof-hda-dsp], device 2: HDMI2 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI3 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 ** Attachment added: "alsa_mixer_5.11ubuntukernel.png" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1921632/+attachment/5502233/+files/alsa_mixer_5.11ubuntukernel.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1921632 Title: build module CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m for 5.11, 5.13-rc2 and later To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1921632/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs