until you get a better reply pls post the full output to these commands
Code:
aplay -l
aplay -L
cat /proc/asound/card0/codec#0 | grep Codec
cat /proc/asound/card1/codec#0 | grep Codec
I don't have hdmi but its possible you might need a model=string to enable 5.1
but you are on mint which means its highly likely you have pulseaudio.
to get around that, for the moment, post a screenshot of each of these commands pls
Code:
alsamixer -c 0
alsamixer -c 1
Leaping ahead, I am interested if the alsamixer for your hdmi shows any spdif output setting and
is the hdmi showing 2 ch or 6 ch