Control Pulseaudio LineOut/Headphone volume separately





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















The default PulseAudio behavior is as follows:
First we connect something to the back panel of our MOBO, normally this would be speakers, then we connect something to the front panel, normally headphones.

In this case speakers would be muted and sound would go through headphones.



The question:
How to configure things in such a way that would allow playing sound and volume control for both of the outputs separately



Making both outputs work at the same time is not hard, for that we need to disable "auto-mute" option in alsa-mixer (though not sure if it would persist after reboot).

However how to control their volume and optionally mute one of the outputs in software?

I've seen this or similar questions being asked a lot but so far I haven't seen a working solution. The best what I've tried so far is described here, but I failed to achieve any results using this information.



Note that I am not asking to play a different stream through these outputs, just control the volume. However if playing different streams is possible as well, it would be a great bonus!



The best solution from my standpoint would be to "teach" pulseaudio to treat front and back panels as separate output devices (which is possible on windows). But so far everything hints that this is not possible on Linux.



I am using Linux Mint 19.1, but this question should be relevant for all the ubuntu-family



On windows this operation is easily achieved by installing whatever realtek or your-soundcard-here drivers.










share|improve this question









New contributor




user2333940 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    The default PulseAudio behavior is as follows:
    First we connect something to the back panel of our MOBO, normally this would be speakers, then we connect something to the front panel, normally headphones.

    In this case speakers would be muted and sound would go through headphones.



    The question:
    How to configure things in such a way that would allow playing sound and volume control for both of the outputs separately



    Making both outputs work at the same time is not hard, for that we need to disable "auto-mute" option in alsa-mixer (though not sure if it would persist after reboot).

    However how to control their volume and optionally mute one of the outputs in software?

    I've seen this or similar questions being asked a lot but so far I haven't seen a working solution. The best what I've tried so far is described here, but I failed to achieve any results using this information.



    Note that I am not asking to play a different stream through these outputs, just control the volume. However if playing different streams is possible as well, it would be a great bonus!



    The best solution from my standpoint would be to "teach" pulseaudio to treat front and back panels as separate output devices (which is possible on windows). But so far everything hints that this is not possible on Linux.



    I am using Linux Mint 19.1, but this question should be relevant for all the ubuntu-family



    On windows this operation is easily achieved by installing whatever realtek or your-soundcard-here drivers.










    share|improve this question









    New contributor




    user2333940 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      The default PulseAudio behavior is as follows:
      First we connect something to the back panel of our MOBO, normally this would be speakers, then we connect something to the front panel, normally headphones.

      In this case speakers would be muted and sound would go through headphones.



      The question:
      How to configure things in such a way that would allow playing sound and volume control for both of the outputs separately



      Making both outputs work at the same time is not hard, for that we need to disable "auto-mute" option in alsa-mixer (though not sure if it would persist after reboot).

      However how to control their volume and optionally mute one of the outputs in software?

      I've seen this or similar questions being asked a lot but so far I haven't seen a working solution. The best what I've tried so far is described here, but I failed to achieve any results using this information.



      Note that I am not asking to play a different stream through these outputs, just control the volume. However if playing different streams is possible as well, it would be a great bonus!



      The best solution from my standpoint would be to "teach" pulseaudio to treat front and back panels as separate output devices (which is possible on windows). But so far everything hints that this is not possible on Linux.



      I am using Linux Mint 19.1, but this question should be relevant for all the ubuntu-family



      On windows this operation is easily achieved by installing whatever realtek or your-soundcard-here drivers.










      share|improve this question









      New contributor




      user2333940 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      The default PulseAudio behavior is as follows:
      First we connect something to the back panel of our MOBO, normally this would be speakers, then we connect something to the front panel, normally headphones.

      In this case speakers would be muted and sound would go through headphones.



      The question:
      How to configure things in such a way that would allow playing sound and volume control for both of the outputs separately



      Making both outputs work at the same time is not hard, for that we need to disable "auto-mute" option in alsa-mixer (though not sure if it would persist after reboot).

      However how to control their volume and optionally mute one of the outputs in software?

      I've seen this or similar questions being asked a lot but so far I haven't seen a working solution. The best what I've tried so far is described here, but I failed to achieve any results using this information.



      Note that I am not asking to play a different stream through these outputs, just control the volume. However if playing different streams is possible as well, it would be a great bonus!



      The best solution from my standpoint would be to "teach" pulseaudio to treat front and back panels as separate output devices (which is possible on windows). But so far everything hints that this is not possible on Linux.



      I am using Linux Mint 19.1, but this question should be relevant for all the ubuntu-family



      On windows this operation is easily achieved by installing whatever realtek or your-soundcard-here drivers.







      ubuntu linux-mint pulseaudio alsa






      share|improve this question









      New contributor




      user2333940 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      user2333940 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 56 mins ago









      Rui F Ribeiro

      41.9k1483142




      41.9k1483142






      New contributor




      user2333940 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 1 hour ago









      user2333940user2333940

      11




      11




      New contributor




      user2333940 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      user2333940 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      user2333940 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          user2333940 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510914%2fcontrol-pulseaudio-lineout-headphone-volume-separately%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          user2333940 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          user2333940 is a new contributor. Be nice, and check out our Code of Conduct.













          user2333940 is a new contributor. Be nice, and check out our Code of Conduct.












          user2333940 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510914%2fcontrol-pulseaudio-lineout-headphone-volume-separately%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          宮崎県

          濃尾地震

          シテ島