Skip to main content

No bluetooh headphone mic on Ubuntu 18.04

 Recently I purchased the realme Buds Wireless in-Ear Bluetooth headphone for my work from home setup, when I setup the headphone I found that Ubuntu is not able to detect the headphone mic, after installing APTX, ophone and doing numerous tweaks I;m not able to connect to mic.

Then I came to know about its limitation of PulseAudio and there is new audio lib PipeWire which is better than PulseAudio.


Follow below steps in order to get you mic back.

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

sudo apt update

sudo apt install pipewire gstreamer1.0-pipewire libspa-0.2-bluetooth

sudo apt install pipewire-audio-client-libraries 


sudo touch /etc/pipewire/media-session.d/with-pulseaudio

sudo sed -i 's/.*bluez5.msbc-support.*/    bluez5.msbc-support = true/' /etc/pipewire/media-session.d/bluez-monitor.conf

sudo sed -i 's/.*bluez5.sbc-xq-support.*/    bluez5.sbc-xq-support = true/' /etc/pipewire/media-session.d/bluez-monitor.conf


systemctl --user daemon-reload

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

systemctl --user --now enable pipewire pipewire-pulse

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

systemctl --user mask pulseaudio


sudo shutdown -r now

Comments

adahdaiber said…
How to get to the nearest casino with only one ticket
The 성남 출장마사지 following are the 사천 출장샵 transit lines 속초 출장샵 that pass near casinos. (North 계룡 출장안마 Star Casino, North Star Casino, Las Vegas); (South Star 광명 출장안마 Casino, South

Popular posts from this blog

Installing i3lock-color on Ubuntu

i3lock is fancy lock screen for Linux. There is i3lock dep available on Ubuntu but its not what I was looking for; I was more interested in i3lock-color . Lets see how we can install the same on ubuntu. PS: I'm using Ubuntu 16.04 Get source code for i3lock-color $ git clone https://github.com/PandorasFox/i3lock-color.git  $ cd i3lock-color Install required packages to build i3lock  $ apt install libev-dev $ apt install libxcb-composite0 libxcb-composite0-dev libxcb-xinerama0 libxcb-randr0  $ apt install libxcb-xinerama0-dev  $ apt install libxcb-xkb-dev  $ apt install libxcb-image0-dev  $ apt install libxcb-util-dev $ apt install libxkbcommon-x11-dev $ apt install libjpeg-turbo8-dev  $ apt install libpam0g-dev Build  $ autoreconf -i && ./configure && make Execute $ ./lock.sh Assign Shortcut In order to assign shortcut, install compizconfig $ sudo apt-get install compizconfig-settings-manager co...

VirtualHost in Tomcat (Make Tomcat a standalone web server)

Problem: I want to bind a registered domain name to my web application using Apache Tomcat as a standalone web server(means NO Apache web Server, HTTPD), simple :) Environment: Windows Server (64) 2003 Apache Tomcat 6.0.18 IIS 6 Still recently what were we doing to access the web application is, we are binding domain name "xyz.com" to the IIS which is running on port 80, and then this IIS redirects the page to local instance of tomcat, which is running on port 8080, as http://localhost:8080/WebApp So when someone hits www.xyz.com the server redirects to the URL as http://xyz.com:8080/WebApp. Now we need some changes into it 1. Remove port 8080 from URL (pretty easy) Open CATLINA_HOME/conf/server.xml and search for number 8080 and replace by 80, save it and you're done. But wait, if you restarted the tomcat, it will throw exception, like ‘JVM_bind: port 80 is a...

Java Generics: Why I get "name clash" exception when I override methods with different "type" parameter ?

import java.util.*; class Parent { void foo(List<String> list) { System.out.println("parent"); } } class Child extends Parent { void foo(List<Integer> list) { System.out.println("child"); } } When you compile this code you will get an error like Parent.java:7: name clash: foo(java.util.List<java.lang.Integer>) in Child and foo(java.util.List<java.lang.String>) in Parent have the same erasure, yet neither overrides the other class Child extends Parent { ^ 1 error This "name clash" error thrown because of "type erasure" thing when "generics" code gets complied. Let’s see how, When we complied any generics code, the compiler removes the type from the code and treat it as a simple pre Java 1.5 code, like, in our case, compiler saw something like this, import java.util.*; class Parent { void foo(List list) { // oops, <String> get erased. System.out.println("parent"); } } class Child extend...