Workaround that seems to work (Ubuntu system with systemd and pulseaudio) Create this file "~/.config/systemd/user/pulseaudio.preconf.service" with this content
[Unit] Description=Sound Service PreConf ConditionUser=!root [Service] Type=oneshot ExecStart=amixer set "Channel mode" "6ch" [Install] WantedBy=pulseaudio.service systemctl --user enable pulseaudio.preconf.service and restart This mixer setting should be persistent automatically across reboots. And for pulseaudio integration, it should be able to configure this setting in the GUI ** Also affects: pulseaudio (Ubuntu) Importance: Undecided Status: New ** Changed in: alsa-driver (Ubuntu) Status: Expired => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1505584 Title: [Realtek ALC887-VD] Playback only through 2 channels by default Status in alsa-driver package in Ubuntu: Confirmed Status in pulseaudio package in Ubuntu: New Bug description: Ubuntu does not detect my 5.1 surround sound[0] by default. In order to get it detected, I have to do the following: 1) Open alsamixer 2) Change the "Channel Mode" setting from "2ch" to "6ch" (there is also a "4ch" setting) 3) `pulseaudio -k` I have to do this on every boot, as the "6ch" setting is not remembered. [0] My soundcard and sound system are 5.1, but I actually only have front left, center, right and the subwoofer. This shouldn't affect how Ubuntu acts at all (because it can't know what speakers I have plugged in to my subwoofer), but will mean that I can't report on whether or not rear channels are working as expected. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: alsa-base 1.0.25+dfsg-0ubuntu4 ProcVersionSignature: Ubuntu 3.19.0-30.34-generic 3.19.8-ckt6 Uname: Linux 3.19.0-30-generic x86_64 ApportVersion: 2.17.2-0ubuntu1.5 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: daniel 24007 F.... pulseaudio CurrentDesktop: Unity Date: Tue Oct 13 10:23:16 2015 EcryptfsInUse: Yes InstallationDate: Installed on 2014-07-30 (439 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) PackageArchitecture: all SourcePackage: alsa-driver Symptom: audio Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH successful Symptom_Card: Built-in Audio - HDA Intel PCH Symptom_Jack: Green Line Out, Rear Symptom_PulsePlaybackTest: PulseAudio playback test successful Symptom_Type: Only some of outputs are working Title: [MS-7788, Realtek ALC887-VD, Green Line Out, Rear] Playback problem UpgradeStatus: Upgraded to vivid on 2015-08-24 (49 days ago) dmi.bios.date: 01/18/2012 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: V2.3 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: H61M-P31 (G3) (MS-7788) dmi.board.vendor: MSI dmi.board.version: 1.0 dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: MSI dmi.chassis.version: 1.0 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV2.3:bd01/18/2012:svnMSI:pnMS-7788:pvr1.0:rvnMSI:rnH61M-P31(G3)(MS-7788):rvr1.0:cvnMSI:ct3:cvr1.0: dmi.product.name: MS-7788 dmi.product.version: 1.0 dmi.sys.vendor: MSI modified.conffile..etc.modprobe.d.alsa.base.conf: [modified] mtime.conffile..etc.modprobe.d.alsa.base.conf: 2015-08-05T11:15:16.899686 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1505584/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp