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:
1 parent
f36f577d16
commit
ffa8102113
4 files changed
+29
-11
No files matched your search
Executable
+7
@@ -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'
|
||||||
@@ -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
|
# Install Sound Open Firmware for the audio DSP on Intel systems that need it.
|
||||||
# Wildcat Lake systems (the latter includes the XPS13 2026). Mainline
|
# The sof-audio-pci-intel-* driver family requires sof-firmware to initialise
|
||||||
# `linux` only optdeps sof-firmware, so without it the DSP fails to boot
|
# the DSP; without it the DSP fails to boot and PipeWire exposes only a Dummy
|
||||||
# and only auto_null shows up in PipeWire. Idempotent on XPS PTL machines
|
# Output sink. This affects Arrow Lake, Meteor Lake, Tiger Lake, Alder Lake,
|
||||||
# that already pull it in via linux-ptl.
|
# 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
|
omarchy-pkg-add sof-firmware
|
||||||
fi
|
fi
|
||||||
@@ -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
|
||||||
Reference in new issue
Block a user