OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
audio-input high very-common DISPUTE

Unmute the ALSA channel that silences sound after a reboot or headphones

omarchyarchendeavouroscachyosmanjarohyprlandwaylandlaptopdesktoppipewire
CORRECTED An auditor found the fix wrong or incomplete and rewrote it.
AUDIT NOTE

The diagnosis is right and matches ALSA/Troubleshooting line 19 (Auto-Mute set to Disabled) and the asound.state persistence story. But the interactive section correctly warns 'select the real card, not default/PipeWire' and then the non-interactive block hardcodes -c 0, which on the majority of machines with a discrete GPU is the HDMI card, so every amixer line silently targets the wrong device. It also names Master/Speaker/Headphone unconditionally. SOF/UCM laptops frequently expose none of those simple controls and each line will fail with 'Unable to find simple control', which reads as the fix being broken.

The cause above was not rewritten and may still contain the error described. The fix below is the corrected version.

Symptom

Sound worked, then after a reboot (or after plugging in headphones) there is silence, even though wpctl status shows the right sink and the volume slider is at 100%. alsamixer shows MM under one or more channels, or Auto-Mute is set to Enabled.

Cause

PipeWire's volume sits on top of the ALSA hardware mixer. If the underlying ALSA control is muted or at 0, or if the codec's Auto-Mute Mode is muting the speakers because it thinks a jack is inserted, nothing PipeWire does will produce sound. The ALSA state is restored on boot from /var/lib/alsa/asound.state, so a bad state persists.

Fix


sudo pacman -S --needed alsa-utils
aplay -l          # note the card NUMBER of the real analog card, e.g. "card 1: PCH"

alsamixer -c 1    # substitute your number; F6 confirms, F5 shows all controls
  • Any channel showing MM: highlight it and press M to unmute (should read OO).
  • Raise Master, Speaker, Headphone, PCM with the up arrow.
  • Set Auto-Mute Mode to Disabled.

Persist:


sudo alsactl store

Non-interactive. Substitute your card number and list what your codec actually has first, because many SOF/UCM laptops have no Master or Speaker control and those lines will just report "Unable to find simple control":


CARD=1
amixer -c "$CARD" scontrols
amixer -c "$CARD" sset Master 80% unmute
amixer -c "$CARD" sset Speaker 80% unmute
amixer -c "$CARD" sset Headphone 80% unmute
amixer -c "$CARD" sset 'Auto-Mute Mode' Disabled
sudo alsactl store

If sound broke specifically after resume:


sudo alsactl init      # or: sudo alsactl restore

Verify

amixer -c 0 sget Master shows [on], and sound survives a reboot without re-running anything.

Sources

alsa-muted-after-reboot-or-headphones