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

blueman.bluez.errors.DBusFailedError: Protocol not available... #547

Closed
Phil171 opened this Issue Jul 10, 2016 · 13 comments

Comments

Projects
None yet
7 participants
@Phil171
Copy link

Phil171 commented Jul 10, 2016

Hello everybody,
I experience troubles when trying to connect a handset Philips SHB7000 on my Dell Vostro 1510 powered with Xubuntu 16.04 newly installed and up to date.
I'm using Blueman-manager V2.0.4
Handset is recognized, I see its MAC Adress but when trying to pairing it as Headset, Handsfree, peripheral is added but no connexion.
I've check all links related here about A2DP, troubleshootings, blueman-project and all I have found about, no solution.
I've installed PulseAudio in case of, nothing more positive.
Blueman-manager returns the error : blueman.bluez.errors.DBusFailedError: Protocol not available...
The headset works fine on my Samsung Galaxy SG3, on a Dell 3700...
Any idea ??

Please, Try to be simple when helping me, I'm new in Xubuntu, Linux, and come from W7.
And last but not least, I'm French.
Best Regards,
Philippe from France

@cschramm

This comment has been minimized.

Copy link
Member

cschramm commented Jul 11, 2016

You're missing pulseaudio-module-bluetooth which picks up a connected audio device.

@cschramm cschramm closed this Jul 11, 2016

@Phil171

This comment has been minimized.

Copy link
Author

Phil171 commented Jul 11, 2016

Thanks cschramm,
After reading your answer,I have installed this module in Terminal, same trouble, same error message.
I have tried with another handset, a Philips SHB7250, same problem.
I'm searching if that is ME who is wrong :bad use of blueman software or making same error to connect my device.

@infirit

This comment has been minimized.

Copy link
Contributor

infirit commented Jul 11, 2016

The steps are first: run sudo apt-get install pulseaudio-bluetooth from a terminal and second: killall pulseaudio or restart your session, then try again. Works for me when I tried this.

@Phil171

This comment has been minimized.

Copy link
Author

Phil171 commented Jul 12, 2016

OK.
If I run : sudo apt-get install pulseaudio-bluetooth Terminal returns :
Impossible to find paquet pulseaudio-bluetooth.
Then i run : sudo apt-get install pulseaudio-module-bluetooth, Terminal returns :
pulseaudio-module-bluetooth is already the newest version (1:8.0-0ubuntu3)
Because I installed it yesterday.
I'll try by 'killall pulseaudio' and come back.
I'm on Xubuntu 16.04

@Phil171

This comment has been minimized.

Copy link
Author

Phil171 commented Jul 12, 2016

It works, thanks, infirit !
But it seems I have to select manually output in Volume Control.
There is no "automatic switch", I'll continue to investigate to simplify this operation and the way of use is a bit different than W7 where all is automatic.

@infirit

This comment has been minimized.

Copy link
Contributor

infirit commented Jul 12, 2016

That may be fixed by editing a config file, taken from https://wiki.debian.org/BluetoothUser/a2dp

In order to auto-connect a2dp for some devices, add this to /etc/pulse/default.pa

load-module module-switch-on-connect

@Phil171

This comment has been minimized.

Copy link
Author

Phil171 commented Jul 13, 2016

Thank you.
I have to know where to look, what to apply, understand, and more in a foreign language, nice !!
;-)
On that side, Windows 7 is more within the reach of all, it looks like Linux and derivative does not try to make it simple for the novice.
I will read all this, digest and see if it works.
Nota : the wiki link is for Debian, I am on Xubuntu, is it complicated to understand the mix of those systems !
;-)
I have so many problems with Xubuntu I did not have with W7 it gets annoying!
Thank you very much for your help !

Edit : apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol bluez-firmware
Returns : Impossible to find bluez-firmware
I'll try to "play" with chown command but I'm not very easy with this kind of command...

@infirit

This comment has been minimized.

Copy link
Contributor

infirit commented Jul 13, 2016

I don't want to turn this into a full debate and this will be the only thing, but here goes 😄

On that side, Windows 7 is more within the reach of all, it looks like Linux and derivative does not try to make it simple for the novice.

It depends on what you are trying to do. Bluetooth Audio under debian and derivatives (*ubuntu) is problematic because you need to install some packages before it is working properly. Other distributions do not have this but have other limitations. Typically it is good to go to the wiki for information and forums of your distribution and post your questions there.

I have so many problems with Xubuntu I did not have with W7 it gets annoying!

Yes, gnu+linux is not windows, do not apply your windows expectations onto a completely different operating system 😉. There will be things that work much better and other things that are relatively hard, but if you are willing to learn you will see there is so much more to gnu+linux than you can imagine. For example I have to work with windows, and keep trying to move and resize windows with alt+left/right mouse click, this does not work and is very annoying for me to use windows.

And I don't know how to modify /etc/pulse/default.pa, I don't have right for... and don't want to do a mistake with "chown" command.

Make a backup (save a copy to your home dir), then go to this tutorial and learn how to edit files with nano. And then edit the file with sudo nano /etc/pulse/default.pa and just try it. No reason to be scared the worst that can happen is that your audio stops working, but then you have a copy of the original to go back to.

If you run into problems in general, the distribution forums are a great resource 👍.

@Phil171

This comment has been minimized.

Copy link
Author

Phil171 commented Jul 13, 2016

Yes, you're completely right about difference between W7 and Linux and all I'm trying to understand, it is a bit more different and complicated for me. Packages names are not easy to find or to understand.

Now, it seems working but not as yesterday.
I've modified (and cross my fingers before!) default.pa file.
Now, it works but I have to start manually Bluetooth and activate switch to ear with headset.
It should be normal to manually start Bluetooth module but I have to learn more to connect automatically when BT device is connected.
Second problem is I don't have A2DP activated, sound is poor.
I return to search for right forums to correct this problem.

Thanks a lot for your help !
Have a good day,
Philippe

@texadactyl

This comment has been minimized.

Copy link

texadactyl commented Apr 12, 2017

Installing pulseaudio-module-bluetooth followed by a reboot worked for me too. Thank you.

Now, my only puzzle is why didn't my *buntu distro somehow apprise me of this so I wouldn't have to engage in guessing games! (-:

@ed-fruty

This comment has been minimized.

Copy link

ed-fruty commented Dec 13, 2017

@infirit, Thnx! ;)

@nekromoff

This comment has been minimized.

Copy link

nekromoff commented Dec 13, 2018

Still present on the latest Ubuntu

@cybervigilante

This comment has been minimized.

Copy link

cybervigilante commented Dec 29, 2018

Oddly, I had this working on lubuntu out of the box. Then it failed. And now I'm fooling around again ;)

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