I'm aware this question has been asked a few times, but none of the answers did help during my 18.04 time. My mainboard is an Asus Prime H310M-AR2.0 with 3 jacks in the back for 5.1 sound. mainboad description: "Realtek ALC887 8-Channel High Definition Audio CODEC".
My system is dual boot with Windows 10 and Ubuntu LTS. Until two days ago it was 18.04, where there was stereo onl, too. Now I have upgraded to 20.04. I was told by a journalist the upgrade could possibly help, but it did not.
My speakers is a Logitech 5.1 surround system with 6 speakers and 3 jacks. Running Windows 10 I can hear all 6 speakers separately, so the hardware is definitely OK.
But Ubuntu always shows stereo and I can test front left and front right only. "PulseAudio Volume Control" only allows "Line stereo (connected)" and "Headphone (not connected)". A connected headphone works fine with stereo, b.t.w.
Is there a way to reset Ubuntu's sound system completely so that it is newly recognized? Or is such a configuration simply too "old"?
42 Answers
Same problem here!
The answer below has just solved the problem. Now sound is coming from all 6 speakers!
A cowardly newbie, I didn't touch the /etc/pulse/daemon.conf file but just changed the number of channel to 6 in alsamixer on the terminal.
With a little courage, I've just tried default-sample-channels = 6 and erased the semicolon before the line as somebody instructed. Now I can see every speaker on the Settings. But the volume of the subwoofer isn't controlable. This shitty OS is eating my time and soul.
You have to edit /etc/pulse/daemon.confand define the number of channels for your sound card.
Find
; default-sample-channels = 2Uncomment it by removing the leading ;, and change it from 2 to 6:
default-sample-channels = 6After saving that change, kill pulseaudio by running:
pulseaudio -k(It restarts itself after a few seconds.)
That's all.
1