mercredi 18 août 2021

Xbox Wireless Headset on Ubuntu

If the Xbox headset (bluetooth) constantly disconnects/reconnects.


Follow the steps described here : https://github.com/pipewire-debian/pipewire-debian/wiki to install PipeWire.

And configure the Sound settings as below.

When playing music (just headset output needed, good output quality), set :
  • output 
    • device "Portable - Xbox Wireless Headset"
    • configuration "High Fidelity Playback (A2DP Sink)"
  • input
    • device "Microphone - Built-in Audio"




When meeting (headset output and headset mic needed, but very bad output quality), set :
  • output 
    • device "Portable - Xbox Wireless Headset"
    • configuration "Headset Head Unit (HSP/HFP, codec mSBC)"
  • input
    • device "Portable - Xbox Wireless Headset"
    • configuration "Headset Head Unit (HSP/HFP, codec mSBC)"



As we can see, we must switch manually, depending on if 
  • we want to enable the mic (with a bad output quality) for a meeting
  • or if we want to mainly listen music (better output quality).
We cannot use A2DP (good output quality) with the mic enabled.
Why we cannot use A2DP when mic is enabled ?


The workaround is to create a script to switch easily between A2DP<->mSBC (music or meeting):

The script is here : 





Categories