Skip to content

[BUG] Lenovo Yoga Pro 7 15IPH11 (Panther Lake): sof_sdw probe fails with -EEXIST on duplicate SDW3-Playback-SimpleJack — RT721 + RT1320 + RT722 on link 3 #11207

Description

@yurtsevich

Describe the bug

On a Lenovo Yoga Pro 7 15IPH11 (Intel Core Ultra 7 356H, Panther Lake), no ALSA
card is registered for the internal audio. The only playback device available is
HDMI audio from the discrete NVIDIA GPU, so internal speakers, the 3.5 mm combo
jack and the internal DMIC array are all unusable.

Two distinct failures are visible in the kernel log:

  1. The machine driver table has no entry matching the ACPI-reported SoundWire
    configuration of this board — three Realtek devices on link 3:
    RT721 (0x0721), RT1320 (0x1320) and RT722 (0x0722). The driver falls back to
    "SoundWire default machine driver with function topologies".

  2. In that generic path, the card fails to register because two DAI links are
    given the same name. Both RT721 and RT722 expose a jack function on link 3, so
    both attempt to register SDW3-Playback-SimpleJack, and the second
    kobject_add_internal returns -EEXIST. mc_probe then aborts and
    sof_sdw probe fails with -12.

SOF firmware itself boots normally (ADSPFW 2.14.1.1), so this is a machine
driver / DAI-link naming issue rather than a firmware loading problem.

What I have tried:

  • Verified PipeWire/WirePlumber 1.6.2 are running correctly; they simply have no
    non-HDMI sink to expose. aplay -l shows only the NVIDIA HDA HDMI codec.
  • Reinstalled firmware-sof-signed; no change — firmware loads and boots fine.
  • Confirmed the failure is independent of the desktop environment (reproduced in
    both GNOME and KDE Plasma sessions).
  • Confirmed this is not a mixer/mute issue: no sofsoundwire card exists at the
    ALSA level at all.

Possibly related:

To Reproduce

  1. Boot Ubuntu 26.04 LTS (kernel 7.0.0-31-generic) on a Lenovo Yoga Pro 7 15IPH11.
  2. Run aplay -l — only the NVIDIA HDMI codec is listed; no sofsoundwire card.
  3. Run wpctl status — the only sink is the NVIDIA GB207 HDA controller.
  4. Run sudo dmesg | grep -iE "sof|soundwire|sdw|snd_soc" — see log below.

No kernel parameters or configuration changes are needed to trigger this; it is
the default state after installation.

Reproduction Rate

All the time — 100%, on every boot since installation. No configuration or user
action has been found that changes the outcome.

Expected behavior

The SoundWire configuration reported by ACPI on this board should be matched to a
machine driver entry that loads a valid topology for the RT1320 speaker amplifier
and the combo jack codec, registering an ALSA card with working internal
speakers, headphone jack and internal microphones.

Failing an exact match, the generic function-topology fallback should generate
unique DAI link names per device rather than colliding on
SDW3-Playback-SimpleJack, so that card registration does not abort.

Impact

Showstopper for all internal audio. Internal speakers, combo jack and internal
microphones are all unavailable. Workarounds are limited to USB or Bluetooth
audio devices, or HDMI output.

Environment

  1. Versions
    • Kernel: <uname -r> (Ubuntu 26.04 LTS, package 7.0.0-31-generic)
    • SOF firmware: ADSPFW / Booted firmware version 2.14.1.1 (package firmware-sof-signed 2025.12.2-1)
    • alsa-ucm-conf: 1.2.15.3-1ubuntu1.5
    • PipeWire / WirePlumber: 1.6.2
  2. Topology file
    • No single topology file — the driver reports
      Topology file: function topologies (generic fallback) and never reaches a successful topology load.
    • Firmware file: intel/sof-ipc4/ptl/sof-ptl.ri
    • Firmware lib path: intel/sof-ipc4-lib/ptl
  3. Platform
    • Lenovo Yoga Pro 7 15IPH11, Intel Core Ultra 7 356H (Panther Lake)
    • Audio controller: sof-audio-pci-intel-ptl 0000:00:1f.3, PCI ID <lspci -nn>
    • BIOS: TNCN32WW

dmesg.txt

  • SoundWire devices, all on link 3:
    • mfg_id 0x025d, part_id 0x0721, version 0x3 (Realtek RT721)
    • mfg_id 0x025d, part_id 0x1320, version 0x3 (Realtek RT1320)
    • mfg_id 0x025d, part_id 0x0722, version 0x3 (Realtek RT722)

Screenshots or console output

sudo dmesg | grep -iE "sof|soundwire|sdw|snd_soc" (trimmed to the relevant
section; full dmesg attached):

[    3.643046] snd_hda_intel 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[    3.692007] sof-audio-pci-intel-ptl 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.692205] sof-audio-pci-intel-ptl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    4.023558] sof-audio-pci-intel-ptl 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [xe])
[    4.031299] sof-audio-pci-intel-ptl 0000:00:1f.3: use msi interrupt mode
[    4.046399] sof-audio-pci-intel-ptl 0000:00:1f.3: No SoundWire machine driver found for the ACPI-reported configuration:
[    4.046403] sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x0721 version 0x3
[    4.046405] sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x1320 version 0x3
[    4.046406] sof-audio-pci-intel-ptl 0000:00:1f.3: link 3 mfg_id 0x025d part_id 0x0722 version 0x3
[    4.046418] sof-audio-pci-intel-ptl 0000:00:1f.3: Use SoundWire default machine driver with function topologies
[    4.046419] sof-audio-pci-intel-ptl 0000:00:1f.3: hda codecs found, mask 4
[    4.046420] sof-audio-pci-intel-ptl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
[    4.046421] sof-audio-pci-intel-ptl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
[    4.046423] sof-audio-pci-intel-ptl 0000:00:1f.3: DMICs detected in NHLT tables: 4
[    4.047703] sof-audio-pci-intel-ptl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[    4.047706] sof-audio-pci-intel-ptl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/ptl/sof-ptl.ri
[    4.047707] sof-audio-pci-intel-ptl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/ptl
[    4.047708] sof-audio-pci-intel-ptl 0000:00:1f.3:  Topology file:     function topologies
[    4.047988] sof-audio-pci-intel-ptl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
[    4.133236] sof-audio-pci-intel-ptl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.14.1.1
[    4.212229] sof-audio-pci-intel-ptl 0000:00:1f.3: Booted firmware version: 2.14.1.1
[    4.223660] sof_sdw sof_sdw: Both SDW DMIC and PCH DMIC are present, if incorrect, please set kernel params snd_sof_intel_hda_generic dmic_num=0 to disable PCH DMIC
[    4.223713] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:1f.3/sof_sdw/SDW3-Playback-SimpleJack'
[    4.223761]  soc_new_pcm_runtime+0x8d/0x2f0 [snd_soc_core]
[    4.223784]  snd_soc_add_pcm_runtime+0x65/0x560 [snd_soc_core]
[    4.223802]  snd_soc_bind_card+0x1ca/0x7a0 [snd_soc_core]
[    4.223822]  snd_soc_register_card+0x185/0x1f0 [snd_soc_core]
[    4.223836]  devm_snd_soc_register_card+0x48/0xa0 [snd_soc_core]
[    4.223853]  mc_probe+0x1ff/0x320 [snd_soc_sof_sdw]
[    4.223869]  ? __pfx_sof_sdw_driver_init+0x10/0x10 [snd_soc_sof_sdw]
[    4.223877]  ? __pfx_sof_sdw_driver_init+0x10/0x10 [snd_soc_sof_sdw]
[    4.223882]  sof_sdw_driver_init+0x1c/0xff0 [snd_soc_sof_sdw]
[    4.223932] kobject: kobject_add_internal failed for SDW3-Playback-SimpleJack with -EEXIST, don't try to register things with the same name in the same directory.
[    4.223976] sof_sdw sof_sdw: probe with driver sof_sdw failed with error -12

aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]

sof-logger output is not included: the DSP boots successfully, but since the
ASoC card never registers there is no meaningful audio activity to trace. I am
happy to provide sof-logger traces, an acpidump, or to test patches on request.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions