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>
8 lines
326 B
Bash
Executable File
8 lines
326 B
Bash
Executable File
#!/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'
|