Skip to main content

Headphone's microphone not working in Ubuntu 20.04/Fixing bluetooth hsp hfp profile on ubuntu 20.04

Open terminal.

Type:

sudo su -

sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream

sudo apt update

sudo apt install pipewire

sudo apt install libspa-0.2-bluetooth

sudo apt install pipewire-audio-client-libraries

sudo apt upgrade

exit


systemctl --user daemon-reload

systemctl --user --now disable pulseaudio.service pulseaudio.socket

systemctl --user mask pulseaudio

systemctl --user --now enable pipewire-media-session.service


If you run into some issues in the last command, which I did too. The best way is to restart pipewire or reboot your system.

systemctl --user restart pipewire
sudo reboot
# make sure eveything is working
pactl info

After your call, switch 'input device' back to 'microphone-built-in-audio' in 'sound settings'. And change output device's configuration to 'High Fidelity Playback (A2DP Sink)'.


Increase output volume in settings and increase headset volume from upper tray in desktop.




Sources:

[https://journal.mach5.web.id/2021/06/fixing-bluetooth-hsp-hfp-profile-on-ubuntu-20-10/]

and

[https://kumarvinay.com/how-to-enable-bluetooth-headset-microphone-support-in-ubuntu-20-04/]

Comments

Popular posts from this blog

Steps for selenium testing with pytest, in windows 10 and windows 11

1) Download and Install python. (Don't forget to check the box next to "Add Python to PATH). Then click on "Install Now". After installation click on "Disable path length limit". Then click "close". 2) Install pip  Open command prompt and enter the following command: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py Press Enter. If you are in C:\Users\vipin> location in command prompt, then this file will be downloaded to that place. Cut and paste the get-pip.py file to the python directory(C:\Users\vipin\AppData\Local\Programs\Python\Python310\). Change the current path of the directory in the command line, to the path of the directory where the above file exists. This is done by executing the following command in the command prompt : cd /users/vipin/appdata/local/programs/python/python310 Press Enter. Run the command given below: python get-pip.py Press Enter. and wait through the installation process. 3) Install pytest pip install -U p...