Reapply "Make fixing the F13 AMD audio input just a thing that happens"

This reverts commit a5814e0bfd.
This commit is contained in:
David Heinemeier Hansson committed 2025-08-31 15:50:24 +02:00
1 parent 8610f4f9da
commit 6d832cba42
5 files changed
+10 -13

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
AMD_AUDIO_CARD=$(pactl list cards | grep -B20 "Family 17h/19h" | grep "Name: " | awk '{print $2}')
if [[ -n $AMD_AUDIO_CARD ]]; then
pactl set-card-profile "$AMD_AUDIO_CARD" "HiFi (Mic1, Mic2, Speaker)" 2>/dev/null || true
fi