Widen sof-firmware install to all Intel SOF audio platforms

Adapts basecamp/omarchy#6200. The sof-audio-pci-intel-* driver family
(Arrow Lake, Meteor Lake, Tiger Lake, Alder Lake, and more) needs
sof-firmware to boot the DSP, but mainline linux only optdeps it, so
fresh installs came up with no audio (Dummy Output only).

Replace the Panther/Wildcat Lake GPU checks with omarchy-hw-intel-sof,
which detects any Intel PCI audio controller. Drop the XPS exclusion
since omarchy-pkg-add is idempotent and the check is harmless there.
Remove the now-orphaned omarchy-hw-intel-wcl detector and backfill
existing installs via migration.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
David Heinemeier Hansson
2026-07-11 22:30:47 -07:00
co-authored by Claude Opus 4.8
parent f36f577d16
commit ffa8102113
4 changed files with 29 additions and 11 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# omarchy:summary=Detect whether the computer has an Intel SOF-capable audio DSP.
# Matches Intel audio controllers (PCI class Multimedia audio or Audio device)
# present on Skylake-and-later platforms that use sof-audio-pci-intel-* drivers.
lspci | grep -qiE '(Multimedia audio controller|Audio device).*Intel'
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
# omarchy:summary=Detect whether the computer has an Intel Wildcat Lake GPU.
lspci | grep -iE 'vga|3d|display' | grep -qi 'wildcat lake'
@@ -1,9 +1,12 @@
# Install Sound Open Firmware for the audio DSP on Intel Panther Lake and
# Wildcat Lake systems (the latter includes the XPS13 2026). Mainline
# `linux` only optdeps sof-firmware, so without it the DSP fails to boot
# and only auto_null shows up in PipeWire. Idempotent on XPS PTL machines
# that already pull it in via linux-ptl.
# Install Sound Open Firmware for the audio DSP on Intel systems that need it.
# The sof-audio-pci-intel-* driver family requires sof-firmware to initialise
# the DSP; without it the DSP fails to boot and PipeWire exposes only a Dummy
# Output sink. This affects Arrow Lake, Meteor Lake, Tiger Lake, Alder Lake,
# Wildcat Lake, Panther Lake, and similar platforms.
#
# omarchy-pkg-add is idempotent, so systems that already pull sof-firmware in
# via linux-ptl (Panther Lake XPS) are unaffected.
if omarchy-hw-intel-ptl || omarchy-hw-intel-wcl; then
if omarchy-hw-intel-sof; then
omarchy-pkg-add sof-firmware
fi
+13
View File
@@ -0,0 +1,13 @@
echo "Install sof-firmware for all Intel SOF audio DSP platforms (Arrow Lake, Meteor Lake, etc.)"
# Intel SOF platforms beyond Panther Lake and Wildcat Lake (Arrow Lake, Meteor
# Lake, Tiger Lake, Alder Lake) were not covered by the original sof-firmware
# install guard. Without sof-firmware the DSP fails to boot and PipeWire exposes
# only a Dummy Output. Install it now for all qualifying Intel systems.
#
# omarchy-pkg-add is idempotent — systems that already have the package are
# unaffected.
if omarchy-hw-intel-sof; then
omarchy-pkg-add sof-firmware
fi