From daf738725e280fa0f0a7e4aa1db5afa2716bb9d7 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 11 Mar 2026 14:20:49 +0100 Subject: [PATCH] Fix Dell XPS audio until we have an upstream fix --- install/config/all.sh | 1 + install/config/hardware/fix-dell-xps-audio.sh | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 install/config/hardware/fix-dell-xps-audio.sh diff --git a/install/config/all.sh b/install/config/all.sh index f45f09cb..1ed61bde 100644 --- a/install/config/all.sh +++ b/install/config/all.sh @@ -46,5 +46,6 @@ run_logged $OMARCHY_INSTALL/config/hardware/fix-surface-keyboard.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-audio-mixer.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-mic.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-yt6801-ethernet-adapter.sh +run_logged $OMARCHY_INSTALL/config/hardware/fix-dell-xps-audio.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-synaptic-touchpad.sh run_logged $OMARCHY_INSTALL/config/hardware/framework16-qmk-hid.sh diff --git a/install/config/hardware/fix-dell-xps-audio.sh b/install/config/hardware/fix-dell-xps-audio.sh new file mode 100644 index 00000000..d41fdc0d --- /dev/null +++ b/install/config/hardware/fix-dell-xps-audio.sh @@ -0,0 +1,20 @@ +# Fix audio on Dell XPS 2026 (Panther Lake) by blacklisting SOF audio modules +# that conflict with standard HDA drivers. This turns off audio, but allows boot. +# This is meant to be removed as soon as its fixed upstream. + +if lspci | grep -iE 'vga|3d|display' | grep -qi 'panther lake'; then + sudo tee /etc/modprobe.d/blacklist-audio.conf << 'EOF' +blacklist snd_sof_pci_intel_ptl +blacklist snd_sof_pci_intel_lnl +blacklist snd_sof_pci_intel_mtl +blacklist snd_sof_intel_hda_generic +blacklist snd_sof_intel_hda_common +blacklist snd_sof_intel_hda +blacklist snd_sof_pci +blacklist snd_sof +blacklist soundwire_intel +blacklist snd_soc_cs35l56_sdw +blacklist snd_soc_cs35l56 +blacklist snd_soc_skl_hda_dsp +EOF +fi