Which kernel option did I miss?
The Gentoo installation media does not recognize the sound system as the firmware files from the SOF firmware are missing (no surprise here). The pre-installed Ubuntu is able to play sound, so I can confirm that the Linux kernel supports sound on this platform in principle. I already checked all the modules which Ubuntu loads and ensured that my self-compiled kernel contains those as well. I checked that lspci, lsmod and dmesg are the same between Ubuntu and my self-compiled Gentoo kernel. From that perspective everything looks fine, but still I don't get sound with Gentoo. (Of course, lsmod only shows modules, if the respective kernel config is actually set to compile a module. lsmod doesn't help for things which are statically compiled into the Ubuntu kernel.)
So I guess, I might have missed some (more ore less) obvious kernel config. I have created to different kernel configs:
- a "minimal" kernel config one which only includes what Ubuntu seems to use for my PC, and
- a "full" kernel config where I enabled every sound-related kernel option as a module.
Code: Select all
# dmesg -t --color=always | egrep -i -e '((alsa)|(snd)|(sound)|(sof))'
Advanced Linux Sound Architecture Driver Initialized.
ALSA device list:
No soundcards found.
sof-audio-pci-intel-lnl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
sof-audio-pci-intel-lnl 0000:00:1f.3: enabling device (0004 -> 0006)
sof-audio-pci-intel-lnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
sof-audio-pci-intel-lnl 0000:00:1f.3: bound 0000:00:02.0 (ops xe_exit [xe])
sof-audio-pci-intel-lnl 0000:00:1f.3: use msi interrupt mode
sof-audio-pci-intel-lnl 0000:00:1f.3: hda codecs found, mask 4
sof-audio-pci-intel-lnl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
sof-audio-pci-intel-lnl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
sof-audio-pci-intel-lnl 0000:00:1f.3: DMICs detected in NHLT tables: 2
Loading firmware: intel/sof-ipc4/lnl/sof-lnl.ri
Loading firmware: intel/sof-ipc4-tplg/sof-lnl-rt713-l0-rt1318-l1-2ch.tplg
sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware paths/files for ipc type 1:
sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware file: intel/sof-ipc4/lnl/sof-lnl.ri
sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware lib path: intel/sof-ipc4-lib/lnl
sof-audio-pci-intel-lnl 0000:00:1f.3: Topology file: intel/sof-ipc4-tplg/sof-lnl-rt713-l0-rt1318-l1-2ch.tplg
Loading firmware: intel/sof-ipc4/lnl/sof-lnl.ri
sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.13.0.1
Loading firmware: intel/sof-ipc4/lnl/sof-lnl-openmodules.ri
Loading firmware: intel/sof-ipc4/lnl/sof-lnl-debug.ri
sof-audio-pci-intel-lnl 0000:00:1f.3: Booted firmware version: 2.13.0.1
