DEV Community

onichandame
onichandame

Posted on

1

CentOS 8 Bluetooth Headset

On a fresh-new CentOS 8 desktop, it is not trivial to get a Bluetooth headset connected for the first time.

Symptoms

When trying to connect to a paired headset in Bluetooth settings, it keeps failing but not error log can be seen. The logs can be retrieved by running command journalctl -xe and scroll up to find the read lines similar to a2dp-sink profile connect failed for 5C:C6:E9:B9:9D:DE: Protocol not available.

This error message tells that the bluetooth service successfully identifies the headset, but having trouble to hand over the connection to the audio service.

Fix

The most common audio service shipped with CentOS is pulseaudio. The quick fix is to restart the pulseaudio service.

pulseaudio -k
pulseaudio --start

Note that both commands are meant to be run as non-root user.

Credits

Thanks to this question

AWS Q Developer image

Your AI Code Assistant

Ask anything about your entire project, code and get answers and even architecture diagrams. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Start free in your IDE

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay