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

How to directly save ai(illustrator image) to large size png or jpg?

There is no need to convert ai file to psd in order to make png or jpg. Open the file in illustrator. Just click on an empty area on the canvas and press delete key in keyboard to delete the canvas(do ungroup of images if every images gets deleted). Delete all the images but the one we need. Then click "export as" png or jpg from file menu option. In the next screen, you can select the resolution. Below 300ppi, there is 'other'. Click it and enter 712ppi. Thus you will get large crystal clear image. Do this for all the images you need.

Ubuntu 20.04 : pytest command gives this output -> E ImportError: No module named selenium, even after installing selenium

 Your selenium files will be inside /usr/local/lib/python3.8/dist-packages/ You have to copy and paste them in /usr/local/lib/python2.7/dist-packages/ and /usr/local/lib/python2.7/site-packages/ The main problem is there is python2 and python3 installed in your computer and python2 is actively used by your system now. And selenium is within python3 folder.