controls:PCH=$(aplay -l | awk '/HDA Intel PCH|PCH/ {gsub(":","",$2); print $2; exit}')
echo "$PCH"
amixer -c "$PCH" set Master 100% unmute || true
amixer -c "$PCH" set Speaker 100% unmute || true
amixer -c "$PCH" set Headphone 100% unmute || true
amixer -c "$PCH" set PCM 100% unmute || true
amixer -c "$PCH" set 'Auto-Mute Mode' Disabled || true
sudo alsactl storeRestart PipeWire/WirePlumber:systemctl --user restart pipewire pipewire-pulse wireplumberTest sound:pw-play /usr/share/sounds/alsa/Front\_Center.wavor:speaker-test -D plughw:PCH,0 -c 2 -t wavWhat finally fixed it for meThe big “aha” moment was realizing that this:options snd-hda-intel model=auto,asus-zenbookworked on Kubuntu because my Realtek/PCH audio was the second HDA controller there.But Fedora detected the cards in the opposite order, so Fedora needed this instead:options snd-hda-intel model=asus-zenbook,autoSo the short rule is:If PCH / ALC294 is card 0 and NVIDIA is card 1:
options snd-hda-intel model=asus-zenbook,auto
If NVIDIA is card 0 and PCH / ALC294 is card 1:
options snd-hda-intel model=auto,asus-zenbookThat fixed the internal speakers for me on the ASUS ROG Strix G512LW with Realtek ALC294 and RTX 2070 Mobile / Max-Q.Hopefully this helps someone else with the same cursed little audio gremlin.
https://redd.it/1u5ct1z
@r_linux
Post #42277
49