Getting Sound Working on Linux

Recently I’ve been craving some Linux in my life so I decided to dual-boot Manjaro alongside Windows 10 on my fancy gaming laptop. I’ve had Linux on this computer before but I moved back to Windows because of a couple of issues I couldn’t solve. And I solved one of them today!

What kind of laptop is this again? It’s an ASUS ROG Strix, uh, G512LW-AZ003T. As bizarre as model names come. Being a fancy new computer, of course, the speakers wouldn’t give me any sound when I ran Linux. I’m here today to say that by following instructions on askubuntu.com and editing a couple of config files I don’t understand, sound is now working, as if by magic.

Alright so /etc/modprobe.d/alsa-base.conf is the first file we attack, on Ubuntu I remember this file was already filled up with a bunch of random stuff but here on Manjaro it didn’t exist, so I created it and added the following line:

options snd-hda-intel model=asus-zenbook

So far we have a partial solution. If we restart the computer sound will be working, but only in an all-or-nothing sort of way. As in, either sound is muted at level 0 or it’s at 100 if you set it to anything else. Not great.

The second file is /usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common which definitely does exist and is full of all kinds of stuff I have no hope of understanding. Find the line [Element PCM] and add right above it:

[Element Master]
switch = mute
volume = ignore

Ta-da! Restart the computer and your sound works. Well, my sound works at least 🙂

Lastly, the Ask Ubuntu answers, the real heroes of this adventure.

https://askubuntu.com/a/1277167

https://askubuntu.com/a/1091197