DEV Community

Roy-Wanyoike
Roy-Wanyoike

Posted on

2

Struggling to fix: Bluetooth connection failed: protocol not available?

Well after upgrading my Linux version am using Parrot Electro Ara 5.1 i was not able to use my JBL headphones since bluetooth threw an error i couldn't catch lol!
after a week of struggling with this issue i managed to solve it with just 5 lines of code.
Image description

Below are the solutions to above problem.
I preffered using Geany to edit
sudo geany /etc/pulse/default.pa

Image description

(Edit geany to use editor of your preference)

Move to line 65 and comment this line

load-module module-bluetooth-discover
Enter fullscreen mode Exit fullscreen mode

Image description
upon edit it should look like

#load-module module-bluetooth-discover
Enter fullscreen mode Exit fullscreen mode

Next edit the pulse-audio
sudo geany usr/bin/start-pulseaudio-x11
Image description

Add to line 37

Image description

Image description

Add this line on line 37
/usr/bin/pactl load-module module-bluetooth-discover

save this script and you are good to reboot.

Image description

Enjoy

Image of Docusign

Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more