From 804d138909d30dba048dd396c8954444a0a069a8 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 18 Jul 2026 12:31:25 -0700 Subject: [PATCH] Widen sof-firmware install to all Intel SOF audio platforms The sof-audio-pci-intel-* driver family needs sof-firmware to boot the DSP, but mainline linux only optdeps it, so affected installs came up with a Dummy Output sink only. Replace the Panther Lake check with omarchy-hw-intel-sof, which detects any Intel PCI audio controller. Ports ffa81021 from master, which adapts basecamp/omarchy#6200. Co-Authored-By: Claude Fable 5 --- bin/omarchy-hw-intel-sof | 5 +++++ install/hardware/intel/sof-firmware.sh | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100755 bin/omarchy-hw-intel-sof diff --git a/bin/omarchy-hw-intel-sof b/bin/omarchy-hw-intel-sof new file mode 100755 index 00000000..0055dc69 --- /dev/null +++ b/bin/omarchy-hw-intel-sof @@ -0,0 +1,5 @@ +#!/bin/bash + +# omarchy:summary=Detect an Intel SOF-capable audio DSP + +lspci | grep -qiE '(Multimedia audio controller|Audio device).*Intel' diff --git a/install/hardware/intel/sof-firmware.sh b/install/hardware/intel/sof-firmware.sh index 36b0be95..7d416a89 100644 --- a/install/hardware/intel/sof-firmware.sh +++ b/install/hardware/intel/sof-firmware.sh @@ -1,8 +1,7 @@ -# Install Sound Open Firmware for the audio DSP on non-XPS Intel Panther -# Lake systems. XPS PTL stays on linux-ptl, which hard-deps sof-firmware. -# Mainline `linux` only optdeps it, so without this the DSP fails to boot -# and only auto_null shows up in PipeWire. +# Install Sound Open Firmware for Intel audio DSPs. The sof-audio-pci-intel-* +# driver family requires this firmware; without it PipeWire exposes only a +# Dummy Output sink. -if omarchy-hw-intel-ptl && ! omarchy-hw-match "XPS"; then +if omarchy-hw-intel-sof; then omarchy-pkg-add sof-firmware fi