If you have any problem with your bluetooth headphone on the Linux(Mint/Ubuntu base) this articel is for you especialy if you are use HEYLOU GT1 Pro
. recently I bought one of them and it has some issuse on linux. it's connnect to my laptop bluetooth but output sound is terrible.
Well I did some research about it and this is my result:
I found a couple of posts on the web that they were discuss about a2dp_sink
profile. that must set as output profile for bluethooth headphone. I check it but output profile for my bluethooth headphone was OK. if you want check output profile for your bluetooth device you could use this below command within your terminal :
pacmd list-sinks
Above command show a lot of information about your bluethooth device you could find your device and search for bluetooth.protocol = "a2dp_sink"
its show your device output profile use a2dp
as output profile.
if your device output profile dosen't set on the a2dp_sink
you can set it through pacmd
. to set propper output profile please folow these steps :
# First steps find device index
pacmd list-cards
# Second steps is set device output profile - for example if device index number was 8 you can use it like below
pacmd set-card-profile 8 a2dp_sink
Note : if above steps dosn't work please install pavucontrol
then set your output profile thought it
Note 2: to controlling bluetooth device through cli
we could use bluetoothctl
that is really useful tools.
When I sure all things work perfectly and my output profile doesn't any problem. I did some research for bluthooth audio codec
for the Linux . because I would like to knew. are all neccecery codec installed on my OS
!!
For that reason I found a list of Linux audio codec for bluetooth device :
- SBC
- AptX (HD)
- AptX Adaptive
- LDAC
- LHDC
- AAC
- LC3
You could find more inforamtion about above codec here
Then I did attempt to install they on my Linux if you want install them you could follow these instructions :
# 1. First
sudo add-apt-repository ppa:berglh/pulseaudio-a2dp
# 2. Secound
sudo apt update
sudo apt upgrade
# 3. third
sudo apt install libldac libsbc pulseaudio-modules-bt libavcodec-extra58 libfdk-aac1 bluez
# 4. fourth
sudo systemctl restart bluthooth.service
When we did install all necessary codec on our Linux and restart bluetooth service we could connect our bluetooth headphone to our system and enjoy it.
Note : if you check it and you has any problem I recommend you. disconnect your bluetooth device then restart your bluetooth service through
sudo systemctl restart bluetooth.service
then connect yourheadphone
to bluetooth and use it :)
- https://stackoverflow.com/questions/54387985/bluetooth-blocked-through-rfkill
- https://wiki.archlinux.org/title/Bluetooth_headset