Skip to content

[BUG] No Audio on Dell XPS 13 9315 on Arch Linux / latest kernels #11514

Todo

Description

@gbugs

Describe the bug
Recently my Dell XPS 13 9315 laptop no longer plays sound from the built-in speakers. Given I'm running Arch Linux, I'm often a beta tester for the rest of the world. It also means I get quite recent kernels and sof packages. Unfortunately I cannot pinpoint when I started having issues though it may well have been a kernel in the past month or so, a recent Dell BIOS upgrade to 1.41.0, or newer sof packages (sof-firmware 2026.09.2-1, sof-tools 2026.09.2-1)

I can workaround the issue with: sudo modprobe -r snd_sof_pci_intel_tgl && sudo modprobe snd_sof_pci_intel_tgl

My XPS 13 9315 differs ever so slightly from similar Dell models. The XPS 13 9315 shipped with Ubuntu pre-installed and had minor differences in hardware.

To Reproduce
Reboot / cold power on

Reproduction Rate
Always

Expected behavior
Sweet, built-in speaker jams.

Impact
Annoyance given the workaround is simple. It's possible I'm seeing this issue given the recent vintage of my software or the fact the 9315 is a bit different.

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: 7.3.5-arch1-1 (and others per 30~ days)
    • SOF: sof-firmware 2026.09.2-1
  2. Name of the topology file
    • Topology: unsure
  3. Name of the platform(s) on which the bug is observed.
    • Platform: Arch Linux

Screenshots or console output
Please see attached. Goodies include:

Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
..
Nov 21 10:00:51 xps kernel: soundwire sdw-master-0-3: trf on Slave 6 failed:-5 write addr 45 count 1
Nov 21 10:00:51 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_SYSTEMCTRL write failed:-5
Nov 21 10:00:51 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: clock stop prepare failed:-5
Nov 21 10:00:51 xps kernel: soundwire_intel soundwire_intel.link.3: prepare clock stop failed -5
Nov 21 10:00:51 xps kernel: soundwire_intel soundwire_intel.link.3: intel_stop_bus: cannot stop clock: -5
Nov 21 10:00:51 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: PARITY error detected before INT mask is enabled
...

Please also include the relevant sections from the firmware log and kernel log in the report (and attach the full logs for complete reference). Kernel log is taken from dmesg and firmware log from sof-logger. See https://thesofproject.github.io/latest/developer_guides/debugability/logger/index.html

Activity

  1. added
    bug
    on Nov 21, 2026
  2. gbugs commented on Nov 21, 2026

    @gbugs
    Author
    Nov 21 10:00:37 xps kernel: Linux version 7.3.5-arch1-1 (linux@archlinux) (gcc (GCC) 16.2.1 20260810, GNU ld (GNU Binutils) 2.47) #1 SMP PREEMPT_DYNAMIC Tue, 17 Nov 2026 22:28:33 +0000
    Nov 21 10:00:37 xps kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/vg_xps-lv_root rw cryptdevice=UUID=stuff:disk:allow-discards net.ifnames=0 biosdevname=0 ipv6.disable=1 resume=UUID=stuff ignore_loglevel
    <snip>
    Nov 21 10:00:38 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
    Nov 21 10:00:38 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
    <snip>
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
    <snip>
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: BT link detected in NHLT tables: 0x4
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 0
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0:
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3:  Firmware file:     intel/sof/sof-adl.ri
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3:  Topology file:     intel/sof-tplg/sof-adl-rt1316-l2-mono-rt714-l3.tplg
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
    <snip>
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
    Nov 21 10:00:39 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1
    <snip>
    Nov 21 10:00:40 xps kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    Nov 21 10:00:40 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: loading topology: intel/sof-tplg/sof-adl-rt1316-l2-mono-rt714-l3.tplg
    Nov 21 10:00:40 xps kernel: Bluetooth: BNEP filters: protocol multicast
    Nov 21 10:00:40 xps kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:1
    Nov 21 10:00:40 xps kernel: Bluetooth: BNEP socket layer initialized
    Nov 21 10:00:40 xps kernel: sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
    <snip>
    Nov 21 10:00:40 xps kernel: sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
    <snip>
    Nov 21 10:00:40 xps kernel: input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input18
    Nov 21 10:00:40 xps kernel: input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input19
    Nov 21 10:00:40 xps kernel: input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input20
    <snip>
    Nov 21 10:00:43 xps systemd[875]: Started GNOME keyboard shortcuts service.
    Nov 21 10:00:43 xps systemd[875]: Reached target GNOME keyboard shortcuts target.
    Nov 21 10:00:43 xps systemd[875]: Started PipeWire Multimedia Service.
    Nov 21 10:00:43 xps systemd[875]: Started Multimedia Service Session Manager.
    Nov 21 10:00:43 xps systemd[875]: Started PipeWire PulseAudio.
    Nov 21 10:00:43 xps NetworkManager[741]: <info>  [1795276843.2328] agent-manager: agent[b07db5d87c737f06,:1.19/org.gnome.Shell.NetworkAgent/60578]: agent registered
    Nov 21 10:00:43 xps systemd[875]: Started GNOME power management service.
    Nov 21 10:00:43 xps systemd[875]: Reached target GNOME power management target.
    Nov 21 10:00:43 xps systemd[875]: Reached target GNOME Session.
    Nov 21 10:00:43 xps systemd[875]: Reached target Current graphical user session.
    Nov 21 10:00:43 xps rtkit-daemon[945]: Successfully made thread 1618 of process 1618 owned by '60578' high priority at nice level -11.
    Nov 21 10:00:43 xps rtkit-daemon[945]: Successfully made thread 1629 of process 1618 owned by '60578' RT at priority 20.
    Nov 21 10:00:43 xps rtkit-daemon[945]: Successfully made thread 1620 of process 1620 owned by '60578' high priority at nice level -11.
    Nov 21 10:00:43 xps rtkit-daemon[945]: Successfully made thread 1633 of process 1620 owned by '60578' RT at priority 20.
    Nov 21 10:00:43 xps rtkit-daemon[945]: Successfully made thread 1619 of process 1619 owned by '60578' high priority at nice level -11.
    Nov 21 10:00:43 xps rtkit-daemon[945]: Successfully made thread 1641 of process 1619 owned by '60578' RT at priority 20.
    Nov 21 10:00:43 xps gsd-media-keys[1008]: Failed to grab accelerator for keybinding settings:playback-repeat
    Nov 21 10:00:43 xps gsd-media-keys[1008]: Failed to grab accelerator for keybinding settings:hibernate
    Nov 21 10:00:43 xps systemd[1]: Starting Power Profiles daemon...
    Nov 21 10:00:43 xps dbus-broker-launch[739]: Activation request for 'org.freedesktop.GeoClue2' failed: The systemd unit 'geoclue.service' is masked.
    Nov 21 10:00:43 xps rtkit-daemon[945]: Successfully made thread 1619 of process 1619 owned by '60578' high priority at nice level -11.
    Nov 21 10:00:43 xps systemd[1]: Started Power Profiles daemon.
    Nov 21 10:00:43 xps rtkit-daemon[945]: Successfully made thread 1664 of process 1619 owned by '60578' RT at priority 20.
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUSCLOCK_SCALE_B0 write failed:-61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    Nov 21 10:00:43 xps kernel: soundwire_intel soundwire_intel.link.3: Msg NACK received, cmd 0
    Nov 21 10:00:43 xps kernel: soundwire_intel soundwire_intel.link.3: Msg NACKed for Slave 6
    Nov 21 10:00:43 xps kernel: soundwire sdw-master-0-3: trf on Slave 6 failed:-5 write addr 62 count 1
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUSCLOCK_SCALE_B0 write failed:-5
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -5
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    Nov 21 10:00:43 xps kernel: soundwire_intel soundwire_intel.link.3: Msg NACK received, cmd 0
    Nov 21 10:00:43 xps kernel: soundwire_intel soundwire_intel.link.3: Msg NACKed for Slave 6
    Nov 21 10:00:43 xps kernel: soundwire sdw-master-0-3: trf on Slave 6 failed:-5 write addr 4d count 1
    Nov 21 10:00:43 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-5
    <all kinds of similar messages>
    
    Nov 21 10:00:51 xps kernel: soundwire sdw-master-0-3: trf on Slave 6 failed:-5 write addr 45 count 1
    Nov 21 10:00:51 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_SYSTEMCTRL write failed:-5
    Nov 21 10:00:51 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: clock stop prepare failed:-5
    Nov 21 10:00:51 xps kernel: soundwire_intel soundwire_intel.link.3: prepare clock stop failed -5
    Nov 21 10:00:51 xps kernel: soundwire_intel soundwire_intel.link.3: intel_stop_bus: cannot stop clock: -5
    Nov 21 10:00:51 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: PARITY error detected before INT mask is enabled
    
    <and so on> 
    `
    
  3. lgirdwood commented on Nov 22, 2026

    @lgirdwood
    Member

    Adding @thesofproject/realtek and @shumingfan - This is alderlake IIUC so I cant think of anything that would have changed here @bardliao @ujfalusi around soundwire clock ?

  4. gbugs commented on Nov 22, 2026

    @gbugs
    Author

    Thanks. I can confirm this is indeed Alder Lake, specifically "12th Gen Intel(R) Core(TM) i5-1230U". While loading/unloading snd_sof_pci_intel_tgl does re-enable sound, sometimes it causes (or does not stop) massive log spamming that DoS's journald with messages like:

    rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-5
    rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -5
    rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    soundwire sdw-master-0-3: trf on Slave 6 failed:-5 write addr 4d count 1

  5. bardliao commented on Nov 23, 2026

    @bardliao
    Collaborator

    @gbugs The issue description says the built-in speakers have no output, but the dmesg shows the error on rt715 which is a mic. Can you check the mic also?
    Please add options soundwire-bus dyndbg=+pmf options snd-soc-sdw-utils dyndbg=+pmf to one of the .conf file in the /etc/modprobe.d/ directory and share the full dmesg log.

  6. bardliao commented on Nov 23, 2026

    @bardliao
    Collaborator

    Adding @thesofproject/realtek and @shumingfan - This is alderlake IIUC so I cant think of anything that would have changed here @bardliao @ujfalusi around soundwire clock ?

    @lgirdwood It looks more like the rt715 codec is not attached.

  7. bardliao commented on Nov 23, 2026

    @bardliao
    Collaborator

    @gbugs The issue description says the built-in speakers have no output, but the dmesg shows the error on rt715 which is a mic. Can you check the mic also? Please add options soundwire-bus dyndbg=+pmf options snd-soc-sdw-utils dyndbg=+pmf to one of the .conf file in the /etc/modprobe.d/ directory and share the full dmesg log.

    @gbugs Could you also share the dmesg log after sudo modprobe -r snd_sof_pci_intel_tgl && sudo modprobe snd_sof_pci_intel_tgl?

  8. bardliao commented on Nov 23, 2026

    @bardliao
    Collaborator

    @gbugs Another question, do you switch between Windows and Linux?

  9. gbugs commented on Nov 23, 2026

    @gbugs
    Author

    Thanks all. I do not dual boot Windows. I can also confirm the mic does not work. Here is dmesg (trimmed for Github) after running sudo modprobe -r snd_sof_pci_intel_tgl && sudo modprobe snd_sof_pci_intel_tgl without adding the module flags:

    [ 325.644597] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    [ 325.644803] soundwire sdw-master-0-3: trf on Slave 6 failed:-5 write addr 4d count 1
    [ 325.644806] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-5
    [ 325.644808] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -5
    [ 325.645202] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUSCLOCK_SCALE_B0 write failed:-61
    [ 325.645204] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    [ 325.645532] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    [ 325.645534] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    [ 325.645836] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    [ 325.645838] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    [ 325.646200] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUSCLOCK_SCALE_B0 write failed:-61
    [ 325.885099] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61

    Per above, the spearkers work after reloading however the error messages continue. The mic now shows up in Gnome's settings, which is not true without reloading the module. The mic does not appear to work, however.

    After a full power off/power on (not reboot) with "options soundwire-bus dyndbg=+pmf options snd-soc-sdw-utils dyndbg=+pmf" added as the only options under /etc/modprobe.d, here is dmesg without reloading the module:

    [ 22.694854] soundwire_bus:sdw_slave_get_scale_index: rt715-sdca sdw:0:3:025d:0714:01: Configured bus base 1, scale 3, mclk 19200000, curr_freq 4800000
    [ 22.695083] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUSCLOCK_SCALE_B0 write failed:-61
    [ 22.695086] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    [ 22.695089] soundwire_bus:sdw_handle_slave_status: rt715-sdca sdw:0:3:025d:0714:01: signaling initialization completion for Slave 6
    [ 22.695225] soundwire_bus:sdw_handle_slave_status: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 state check1: UNATTACHED, status was 1
    [ 22.695229] soundwire_bus:sdw_modify_slave_status: rt715-sdca sdw:0:3:025d:0714:01: initializing enumeration and init completion for Slave 6
    [ 22.695434] soundwire_bus:sdw_modify_slave_status: rt715-sdca sdw:0:3:025d:0714:01: signaling enumeration completion for Slave 6
    [ 22.695437] soundwire_bus:sdw_slave_get_scale_index: rt715-sdca sdw:0:3:025d:0714:01: Configured bus base 1, scale 3, mclk 19200000, curr_freq 4800000
    [ 22.695560] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    [ 22.695563] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    [ 22.695566] soundwire_bus:sdw_handle_slave_status: rt715-sdca sdw:0:3:025d:0714:01: signaling initialization completion for Slave 6
    [ 22.695945] soundwire_bus:sdw_handle_slave_status: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 state check1: UNATTACHED, status was 1
    [ 22.695949] soundwire_bus:sdw_modify_slave_status: rt715-sdca sdw:0:3:025d:0714:01: initializing enumeration and init completion for Slave 6
    [ 22.696111] soundwire_bus:sdw_modify_slave_status: rt715-sdca sdw:0:3:025d:0714:01: signaling enumeration completion for Slave 6
    [ 22.696114] soundwire_bus:sdw_slave_get_scale_index: rt715-sdca sdw:0:3:025d:0714:01: Configured bus base 1, scale 3, mclk 19200000, curr_freq 4800000
    [ 22.696271] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    [ 22.696274] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    [ 22.696277] soundwire_bus:sdw_handle_slave_status: rt715-sdca sdw:0:3:025d:0714:01: signaling initialization completion for Slave 6
    [ 22.696547] soundwire_bus:sdw_handle_slave_status: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 state check1: UNATTACHED, status was 1
    [ 22.696551] soundwire_bus:sdw_modify_slave_status: rt715-sdca sdw:0:3:025d:0714:01: initializing enumeration and init completion for Slave 6
    [ 22.696689] soundwire_bus:sdw_modify_slave_status: rt715-sdca sdw:0:3:025d:0714:01: signaling enumeration completion for Slave 6
    [ 22.696692] soundwire_bus:sdw_slave_get_scale_index: rt715-sdca sdw:0:3:025d:0714:01: Configured bus base 1, scale 3, mclk 19200000, curr_freq 4800000
    [ 22.696833] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    [ 22.696837] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    [ 26.619204] soundwire_bus:sdw_bus_wait_for_clk_prep_deprep: soundwire sdw-master-0-3: clock stop prepare done slave:15

    After removing/re-adding the module:

    [ 106.548256] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.548262] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.548423] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.548685] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.548689] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.548756] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.549051] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.549056] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.549120] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.551234] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.551244] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.551316] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.551560] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.551563] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.551631] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.551900] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.551903] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.551978] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.552247] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.552250] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.552383] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.552636] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.552639] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.552823] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.553079] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.553083] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.553152] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.553407] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.553409] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.553547] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.553802] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.553805] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.553902] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.554136] soundwire sdw-master-0-3: trf on Slave 0 failed:-5 read addr 50 count 6
    [ 106.554138] soundwire sdw-master-0-3: DEVID read fail:-5
    [ 106.554500] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    [ 106.763325] soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number

    Thanks very much!

  10. bardliao commented on Nov 23, 2026

    @bardliao
    Collaborator

    @gbugs Can you attach the full dmesg log after reboot? From the limited log you shared, I am afraid that your mic codec (rt715) is broken physically. And I don't see any log about the amp (rt1316). I am more interested in the amp's log, but you didn't share any.

  11. gbugs commented on Nov 23, 2026

    @gbugs
    Author

    Apologies, I'd run into some github attachment issues. Also, dmesg truncates after a small number of lines.

    Some interesting observations. I booted straight into a console, and observed no issues. Here's dmesg after cold booting into console:

    snd_cold_boot.txt

    However, after trying to play a file on the console, I immediately observed error messages. From sudo journalctl -lab and grep -v NetworkManager snd_after_mpv.txt |grep -v iwlwifi |grep -v wpa_supp |grep -vi bluetooth |grep -v wlan0 > snd_after_mpv_nm.txt

    snd_after_mpv_nm.txt

  12. bardliao commented on Nov 24, 2026

    @bardliao
    Collaborator

    @gbugs That is interesting. Good news is that the rt714 codec is not likely broken because it can be attached. But, somehow it unattached immediately and that is the reason that you got the -61 errors.

    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_handle_slave_status: soundwire sdw-master-0-3: Slave attached, programming device number
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_extract_slave_id: soundwire sdw-master-0-3: SDW Slave Addr: 30025d071401
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_extract_slave_id: soundwire sdw-master-0-3: SDW Slave class_id 0x01, mfg_id 0x025d, part_id 0x0714, unique_id 0x0, version 0x3
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_program_device_num: soundwire sdw-master-0-3: No more devices to enumerate
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_modify_slave_status: rt715-sdca sdw:0:3:025d:0714:01: signaling enumeration completion for Slave 6
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_slave_get_scale_index: rt715-sdca sdw:0:3:025d:0714:01: Configured bus base 1, scale 3, mclk 19200000, curr_freq 4800000
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_handle_slave_status: rt715-sdca sdw:0:3:025d:0714:01: signaling initialization completion for Slave 6
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_slave_get_scale_index: rt715-sdca sdw:0:3:025d:0714:01: Configured bus base 1, scale 3, mclk 19200000, curr_freq 4800000
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_handle_slave_status: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 state check1: UNATTACHED, status was 1
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_modify_slave_status: rt715-sdca sdw:0:3:025d:0714:01: initializing enumeration and init completion for Slave 6
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_modify_slave_status: rt715-sdca sdw:0:3:025d:0714:01: signaling enumeration completion for Slave 6
    Nov 23 08:40:29 xps kernel: soundwire_bus:sdw_slave_get_scale_index: rt715-sdca sdw:0:3:025d:0714:01: Configured bus base 1, scale 3, mclk 19200000, curr_freq 4800000
    Nov 23 08:40:29 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
    Nov 23 08:40:29 xps kernel: rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
    

    Can you apply below change and share the log and what happened with below change?

    diff --git a/drivers/soundwire/intel_ace2x.c b/drivers/soundwire/intel_ace2x.c
    index 642b33ab5526..12cdec5246d6 100644
    --- a/drivers/soundwire/intel_ace2x.c
    +++ b/drivers/soundwire/intel_ace2x.c
    diff --git a/drivers/soundwire/intel_ace2x.c b/drivers/soundwire/intel_ace2x.c
    index 642b33ab5526..d84e998d8964 100644
    --- a/drivers/soundwire/intel_ace2x.c
    +++ b/drivers/soundwire/intel_ace2x.c
    @@ -457,6 +457,11 @@ static void intel_shim_vs_init(struct sdw_intel *sdw)
            dodse = intel_prop->dodse;
            dods = intel_prop->dods;
    
    +       dev_info(bus->dev,
    +                "%s: clde %u doaise2 %u dodse2 %u clds %u clss %u doaise %u doais %u dodse %u dods %u\n",
    +                __func__, clde, doaise2, dodse2, clds, clss,
    +                doaise, doais, dodse, dods);
    +
            act = intel_readw(shim_vs, SDW_SHIM2_INTEL_VS_ACTMCTL);
            u16p_replace_bits(&act, clde, SDW_SHIM3_INTEL_VS_ACTMCTL_CLDE);
            u16p_replace_bits(&act, doaise2, SDW_SHIM3_INTEL_VS_ACTMCTL_DOAISE2);
    @@ -467,7 +472,6 @@ static void intel_shim_vs_init(struct sdw_intel *sdw)
            u16p_replace_bits(&act, doais, SDW_SHIM2_INTEL_VS_ACTMCTL_DOAIS);
            u16p_replace_bits(&act, dodse, SDW_SHIM2_INTEL_VS_ACTMCTL_DODSE);
            u16p_replace_bits(&act, dods, SDW_SHIM2_INTEL_VS_ACTMCTL_DODS);
    -       act |= SDW_SHIM2_INTEL_VS_ACTMCTL_DACTQE;
            intel_writew(shim_vs, SDW_SHIM2_INTEL_VS_ACTMCTL, act);
            usleep_range(10, 15);
     }
    
  13. gbugs commented on Nov 24, 2026

    @gbugs
    Author

    Thanks for all your help, Bard. My earlier message about dmesg was that as soon as I get errors, I overflow the dmesg buffer, overwriting important information. As a result I switched to using journalctl. If you have a preferred command line to sanitize journald logs I'd be happy to use it.

    I booted this machine with different live distros and found some interesting results as well.
    grep -v NetworkManager debian13_journalctl_lab_debian_live_cd.txt |grep -v iwlwifi |grep -v wpa_supp |grep -vi bluetooth |grep -v wlan0 > deb13_logs.txt

    deb13_logs.txt

    grep -v NetworkManager fedora45_live_journalctl_lab.txt |grep -v iwlwifi |grep -v wpa_supp |grep -vi bluetooth |grep -v wlan0 > fedora45_logs.txt

    fedora45_logs.txt

    grep -v NetworkManager fedora42_journalctl_lab.txt |grep -v iwlwifi |grep -v wpa_supp |grep -vi bluetooth |grep -v wlan0 > fedora42_logs.txt

    fedora42_logs.txt

    I'll look into applying the patch as well. I'll have to get refreshed on how to do so.

  14. bardliao commented on Nov 24, 2026

    @bardliao
    Collaborator

    Sorry, my previous patch was wrong: it modified intel_ace2x.c which is only used by ACE2+ (LNL/PTL) platforms, while your Alder Lake uses intel.c. Please use the patch below instead. It removes DACTQE from the shim CTMCTL setting to see if the slave still goes UNATTACHED right after being attached. Please share the dmesg with dyndbg=+pmf enabled and tell us whether the -61 errors are gone.

    diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c
    index af65214836b4..4022077140a9 100644
    --- a/drivers/soundwire/intel.c
    +++ b/drivers/soundwire/intel.c
    @@ -282,8 +282,9 @@ static void intel_shim_init(struct sdw_intel *sdw)
    
            act = intel_readw(shim, SDW_SHIM_CTMCTL(link_id));
            u16p_replace_bits(&act, 0x1, SDW_SHIM_CTMCTL_DOAIS);
    -       act |= SDW_SHIM_CTMCTL_DACTQE;
            act |= SDW_SHIM_CTMCTL_DODS;
    +       dev_info(sdw->cdns.bus.dev, "%s: link %u CTMCTL 0x%x (DACTQE not set)\n",
    +                __func__, link_id, act);
            intel_writew(shim, SDW_SHIM_CTMCTL(link_id), act);
            usleep_range(10, 15);
     }

    Please keep the dyndbg options options soundwire-bus dyndbg=+pmf, reboot, and share the full, unfiltered log (no grep):

    sudo dmesg > dmesg-full.log
    

    Also, is it possible to roll back to previous BIOS version?

  15. 3 remaining items

  16. bardliao commented on Nov 25, 2026

    @bardliao
    Collaborator

    @bardliao It doesn't look like related to sof firmware. Can you roll back to a relative old kernel like 6.18 and check if that is a kernel issue?

  17. bardliao commented on Nov 25, 2026

    @bardliao
    Collaborator

    @bardliao It doesn't look like related to sof firmware. Can you roll back to a relative old kernel like 6.18 and check if that is a kernel issue?

    Sorry, I just realized Debian 13 live uses kernel 6.12.117 and Fedora 42 live uses kernel 6.14.0 and both have the same issue. So, it is not likely a kernel regression.

  18. gbugs commented on Nov 25, 2026

    @gbugs
    Author

    Hi Bard. Regardless, I just tried Arch's 6.7.1-arch1-1. Still no sound, unfortunately. When I boot to console I still have a usable dmesg, but attempting to play a sound gives me the usual flood of messages. Attaching dmesg when booting to console before attempting to play a sound:

    dmesg_old_kernel_console_boot.txt

    I'll be compiling your patches now.

  19. gbugs commented on Nov 25, 2026

    @gbugs
    Author

    Just a quick note that the patches haven't been applying cleanly on Arch's 7.3.6:

    $ patch -p1 < ../../soundwire.patch                                                                                                                    
    patching file drivers/soundwire/bus.c                                                                                                                                     
    Hunk #1 FAILED at 278.                                                                                                                                                    
    Hunk #2 FAILED at 1410.                                                              
    Hunk #3 FAILED at 1418.                                                              
    Hunk #4 FAILED at 1999.                                                              
    4 out of 4 hunks FAILED -- saving rejects to file drivers/soundwire/bus.c.rej        
    patching file drivers/soundwire/cadence_master.c                                     
    Hunk #1 FAILED at 871.             
    Hunk #2 FAILED at 894.                                                               
    Hunk #3 FAILED at 1013.                                                              
    Hunk #4 FAILED at 1063.                                                              
    4 out of 4 hunks FAILED -- saving rejects to file drivers/soundwire/cadence_master.c.rej
    

    I've added the lines by hand, so hopefully I've done it properly. I'll update after compiling/rebooting.

  20. bardliao commented on Nov 25, 2026

    @bardliao
    Collaborator

    @gbugs Can you add "options snd_sof_pci sof_pci_debug=1" in one of the .conf file in the /etc/modprobe.d/ directory to keep the audio PCI device powered and see if it helps?

  21. gbugs commented on Nov 25, 2026

    @gbugs
    Author

    Sure thing. Currently compiling your patches against Arch's 7.3.6. Right now, here are my module options:

    options soundwire-bus dyndbg=+pmf options snd-soc-sdw-utils dyndbg=+pmf options snd_sof_pci sof_pci_debug=1
    
  22. gbugs commented on Nov 25, 2026

    @gbugs
    Author

    Rebooted into Arch's latest kernel, not patched.
    dmesg before sound:

    dmesg_addl_debug.txt
    dmesg after attempting to play a sound:

    dmesg_addl_debug_after_sound.txt

  23. bardliao commented on Nov 25, 2026

    @bardliao
    Collaborator

    Sure thing. Currently compiling your patches against Arch's 7.3.6. Right now, here are my module options:

    options soundwire-bus dyndbg=+pmf options snd-soc-sdw-utils dyndbg=+pmf options snd_sof_pci sof_pci_debug=1
    

    Note that you have to write those options in different lines.
    I.e.

    options soundwire-bus dyndbg=+pmf
    options snd-soc-sdw-utils dyndbg=+pmf
    options snd_sof_pci sof_pci_debug=1
    

    Actually, below options are better.

    options snd_sof_pci sof_pci_debug=1
    options soundwire-bus dyndbg=+pmf
    options soundwire_cadence dyndbg=+pmf
    options soundwire_intel_init dyndbg=+pmf
    options soundwire_intel dyndbg=+pmf
    
  24. gbugs commented on Nov 25, 2026

    @gbugs
    Author

    Ah, thank you. Fixed. Attaching dmesg after booting to console both before and after attempting to play sound:

    dmesg_before_sound.txt

    dmesg_after_sound.txt

  25. gbugs commented on Nov 25, 2026

    @gbugs
    Author

    I've compiled Arch's latest kernel (7.3.6) with your patches:

    dmesg_before_sound.txt

    dmesg_after_sound.txt

  26. gbugs commented on Nov 25, 2026

    @gbugs
    Author

    Hopefully some more helpful information. I've booted the patched kernel directly to console leaving your module options in place. I'm now using logger to mark journald messages before and after playing a sound from the console:

    dmesg_before_sound.txt

    journalctl_after_playing_sound.txt

  27. bardliao commented on Nov 26, 2026

    @bardliao
    Collaborator

    @gbugs Thanks, the logs are very helpful.

    Summary: At boot both codecs enumerate fine and the links enter clock stop normally. When PipeWire opens the SmartMic capture stream, link 3 does a bank switch (MCP_STAT 0x2 -> 0x103002). Right after that, rt714 keeps losing sync (attached/unattached toggling), which causes all the -61/-5 errors. The clock and frame shape don't change. The speaker link (link 2) has no errors. This looks like a link 3 signal timing issue that only shows up once rt714 starts sending data.

    The attached patches are made against v7.3. Hope they can apply to your kernel.
    1.ratelimit-status-debug.patch: the debug patch from my last comment, regenerated for 7.3.6.
    2. ctmctl-doais-dactqe.patch: adds module params to change the link output timing, so you only need to build once.
    3. stream-params-debug.patch : prints the frame shape and port parameters at stream prepare and bank switch.

    Then do one boot per case below. Add the option to /etc/modprobe.d/sof-debug.conf, one option per line, keeping the existing dyndbg lines. Boot to console and run arecord -D hw:0, -f S16_LE -r 48000 -c 2 -d 5 /tmp/t.wav. Then share journalctl -k -b and tell us whether the errors appear and whether the recording works:

    case               option 
    A (baseline)       none  
    B                  options soundwire_intel dbg_dactqe=N 
    C                  options soundwire_intel dbg_doais=-2 (use the BIOS value, 0x3)
    D                  options soundwire_intel dbg_doais=-2 dbg_dactqe=N  
    

    If possible, please also share one log from case A taken after the modprobe -r/modprobe workaround.

  28. gbugs commented on Nov 26, 2026

    @gbugs
    Author

    Thank you Bard. All patches applied cleanly to Arch's 7.3.6. Compiling now, and I'll report back after running your tests.

    Quick question, am I reading correctly that Case B should use the argument "dbg_dactqe=N"?

  29. bardliao commented on Nov 27, 2026

    @bardliao
    Collaborator

    Thanks @gbugs! Unfortunately arecord never opened the device — the logs show Unknown PCM hw:0,, the placeholder needs to be replaced with the actual PCM number. Please run arecord -l and use the device number of the SmartMic (rt714) capture PCM (likely hw:0,4), e.g. arecord -D hw:0,4 -f S16_LE -r 48000 -c 2 -d 5 /tmp/t.wav. The module params did take effect (CTMCTL readback 0xb/0xa/0x1b/0x1a for A/B/C/D).

    The case D workaround log is still useful: after the reload, a capture stream on link 3 started and rt714 lost sync right after the bank switch, same as before. So DOAIS=3 + DACTQE=0 does not fix it. Could you please redo cases A, B and C with the correct PCM number? Also, if PipeWire is running, please stop it first (systemctl --user stop pipewire pipewire.socket wireplumber) so that only arecord opens the stream.

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

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions