Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth Connection Error #1135

Closed
JarvisSagar opened this issue Oct 31, 2019 · 6 comments
Closed

Bluetooth Connection Error #1135

JarvisSagar opened this issue Oct 31, 2019 · 6 comments

Comments

@JarvisSagar
Copy link

when i try to connect my bluetooth speaker , it preview a error " Connection failed protocol is not available error "
HOW TO SOLVE THIS ERROR ???
Screenshot at 2019-10-31 07-26-24

@infirit
Copy link
Contributor

infirit commented Oct 31, 2019

The Bluetooth subsystem BlueZ by itself does not handle audio. It instead relies on others to register with it if they can handle things like audio. "Protocol not available" indicates nothing registered with BlueZ to handle audio. Typically this is done by PulseAudio and its Bluetooth plugin. So install PulseAudio with the necessary Bluetooth support and you should be good.

@kavyaanar
Copy link

kavyaanar commented Nov 29, 2019

@infirit and @https://github.com/JarvisSagar

https://www.raspberrypi.org/forums/viewtopic.php?t=247892
add a2dp profile to bluealsa.service
( --profile=a2dp-sink)
this will resolve the protocol error

@stale
Copy link

stale bot commented Jan 28, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 28, 2020
@stale stale bot closed this as completed Feb 4, 2020
@xanda-escuyer
Copy link

@infirit and @https://github.com/JarvisSagar

https://www.raspberrypi.org/forums/viewtopic.php?t=247892 add a2dp profile to bluealsa.service ( --profile=a2dp-sink) this will resolve the protocol error

Even though this issue is closed, it seems appropriate to confirm this solution It worked for us.
That said, it seems somewhat pedestrian that such efforts are required to get such a basic function to work; if this falls into the remit of the project then perhaps it can be included in future releases?

Debian GNU/Linux 11 (bullseye) 64-bit
GNOME 3.38.5 + Wayland

@infirit
Copy link
Contributor

infirit commented Oct 3, 2022

That said, it seems somewhat pedestrian that such efforts are required to get such a basic function to work; if this falls into the remit of the project then perhaps it can be included in future releases?

You'd have to raise this with your disteibutuon of choice. the BlueZ project nor Blueman have any control over this.

They can choose not to include it and leave it up to the users, like debian did (or still does?).

@cschramm
Copy link
Member

cschramm commented Oct 3, 2022

It's basically an upstream decision and the authors state that "There is no default usage". BlueALSA 4.0 actually changed the way how this is handled: Instead of enabling a2dp-source, hfp-ag and hsp-ag by default, the daemon now requires explicit information on which profiles to enable, to avoid confusion. At the same time, though, the default bluealsa.service started passing a2dp-source and a2sp-sink. I do not really get how that fits the "there is no default" philosophy but I think the things in questions actually work out of the box now. arkq/bluez-alsa#557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants