Unmute ALSA capture switch in ASUS ROG mic fix

The Realtek ALC285 defaults to capture switch off. With
api.alsa.soft-mixer enabled, PipeWire no longer manages the hardware
mixer, so the switch stays off and the internal mic records silence.

Adding `unmute` to the amixer set command ensures the hardware capture
path is enabled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Christoph Kindler
2026-02-27 08:51:59 +01:00
co-authored by Claude Opus 4.6
parent 31247484dc
commit 46770774b5
+1 -1
View File
@@ -7,7 +7,7 @@ if omarchy-hw-asus-rog; then
if grep -q "ALC285" "$card" 2>/dev/null; then
cardnum=$(echo "$card" | grep -oP 'card\K\d+')
amixer -c "$cardnum" set 'Internal Mic Boost' 0 >/dev/null 2>&1 || true
amixer -c "$cardnum" set 'Capture' 70% >/dev/null 2>&1 || true
amixer -c "$cardnum" set 'Capture' 70% unmute >/dev/null 2>&1 || true
sudo alsactl store "$cardnum" 2>/dev/null || true
break
fi