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