4

I recently bought this ASUS Zenbook S 14 UX5406SA and immediately installed Ubuntu 24.10. Everything works fine except sound. The sound preferences indicate 'dummy output'. Only when I insert a USB headphone + mic set, I have sound and can speak, but I have no sound through the internal speakers of jack. I read that

  • This may be solved through a kernel upgrade which I tried (6.11 -> 6.14) but it did not work.
  • I also tried Manjaro with a USB live stick and the sound worked, but I wish to stick to Ubuntu for other reasons.

What should I do?

2 Answers2

1

Following the indications provided in https://forum.ubuntu-fr.org/viewtopic.php?id=2090714&p=3:

  • ASUS Zenbook UX5406SA with CPU Lunar Lake (Core Ultra series 2)
  • 25.04 with kernel 6.14 (there must be at least the 6.12)

Solution

I had to:

  1. Install the missing firmware sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg in /lib/firmware/intel/sof-ipc4-tplg/. This file comes from https://github.com/thesofproject/sof-bin/tree/main/v2.12.x/sof-ipc4-tplg-v2.12.1

  2. Install/update the conf files for UCM and ALSA in /usr/share/alsa/ucm2/sof-soundwire/ from https://github.com/alsa-project/alsa-ucm-conf/tree/master/ucm2/sof-soundwire. At least the file cs42l43-spk.conf was missing.

  3. (possibly unnecessary) Force using the driver sof by creating the file /etc/modprobe.d/sof.conf containing:

    options snd-intel-dspcfg dsp_driver=3
    
  4. Then execute:

    sudo update-initramfs -k all -u
    
  5. Reboot and test.

To check the installation

  • Firmware/UCM OK

    Run ls -l /lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43* and check if something like that appears:

    -rw-r--r-- 1 root root 71775 31 janv. 17:14 /lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-2ch.tplg
    -rw-r--r-- 1 root root 71159 31 janv. 17:14 /lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-4ch.tplg
    -rw-r--r-- 1 root root 73163  9 avril 11:36 /lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg
    -rw-r--r-- 1 root root 61382 31 janv. 17:14 /lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-cs35l56-l23.tplg
    -rw-r--r-- 1 root root 71775 31 janv. 17:14 /lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-cs35l56-l3-2ch.tplg
    -rw-r--r-- 1 root root 59994 31 janv. 17:14 /lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-cs35l56-l3.tplg
    -rw-r--r-- 1 root root 59994 31 janv. 17:14 /lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0.tplg
    

    Run: ls -l /usr/share/alsa/ucm2/sof-soundwire/cs* and check if something like that appears:

    -rw-r--r-- 1 root root 1602 12 nov.  10:37 /usr/share/alsa/ucm2/sof-soundwire/cs35l56-bridge.conf
    -rw-r--r-- 1 root root  928 12 nov.  10:37 /usr/share/alsa/ucm2/sof-soundwire/cs35l56.conf
    -rw-r--r-- 1 root root 1114 12 nov.  10:37 /usr/share/alsa/ucm2/sof-soundwire/cs42l43.conf
    -rw-r--r-- 1 root root  598 12 nov.  10:37 /usr/share/alsa/ucm2/sof-soundwire/cs42l43-dmic.conf
    -rw-r--r-- 1 root root  494 12 nov.  10:37 /usr/share/alsa/ucm2/sof-soundwire/cs42l43-spk.conf
    

    Run sudo dmesg | grep -i "sound\|snd\|sof" and check if something like that appears:

    [    3.201395] sof-audio-pci-intel-lnl 0000:00:1f.3: use msi interrupt mode
    [    3.222312] sof-audio-pci-intel-lnl 0000:00:1f.3: hda codecs found, mask 4
    [    3.222321] sof-audio-pci-intel-lnl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
    [    3.222325] sof-audio-pci-intel-lnl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
    [    3.222329] sof-audio-pci-intel-lnl 0000:00:1f.3: DMICs detected in NHLT tables: 2
    [    3.225615] sof-audio-pci-intel-lnl 0000:00:1f.3: Firmware paths/files for ipc type 1:
    [    3.225621] sof-audio-pci-intel-lnl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/lnl/sof-lnl.ri
    [    3.225623] sof-audio-pci-intel-lnl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/lnl
    [    3.225625] sof-audio-pci-intel-lnl 0000:00:1f.3:  Topology file:     intel/sof-ipc4-tplg/sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplg
    [    3.226477] sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.12.0.1
    [    3.502227] sof-audio-pci-intel-lnl 0000:00:1f.3: Booted firmware version: 2.12.0.1
    [    3.512353] sof-audio-pci-intel-lnl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
    [    3.512699] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
    [    3.513255] sof-audio-pci-intel-lnl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.12.0.1
    

    If you see Check if you have 'sof-firmware' package installed. it means that a firmware is missing.

  • Driver SOF OK

    Run lspci -nnk | grep -A2 Audio and check if something like that appears:

    00:1f.3 Multimedia audio controller [0401]: Intel Corporation Lunar Lake-M HD Audio Controller [8086:a828] (rev 10)
    Subsystem: ASUSTeK Computer Inc. Device [1043:1e13]
    Kernel driver in use: sof-audio-pci-intel-lnl
    
0

Follow the repo here and check the discussion on

https://github.com/thesofproject/linux/issues/5325

TLDR;

install latest sof from

https://github.com/thesofproject/sof-bin/releases/tag/v2025.01.1