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. 18 remaining items

  16. gbugs commented on Nov 27, 2026

    @gbugs
    Author

    Some notes. PipeWire will be enabled when playing sounds on the console even after stopping per your command. If I mask PipeWire, I'll reboot without errors however I was unable to play sounds via alsa, pcm, or other attempts with mpv or mplayer. You're correct that the proper recording device in my case was hw:0,4, however no sound was successfully captured.

    case_a_arecord_logs_workaround.txt
    case_a_logs_at_boot-with_pipewire.txt

    case_a_arecord_attempt.txt
    case_a_logs_at_boot.txt

    case_b_arecord_attempt.txt
    case_b_logs_at_boot.txt

    case_c_arecord_attempt.txt
    case_c_logs_at_boot.txt

    case_d_arecord_attempt.txt
    case_d_logs_at_boot.txt

  17. bardliao commented on Nov 29, 2026

    @bardliao
    Collaborator

    Thanks for the logs. Please apply one more debug patch on top of the previous three (v7.3.6 + p1/p2/p3): bank-switch-regdump.patch. It reads back the codec and controller registers before/after the bank switch and right after rt714 re-attaches.

    No module parameters needed (remove the dbg_doais/dbg_dactqe lines, keep the dyndbg lines). Boot to console, then run:
    arecord -D hw:0,4 -f S16_LE -r 48000 -c 2 -d 5 /tmp/t.wav
    and share journalctl -k -b (unfiltered).

  18. gbugs commented on Nov 29, 2026

    @gbugs
    Author

    Hello Bard. Please see attached.

    logs_at_boot.txt

    logs_after_cmd.txt

  19. bardliao commented on Nov 30, 2026

    @bardliao
    Collaborator

    Thanks @gbugs! The register dump shows that the bank switch itself works. Right after it, rt714 is still healthy and no audio data is on the bus yet. Shortly after that, rt714 resets and drops off the bus. Several driver steps run in that short window, including powering up the codec's mic function, and the log doesn't tell us which one causes the reset.

    The attached ckpt-msleep-debug.patch (apply it on top of the previous 4 patches) adds a 100 ms pause after each of these steps and checks whether rt714 is still attached. The first checkpoint that prints *** LOST *** tells us which step causes the reset. Then we know where to dig: the bank switch, the codec power-up, or the data transfer.

    Please run:
    arecord -D hw:0,4 -f S16_LE -r 48000 -c 2 -d 5 /tmp/t.wav
    journalctl -k -b -o short-monotonic > ckpt.log
    and share ckpt.log. Thanks!

  20. gbugs commented on Nov 30, 2026

    @gbugs
    Author

    Thank you again for all your help and patience, Bard. Please see attached.

    ckpt.log

  21. bardliao commented on Nov 30, 2026

    @bardliao
    Collaborator

    Thanks @gbugs! To confirm that powering up the mic is what resets the codec, please apply skip-pde-debug.patch on top of the previous patches (including ckpt-msleep-debug). It skips the mic power-up write (PS0) by default, so the recording will probably be silent. That's expected. We only want to see whether rt714 stays attached.

    Please run both cases in the same boot:

    systemctl --user stop pipewire pipewire.socket wireplumber

    Case 1: power-up skipped (default)

    arecord -D hw:0,4 -f S16_LE -r 48000 -c 2 -d 5 /tmp/t1.wav

    Case 2: power-up enabled again

    echo N | sudo tee /sys/module/snd_soc_rt715_sdca/parameters/dbg_skip_pde
    arecord -D hw:0,4 -f S16_LE -r 48000 -c 2 -d 5 /tmp/t2.wav

    journalctl -k -b -o short-monotonic > skip-pde.log
    and share skip-pde.log. Thanks!

  22. gbugs commented on Nov 30, 2026

    @gbugs
    Author

    Hi Bard:
    Please see attached:

    skip-pde.log

  23. bardliao commented on Dec 1, 2026

    @bardliao
    Collaborator

    Thanks @gbugs, this confirms it.

    With the mic power-up skipped (case 1), the whole capture path ran cleanly. The stream started, data flowed for the full 5 seconds, the stream stopped, and the link went back to sleep, with no errors at all. With the power-up enabled again in the same boot (case 2), rt714 dropped off the bus right after the power-up write, exactly as before.

    So the SoundWire bus and the driver sequence are fine. The codec resets as soon as its microphone function is powered on. That points to a codec or platform issue, for example the power supply or the mic circuitry, rather than a kernel/SOF bug.

    Could you check does the internal mic work on Windows on this machine with the current BIOS? A Windows installer/live USB is enough to check.

    @thesofproject/realtek Could you take a look?

  24. shumingfan commented on Dec 1, 2026

    @shumingfan
    Contributor

    @gbugs Please apply the following modification below.

    --- a/drivers/base/regmap/regmap.c
    +++ b/drivers/base/regmap/regmap.c
    @@ -30,7 +30,7 @@
      * sort of problem defining LOG_DEVICE will add printks for basic
      * register I/O on a specific device.
      */
    -#undef LOG_DEVICE
    +#define LOG_DEVICE "sdw:0:3:025d:0714:01"
    

    After applying the change, please reproduce the issue and capture the log mentioned in #11514 (comment).
    Also, please share the output of the following command:
    $ alsa-info

  25. gbugs commented on Dec 1, 2026

    @gbugs
    Author

    Hi all. I'm feeling a bit under the weather but I'm happy to attempt to boot Windows when able. Just a reminder that this laptop (9315) shipped with Ubuntu pre-installed and my understanding is that it has minor hardware differences from other XPS 13's of its age. That said, I do think booting Windows would provide a good data point.

    Applied @shumingfan's patch. Please see attached logs:

    skip-pde.log

  26. shumingfan commented on Dec 2, 2026

    @shumingfan
    Contributor

    @gbugs Thanks for the testing.
    We are concerned that this may be a hardware issue, so testing with Windows would be a good way to investigate further.
    Would you mind also providing the alsa-info output after completing the Windows testing?

  27. gbugs commented on Dec 3, 2026

    @gbugs
    Author

    Apologies for forgetting alsa-info. Please see attached:

    alsa-info.txt

    Also, I booted the latest version of Windows 11. No sound input or output hardware was detected. As another point, no network hardware was detected either, however my network functions properly in Linux.

  28. shumingfan commented on Dec 4, 2026

    @shumingfan
    Contributor

    @gbugs
    Could you update the drivers on the Dell website?
    https://www.dell.com/support/product-details/zh-tw/product/xps-13-9315-laptop/drivers
    After updating the drivers, please check whether the audio is working properly.

  29. gbugs commented on Dec 4, 2026

    @gbugs
    Author

    Hi @shumingfan, absolutely. Apologies for the oversight. I'll download the drivers ahead of time and reimage. After testing I'll report back.

  30. gbugs commented on Dec 4, 2026

    @gbugs
    Author

    Reinstalled Windows and installed the Realtek drivers (Realtek High Definition Audio Driver) from Dell's site. The laptop speakers worked without issue. Unless I'm missing drivers (I certainly don't know Windows very well) recording was unavailable as no input hardware was found. I'm assuming the Realtek driver executable contains everything I need for sound and input capture however I'm happy to try other drivers/things if needed.

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