You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Missing topology file sof-lnl-cs42l43-l0-cs35l56-l23-4ch.tplg on Zenbook S 16 with kernel 6.13.8 #9930
@ujfalusi I modified to DMIC0_ID=5,DMIC1_ID=6,HDMI1_ID=7,HDMI2_ID=8,HDMI3_ID=9 as the dmesg shows. Now I can confirm that both playback (speaker/HDMI) and capture are working.
@ujfalusi , I've tested and can confirm that with kernel patch thesofproject/linux#5377 and topology file built from #9934, sound playback and capture are working well.
Here's the dmesg log:
❯ sudo dmesg | grep -E '(audio|sof)'
[ 0.041928] software IO TLB: area num 8.
[ 0.721880] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.721881] software IO TLB: mapped [mem 0x0000000050192000-0x0000000054192000] (64MB)
[ 11.651149] sof-audio-pci-intel-lnl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 11.651367] sof-audio-pci-intel-lnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 11.651436] sof-audio-pci-intel-lnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [xe])
[ 11.658700] sof-audio-pci-intel-lnl 0000:00:1f.3: use msi interrupt mode
[ 11.677637] sof-audio-pci-intel-lnl 0000:00:1f.3: hda codecs found, mask 4
[ 11.677643] sof-audio-pci-intel-lnl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
[ 11.677645] sof-audio-pci-intel-lnl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
[ 11.677647] sof-audio-pci-intel-lnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
[ 11.681696] sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[ 11.681701] sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware file: intel/sof-ipc4/lnl/sof-lnl.ri
[ 11.681703] sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware lib path: intel/sof-ipc4-lib/lnl
[ 11.681704] sof-audio-pci-intel-lnl 0000:00:1f.3: Topology file: intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-cs35l56-l23-4ch.tplg
[ 11.682460] sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.12.0.1
[ 11.980602] sof-audio-pci-intel-lnl 0000:00:1f.3: Booted firmware version: 2.12.0.1
[ 12.005692] snd_soc_sdw_utils:asoc_sdw_count_sdw_endpoints: sof_sdw sof_sdw: Found 5 devices with 8 endpoints
[ 12.005702] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Adding prefix cs42l43 for cs42l43-codec
[ 12.005705] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Add dev: 0, 0x3001fa424301 end: 0, dai: 0, P/- to solo: 0
[ 12.005709] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Add dev: 0, 0x3001fa424301 end: 2, dai: 0, -/C to solo: 0
[ 12.005714] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Adding prefix AMP1 for sdw:0:2:01fa:3556:01:0
[ 12.005716] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Add dev: 2, 0x23001fa355601 end: 0, dai: 1, P/- to group: 1
[ 12.005721] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Adding prefix AMP2 for sdw:0:2:01fa:3556:01:1
[ 12.005722] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Add dev: 2, 0x23101fa355601 end: 0, dai: 1, P/- to group: 1
[ 12.005725] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Adding prefix AMP3 for sdw:0:3:01fa:3556:01:2
[ 12.005727] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Add dev: 3, 0x33201fa355601 end: 0, dai: 1, P/- to group: 1
[ 12.005729] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Adding prefix AMP4 for sdw:0:3:01fa:3556:01:3
[ 12.005731] snd_soc_sdw_utils:asoc_sdw_parse_sdw_endpoints: sof_sdw sof_sdw: Add dev: 3, 0x33301fa355601 end: 0, dai: 1, P/- to group: 1
[ 12.005735] snd_soc_sdw_utils:asoc_sdw_init_dai_link: sof_sdw sof_sdw: create dai link SDW0-Playback-SimpleJack, id 0
[ 12.005738] snd_soc_sdw_utils:asoc_sdw_init_dai_link: sof_sdw sof_sdw: create dai link SDW0-Capture-SimpleJack, id 1
[ 12.005742] snd_soc_sdw_utils:asoc_sdw_init_dai_link: sof_sdw sof_sdw: create dai link SDW2-Playback-SmartAmp, id 2
[ 12.005744] snd_soc_sdw_utils:asoc_sdw_init_dai_link: sof_sdw sof_sdw: create dai link dmic01, id 3
[ 12.005746] snd_soc_sdw_utils:asoc_sdw_init_dai_link: sof_sdw sof_sdw: create dai link dmic16k, id 4
[ 12.005749] snd_soc_sdw_utils:asoc_sdw_init_dai_link: sof_sdw sof_sdw: create dai link iDisp1, id 5
[ 12.005752] snd_soc_sdw_utils:asoc_sdw_init_dai_link: sof_sdw sof_sdw: create dai link iDisp2, id 6
[ 12.005754] snd_soc_sdw_utils:asoc_sdw_init_dai_link: sof_sdw sof_sdw: create dai link iDisp3, id 7
[ 12.008617] sof-audio-pci-intel-lnl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[ 12.009165] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[ 12.010229] sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.12.0.1
[ 12.056374] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[ 13.252483] input: sof-soundwire Jack as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input16
[ 13.252652] input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input17
[ 13.252781] input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input18
[ 13.252832] input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input19
Activity
PisonJay commentedon Mar 27, 2025
There are related issues at thesofproject/linux#5325 and thesofproject/sof-bin#177 .
I tried building new tplg with patch below
But it brings new error that physical link dmic01 (id 3) not exist.
Here's the NHLT table of Zenbook S 16, different from that of Zenbook S 14 (thesofproject/linux#5325 (comment)).
ujfalusi commentedon Mar 27, 2025
@PisonJay, can you try to build the tplg with
DMIC0_ID=5,DMIC1_ID=6?PisonJay commentedon Mar 27, 2025
@ujfalusi I modified to
DMIC0_ID=5,DMIC1_ID=6,HDMI1_ID=7,HDMI2_ID=8,HDMI3_ID=9as the dmesg shows. Now I can confirm that both playback (speaker/HDMI) and capture are working.ujfalusi commentedon Mar 27, 2025
It might be that the same quirk is needed for S16 as it was needed for S14 in kernel?
thesofproject/linux@0c2bf75
@rfvirgil, do you know?
simontrimmer commentedon Mar 27, 2025
@ujfalusi - As i think @rfvirgil may have his hands full, I think it probably does need that quirk
ujfalusi commentedon Mar 28, 2025
@PisonJay, can you provide the output of
alsa-info.sh?ujfalusi commentedon Mar 28, 2025
#9934, which will need similar kernel patch as S14 (thesofproject/linux@0c2bf75), for which we need to alsa-info to get the required PCI ID.
PisonJay commentedon Mar 28, 2025
@ujfalusi, here you are. alsa-info.txt
ujfalusi commentedon Mar 28, 2025
@PisonJay, thank you. The kernel patch is: thesofproject/linux#5377
PisonJay commentedon Mar 28, 2025
@ujfalusi , I've tested and can confirm that with kernel patch thesofproject/linux#5377 and topology file built from #9934, sound playback and capture are working well.
Here's the dmesg log:
kv2019i commentedon Mar 31, 2025
The missing topology file is now released in https://github.com/thesofproject/sof-bin/releases/tag/v2025.01.1
ujfalusi commentedon Apr 4, 2025
@PisonJay, I have sent the kernel patch for 6.15 and if it is taken, it is going to be backported to 6.14.
https://lore.kernel.org/linux-sound/20250404133213.4658-1-peter.ujfalusi@linux.intel.com/
Let's hope that it makes it through soon and lands in Arch.
sdwerwed commentedon Apr 9, 2025
I was able to make audio work on
ASUS Zenbook S 14 (UX5406)by following https://github.com/dantmnf/zenbook-s14-linux?tab=readme-ov-file#microphone-array-dmic. I use last kernel 6.14.0-1-default and sof-firmware5 remaining items
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16