AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / ubuntu / Perguntas / 1545239
Accepted
the world is not flat
the world is not flat
Asked: 2025-04-07 03:43:57 +0800 CST2025-04-07 03:43:57 +0800 CST 2025-04-07 03:43:57 +0800 CST

Sem som no ASUS Zenbook S 14 UX5406SA_UX5406SA no Ubuntu 24.10

  • 772

Comprei recentemente este ASUS Zenbook S 14 UX5406SA_UX5406SA e imediatamente instalei o Ubuntu 24.10. Tudo funciona bem, exceto o som. As preferências de som indicam "saída fictícia". Somente quando insiro um conjunto de fones de ouvido e microfone USB, consigo ouvir som e falar, mas não ouço som pelos alto-falantes internos do conector. Li que

  • Isso pode ser resolvido por meio de uma atualização do kernel, o que tentei (6.11 -> 6.14), mas não funcionou.
  • Também testei o Manjaro com um pendrive USB e o som funcionou, mas prefiro continuar com o Ubuntu por outros motivos.

O que devo fazer?

sound
  • 2 2 respostas
  • 304 Views

2 respostas

  • Voted
  1. Best Answer
    the world is not flat
    2025-04-17T23:59:58+08:002025-04-17T23:59:58+08:00

    Seguindo as indicações fornecidas em https://forum.ubuntu-fr.org/viewtopic.php?id=2090714&p=3 :

    • ASUS Zenbook UX5406SA com CPU Lunar Lake (Core Ultra série 2)
    • 25.04 com kernel 6.14 (deve haver pelo menos o 6.12)

    Solução

    Eu precisei:

    1. Instale o firmware ausente sof-lnl-cs42l43-l0-cs35l56-l23-2ch.tplgem /lib/firmware/intel/sof-ipc4-tplg/. Este arquivo vem de https://github.com/thesofproject/sof-bin/tree/main/v2.12.x/sof-ipc4-tplg-v2.12.1

    2. Instale/atualize os arquivos de configuração do UCM e do ALSA em /usr/share/alsa/ucm2/sof-soundwire/https://github.com/alsa-project/alsa-ucm-conf/tree/master/ucm2/sof-soundwire . Pelo menos o arquivo cs42l43-spk.confestava faltando.

    3. (possivelmente desnecessário) Forçar o uso do driver sofcriando o arquivo /etc/modprobe.d/sof.confcontendo:

      options snd-intel-dspcfg dsp_driver=3
      
    4. Então execute:

      sudo update-initramfs -k all -u
      
    5. Reinicie e teste.

    Para verificar a instalação

    • Firmware/UCM OK

      Execute ls -l /lib/firmware/intel/sof-ipc4-tplg/sof-lnl-cs42l43* e verifique se algo assim aparece:

      -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
      

      Execute: ls -l /usr/share/alsa/ucm2/sof-soundwire/cs*e verifique se algo assim aparece:

      -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
      

      Execute sudo dmesg | grep -i "sound\|snd\|sof"e verifique se algo assim aparece:

      [    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
      

      Se você vir Check if you have 'sof-firmware' package installed.isso significa que está faltando um firmware.

    • Motorista SOF OK

      Execute lspci -nnk | grep -A2 Audioe verifique se algo assim aparece:

      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
      
    • 1
  2. ProllyGeek
    2025-04-16T08:00:44+08:002025-04-16T08:00:44+08:00

    Siga o repositório aqui e confira a discussão em

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

    Resumo;

    instalar o software mais recente de

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

    • 0

relate perguntas

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve