LFE and center speakers swapped

  • I am having LibreElec audio problems on a Minix Neo Z83-4. This is a Intel Atom x5-Z8300 “Cherry Trail” based mini PC. LibreElec is mostly running very well on this devices, expect for WLAN and Bluetooth (which I don't need) and a pesky audio problem.

    Audio works as expected with passthru formats, but with LPCM the 5.1 speaker setup gets messed up. It turns out the sound for the subwoofer ends up in the center speaker, and vice verse. As a result, dialogs all but disappear from the movie.

    I have tried several things to convince ALSA to move the speakers around, but to no avail. See below for one of the attempts.

    Is there anyone that can help me get this problem resolved?