How to force A2DP sink when wireless bluetooth headset is connected?












4















I have Debian 9 Stretch installed in my pc,and when I want to hear some music i can't hear it well.I discovered in audio settings that the A2DP profile was there but nothing happens when I select it.There's a way to force the A2DP connection when connected the headset to the pc.I already paired it btw.



Help is appreciated.Thanks.










share|improve this question



























    4















    I have Debian 9 Stretch installed in my pc,and when I want to hear some music i can't hear it well.I discovered in audio settings that the A2DP profile was there but nothing happens when I select it.There's a way to force the A2DP connection when connected the headset to the pc.I already paired it btw.



    Help is appreciated.Thanks.










    share|improve this question

























      4












      4








      4


      4






      I have Debian 9 Stretch installed in my pc,and when I want to hear some music i can't hear it well.I discovered in audio settings that the A2DP profile was there but nothing happens when I select it.There's a way to force the A2DP connection when connected the headset to the pc.I already paired it btw.



      Help is appreciated.Thanks.










      share|improve this question














      I have Debian 9 Stretch installed in my pc,and when I want to hear some music i can't hear it well.I discovered in audio settings that the A2DP profile was there but nothing happens when I select it.There's a way to force the A2DP connection when connected the headset to the pc.I already paired it btw.



      Help is appreciated.Thanks.







      debian audio bluetooth






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 28 '17 at 9:30









      ELDIEGO2000ELDIEGO2000

      2613




      2613






















          2 Answers
          2






          active

          oldest

          votes


















          9














          I am using a SoundBuds Curve headset in Debian 9,
          and have had the same problem, I was
          unable to switch from the HSP/HFP profile to the A2DP profile.



          What fixed the issue for me, was editing /etc/bluetooth/main.conf.
          First add the following lines under the [General] tag (copied from audio.conf, I found searching for a solution):



          # Automatically connect both A2DP and HFP/HSP profiles for incoming
          # connections. Some headsets that support both profiles will only connect the
          # other one automatically so the default setting of true is usually a good
          # idea.
          AutoConnect=true


          Next enable support for multiple profiles, which can be found a few lines below in main.conf:



          # Enables Multi Profile Specification support. This allows to specify if
          # system supports only Multiple Profiles Single Device (MPSD) configuration
          # or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
          # Devices (MPMD) configurations.
          # Possible values: "off", "single", "multiple"
          MultiProfile = multiple





          share|improve this answer





















          • 1





            Last, restart Bluetooth service: sudo systemctl restart bluetooth

            – Antonio Vinicius Menezes Medei
            Apr 18 '18 at 2:41






          • 1





            Did the trick for me with my Sony WH-1000XM2 on Debian 9

            – 56ka
            Dec 12 '18 at 5:41











          • (sorry I forgot to log in when I edited your post so the modification will be requested as anonymous user)

            – 56ka
            Dec 12 '18 at 5:41











          • After a long time of trying to fix this problem this was it. Thanks! Working flawlessly

            – Yehonatan
            Dec 18 '18 at 9:55











          • After several weeks of use I can say it works BUT the problem is still that I have to restart the bluetooth service everytime before to connect my headset...

            – 56ka
            Jan 4 at 10:14



















          0














          @56ka, I'm having the same problem. Did you get a solution? Thanks.






          share|improve this answer








          New contributor




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





















          • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

            – Jeff Schaller
            45 mins ago











          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f407447%2fhow-to-force-a2dp-sink-when-wireless-bluetooth-headset-is-connected%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          9














          I am using a SoundBuds Curve headset in Debian 9,
          and have had the same problem, I was
          unable to switch from the HSP/HFP profile to the A2DP profile.



          What fixed the issue for me, was editing /etc/bluetooth/main.conf.
          First add the following lines under the [General] tag (copied from audio.conf, I found searching for a solution):



          # Automatically connect both A2DP and HFP/HSP profiles for incoming
          # connections. Some headsets that support both profiles will only connect the
          # other one automatically so the default setting of true is usually a good
          # idea.
          AutoConnect=true


          Next enable support for multiple profiles, which can be found a few lines below in main.conf:



          # Enables Multi Profile Specification support. This allows to specify if
          # system supports only Multiple Profiles Single Device (MPSD) configuration
          # or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
          # Devices (MPMD) configurations.
          # Possible values: "off", "single", "multiple"
          MultiProfile = multiple





          share|improve this answer





















          • 1





            Last, restart Bluetooth service: sudo systemctl restart bluetooth

            – Antonio Vinicius Menezes Medei
            Apr 18 '18 at 2:41






          • 1





            Did the trick for me with my Sony WH-1000XM2 on Debian 9

            – 56ka
            Dec 12 '18 at 5:41











          • (sorry I forgot to log in when I edited your post so the modification will be requested as anonymous user)

            – 56ka
            Dec 12 '18 at 5:41











          • After a long time of trying to fix this problem this was it. Thanks! Working flawlessly

            – Yehonatan
            Dec 18 '18 at 9:55











          • After several weeks of use I can say it works BUT the problem is still that I have to restart the bluetooth service everytime before to connect my headset...

            – 56ka
            Jan 4 at 10:14
















          9














          I am using a SoundBuds Curve headset in Debian 9,
          and have had the same problem, I was
          unable to switch from the HSP/HFP profile to the A2DP profile.



          What fixed the issue for me, was editing /etc/bluetooth/main.conf.
          First add the following lines under the [General] tag (copied from audio.conf, I found searching for a solution):



          # Automatically connect both A2DP and HFP/HSP profiles for incoming
          # connections. Some headsets that support both profiles will only connect the
          # other one automatically so the default setting of true is usually a good
          # idea.
          AutoConnect=true


          Next enable support for multiple profiles, which can be found a few lines below in main.conf:



          # Enables Multi Profile Specification support. This allows to specify if
          # system supports only Multiple Profiles Single Device (MPSD) configuration
          # or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
          # Devices (MPMD) configurations.
          # Possible values: "off", "single", "multiple"
          MultiProfile = multiple





          share|improve this answer





















          • 1





            Last, restart Bluetooth service: sudo systemctl restart bluetooth

            – Antonio Vinicius Menezes Medei
            Apr 18 '18 at 2:41






          • 1





            Did the trick for me with my Sony WH-1000XM2 on Debian 9

            – 56ka
            Dec 12 '18 at 5:41











          • (sorry I forgot to log in when I edited your post so the modification will be requested as anonymous user)

            – 56ka
            Dec 12 '18 at 5:41











          • After a long time of trying to fix this problem this was it. Thanks! Working flawlessly

            – Yehonatan
            Dec 18 '18 at 9:55











          • After several weeks of use I can say it works BUT the problem is still that I have to restart the bluetooth service everytime before to connect my headset...

            – 56ka
            Jan 4 at 10:14














          9












          9








          9







          I am using a SoundBuds Curve headset in Debian 9,
          and have had the same problem, I was
          unable to switch from the HSP/HFP profile to the A2DP profile.



          What fixed the issue for me, was editing /etc/bluetooth/main.conf.
          First add the following lines under the [General] tag (copied from audio.conf, I found searching for a solution):



          # Automatically connect both A2DP and HFP/HSP profiles for incoming
          # connections. Some headsets that support both profiles will only connect the
          # other one automatically so the default setting of true is usually a good
          # idea.
          AutoConnect=true


          Next enable support for multiple profiles, which can be found a few lines below in main.conf:



          # Enables Multi Profile Specification support. This allows to specify if
          # system supports only Multiple Profiles Single Device (MPSD) configuration
          # or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
          # Devices (MPMD) configurations.
          # Possible values: "off", "single", "multiple"
          MultiProfile = multiple





          share|improve this answer















          I am using a SoundBuds Curve headset in Debian 9,
          and have had the same problem, I was
          unable to switch from the HSP/HFP profile to the A2DP profile.



          What fixed the issue for me, was editing /etc/bluetooth/main.conf.
          First add the following lines under the [General] tag (copied from audio.conf, I found searching for a solution):



          # Automatically connect both A2DP and HFP/HSP profiles for incoming
          # connections. Some headsets that support both profiles will only connect the
          # other one automatically so the default setting of true is usually a good
          # idea.
          AutoConnect=true


          Next enable support for multiple profiles, which can be found a few lines below in main.conf:



          # Enables Multi Profile Specification support. This allows to specify if
          # system supports only Multiple Profiles Single Device (MPSD) configuration
          # or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
          # Devices (MPMD) configurations.
          # Possible values: "off", "single", "multiple"
          MultiProfile = multiple






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Sep 7 '18 at 23:40









          Rui F Ribeiro

          39.7k1479132




          39.7k1479132










          answered Jan 9 '18 at 21:05









          Eike SuthauEike Suthau

          912




          912








          • 1





            Last, restart Bluetooth service: sudo systemctl restart bluetooth

            – Antonio Vinicius Menezes Medei
            Apr 18 '18 at 2:41






          • 1





            Did the trick for me with my Sony WH-1000XM2 on Debian 9

            – 56ka
            Dec 12 '18 at 5:41











          • (sorry I forgot to log in when I edited your post so the modification will be requested as anonymous user)

            – 56ka
            Dec 12 '18 at 5:41











          • After a long time of trying to fix this problem this was it. Thanks! Working flawlessly

            – Yehonatan
            Dec 18 '18 at 9:55











          • After several weeks of use I can say it works BUT the problem is still that I have to restart the bluetooth service everytime before to connect my headset...

            – 56ka
            Jan 4 at 10:14














          • 1





            Last, restart Bluetooth service: sudo systemctl restart bluetooth

            – Antonio Vinicius Menezes Medei
            Apr 18 '18 at 2:41






          • 1





            Did the trick for me with my Sony WH-1000XM2 on Debian 9

            – 56ka
            Dec 12 '18 at 5:41











          • (sorry I forgot to log in when I edited your post so the modification will be requested as anonymous user)

            – 56ka
            Dec 12 '18 at 5:41











          • After a long time of trying to fix this problem this was it. Thanks! Working flawlessly

            – Yehonatan
            Dec 18 '18 at 9:55











          • After several weeks of use I can say it works BUT the problem is still that I have to restart the bluetooth service everytime before to connect my headset...

            – 56ka
            Jan 4 at 10:14








          1




          1





          Last, restart Bluetooth service: sudo systemctl restart bluetooth

          – Antonio Vinicius Menezes Medei
          Apr 18 '18 at 2:41





          Last, restart Bluetooth service: sudo systemctl restart bluetooth

          – Antonio Vinicius Menezes Medei
          Apr 18 '18 at 2:41




          1




          1





          Did the trick for me with my Sony WH-1000XM2 on Debian 9

          – 56ka
          Dec 12 '18 at 5:41





          Did the trick for me with my Sony WH-1000XM2 on Debian 9

          – 56ka
          Dec 12 '18 at 5:41













          (sorry I forgot to log in when I edited your post so the modification will be requested as anonymous user)

          – 56ka
          Dec 12 '18 at 5:41





          (sorry I forgot to log in when I edited your post so the modification will be requested as anonymous user)

          – 56ka
          Dec 12 '18 at 5:41













          After a long time of trying to fix this problem this was it. Thanks! Working flawlessly

          – Yehonatan
          Dec 18 '18 at 9:55





          After a long time of trying to fix this problem this was it. Thanks! Working flawlessly

          – Yehonatan
          Dec 18 '18 at 9:55













          After several weeks of use I can say it works BUT the problem is still that I have to restart the bluetooth service everytime before to connect my headset...

          – 56ka
          Jan 4 at 10:14





          After several weeks of use I can say it works BUT the problem is still that I have to restart the bluetooth service everytime before to connect my headset...

          – 56ka
          Jan 4 at 10:14













          0














          @56ka, I'm having the same problem. Did you get a solution? Thanks.






          share|improve this answer








          New contributor




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





















          • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

            – Jeff Schaller
            45 mins ago
















          0














          @56ka, I'm having the same problem. Did you get a solution? Thanks.






          share|improve this answer








          New contributor




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





















          • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

            – Jeff Schaller
            45 mins ago














          0












          0








          0







          @56ka, I'm having the same problem. Did you get a solution? Thanks.






          share|improve this answer








          New contributor




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










          @56ka, I'm having the same problem. Did you get a solution? Thanks.







          share|improve this answer








          New contributor




          Bruno Martins 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 answer



          share|improve this answer






          New contributor




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









          answered 1 hour ago









          Bruno MartinsBruno Martins

          1




          1




          New contributor




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





          New contributor





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






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













          • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

            – Jeff Schaller
            45 mins ago



















          • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

            – Jeff Schaller
            45 mins ago

















          This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

          – Jeff Schaller
          45 mins ago





          This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

          – Jeff Schaller
          45 mins ago


















          draft saved

          draft discarded




















































          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%2f407447%2fhow-to-force-a2dp-sink-when-wireless-bluetooth-headset-is-connected%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

          Entries order in /etc/network/interfaces

          新発田市

          Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)