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 dynamically change favicon in dokuwiki argon template?

 Put <link href="lib/tpl/argon/apple-touch-icon.png?v=<?php echo rand() ?>"> and <link href="lib/tpl/argon/favicon.ico?v=<?php echo rand() ?>"> in if statement and <link href="lib/tpl/argon/images/apple-touch-icon.png?v=<?php echo rand() ?>"> and <link href="lib/tpl/argon/images/favicon.ico?v=<?php echo rand() ?>"> in else if statement. Note: the images should be in 48*48 size. Note: ?v=<?php echo rand() ?> is for busting the cache for favicon alone. Note: You should comment out this block of php code: echo tpl_favicon(array( 'favicon', 'mobile', ))