5.1 Surround Sound on 3 3.5mm Ports Motherboard

Context

I've recently purchased an MSI B450M BAZOOKA PLUS motherboard that supports 7.1 surround sound on their measely 3 3.5mm ports.

I have a 5.1 surround sound setup with my Logitech Z506 set that was previously working just plugging in to my old motherboard Asus P8P67 PRO which had 6 3.5mm ports.

Instructions

Graphical

  1. Install the hdajackrestask tool on your system (Archlinux: pacman -S alsa-tools)

  2. Run in privileged mode using sudo or polkit (GKSU: gksu hdajackretask)

  3. Plug your 3 3.5mm audio jacks according to this image, colours should be roughly the same, alternatively take reference from the label (mic, L-Out and L-In) 3.5mm audio jacks layout

  4. Use these settings for 5.1 surround sound setup hdajackretask settings for 5.1 surround sound

  5. Click on Install boot override and reboot

CLI

For 5.1 surround sound, as root run:

# echo "options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw" > /etc/modprobe.d/hda-jack-retask.conf