Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Audio issue on ASUS Zenbook UX5406SA Lunar Lake
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jwnhy
n00b
n00b


Joined: 10 Aug 2022
Posts: 13

PostPosted: Mon Oct 07, 2024 2:47 am    Post subject: [SOLVED] Audio issue on ASUS Zenbook UX5406SA Lunar Lake Reply with quote

The PulseAudio and alsamixer do not recognize the sound card, but dmesg does not show anything very useful.

PulseAudio only has "Dummy Output" and aplay says

Code:
aplay -l
aplay: device_list:279: no soundcards found...


Code:
lspci -k
00:1f.3 Multimedia audio controller: Intel Corporation Lunar Lake-M HD Audio Controller (rev 10)
        Subsystem: ASUSTeK Computer Inc. Device 1e13
        Kernel driver in use: sof-audio-pci-intel-lnl
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_lnl


Code:
sudo dmesg | ag sof
[    0.043414] software IO TLB: area num 8.
[    0.542751] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.590117] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.590118] software IO TLB: mapped [mem 0x000000004fd93000-0x0000000053d93000] (64MB)
[    1.860815] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    1.972342] sof-audio-pci-intel-lnl 0000:00:1f.3: enabling device (0000 -> 0002)
[    1.974052] sof-audio-pci-intel-lnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    4.829875] sof-audio-pci-intel-lnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [xe])
[    4.837132] sof-audio-pci-intel-lnl 0000:00:1f.3: use msi interrupt mode
[    4.852634] sof-audio-pci-intel-lnl 0000:00:1f.3: hda codecs found, mask 4
[    4.852772] sof-audio-pci-intel-lnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    4.852816] sof-audio-pci-intel-lnl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    4.852856] Loading firmware: intel/sof-ipc4/lnl/sof-lnl.ri
[    4.856340] Loading firmware: intel/sof-ipc4-tplg/sof-hda-generic-idisp-2ch.tplg
[    4.857016] sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[    4.858353] sof-audio-pci-intel-lnl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/lnl/sof-lnl.ri
[    4.858353] sof-audio-pci-intel-lnl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/lnl
[    4.858354] sof-audio-pci-intel-lnl 0000:00:1f.3:  Topology file:     intel/sof-ipc4-tplg/sof-hda-generic-idisp-2ch.tplg
[    4.858367] Loading firmware: intel/sof-ipc4/lnl/sof-lnl.ri
[    4.858767] sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.11.1.1
[    5.123118] sof-audio-pci-intel-lnl 0000:00:1f.3: Booted firmware version: 2.11.1.1


Code:
uname -a
Linux jwnhy-Gentoo 6.11.0-gentoo-x86_64 #9 SMP PREEMPT_DYNAMIC Mon Oct  7 10:08:20 CST 2024 x86_64 Intel(R) Core(TM) Ultra 7 258V GenuineIntel GNU/Linux


Here is my kernel configuration.

https://pastebin.com/u68PtheN

There is some reddit post saying fedora works, but it didn't elaborate on the detailed configurations. I don't want to enable every configuration to figure out why...

https://www.reddit.com/r/linux/comments/1fq908x/fedora_41_beta_running_on_asus_zenbook_s_14/


Last edited by jwnhy on Mon Oct 07, 2024 4:54 am; edited 1 time in total
Back to top
View user's profile Send private message
jwnhy
n00b
n00b


Joined: 10 Aug 2022
Posts: 13

PostPosted: Mon Oct 07, 2024 4:53 am    Post subject: Reply with quote

OK, I solved it...

So, it needs at least Linux 6.12.0 rc1 or rc2 (I tested on rc2).
You also need to enable a bundle of CONFIG_SOUNDWIRE.

I got this by launching a Fedora LiveCD, and its `aplay -l` displays a bunch of soundwire sinks.

Code:
CONFIG_REGMAP_SOUNDWIRE=m
CONFIG_REGMAP_SOUNDWIRE_MBQ=m
CONFIG_SND_INTEL_SOUNDWIRE_ACPI=m
CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m
CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=m
CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE=m
CONFIG_SOUNDWIRE=m
CONFIG_SOUNDWIRE_AMD=m
CONFIG_SOUNDWIRE_CADENCE=m
CONFIG_SOUNDWIRE_INTEL=m
# CONFIG_SOUNDWIRE_QCOM is not set
CONFIG_SOUNDWIRE_GENERIC_ALLOCATION=m
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum