Closed unsnapp8 closed 7 years ago
Do you have the pulseaudio bluetooth module installed? Might just be that it can't talk to pulse and make a connection.
I get the same error with a bluetooth mouse (since last update), but with Input/output error... blueman 2.0.4 on Linux Mint 18
I tried that. It didnt work
Do post the output from blueman-applet
and blueman-manager
as described here. Also try to use bluetoothctl
to connect and report back if that works or not.
Sorry, how do i do that?
for bluetoothctl, open a terminal and run that command. Then a list of known devices will be listed. Then in blutoothctl issue the connect command with the mac of your device. The arch wiki has an example session https://wiki.archlinux.org/index.php/bluetooth#Configuration_via_the_CLI
Forgot to post the link for the logs https://github.com/blueman-project/blueman/wiki/Troubleshooting#debugging
Same issue here, pairing to Marantz NR1506 works, but connection fails. pulseaudio-module-bluetooth is installed. Tried connecting with hcitool and bluetoothctl, always the same error:
root@grill-ZBook-14:/home/grill# bluetoothctl [NEW] Controller 80:19:34:B7:82:C9 xubuntu-0 [default] [NEW] Device 34:BE:00:F5:B1:C6 SM-G900F [NEW] Device F0:65:DD:97:6E:F7 HP Bluetooth Mouse X4000b [NEW] Device 00:06:78:2A:D8:AE Marantz NR1506 [bluetooth]# connect 00:06:78:2A:D8:AE Attempting to connect to 00:06:78:2A:D8:AE [CHG] Device 00:06:78:2A:D8:AE Connected: yes Failed to connect: org.bluez.Error.Failed [CHG] Device 00:06:78:2A:D8:AE Connected: no [CHG] Device 00:06:78:2A:D8:AE Connected: yes [CHG] Device 00:06:78:2A:D8:AE Connected: no
Log files (hcidump and bluetoothd -d -E -n) attached, please tell me if you need more.
Same issue here with unknown bluetooth mouse CHG] Device 00:00:00:00:1F:09 Connected: no [CHG] Device 00:00:00:00:1F:09 Connected: yes [CHG] Device 00:00:00:00:1F:09 Connected: no
Just checking but be sure
load-module module-bluetooth-policy
is in your default.pa in /etc/pulse. I think I had to enable that at one point or another but should be default. Either way if that's failing in bluetoothctl then this isn't the fault of blueman and you would have to file an issue with your distro/upstream bluez repo.
Yes, double checked if pulseaudio bluetooth modules are loaded via paman. Blueman reports it as a DBUS error, but probably it is a problem within bluez.
Filed a bug at: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1660277
Blueman talks to BlueZ over the dbus api and pairs, connects etc using that. If indeed bluetoothctl also does not work then we most likely can not fix that in blueman.
But, please post the blueman-applet log, it may contain some useful info. It may be something is powering down the adapter and then all connection and pair attempts will fail. One thing to check of the killswitch got enabled for some reason, as root run rfkill list
to see if one or more are blocked.
Also all of you on ubuntu or mint?
[NEW] Controller B8:81:98:17:3F:A3 s [default] [NEW] Device D0:8A:55:09:19:F0 Hesh 2 Wireless [NEW] Device 18:EE:69:29:B7:C8 Apple TV [NEW] Device E4:98:D6:AA:FA:F6 SSD-DMPMTADPF182-iPad [NEW] Device 0C:84:DC:DA:C6:81 VBTL820-DA I'm trying to connect to the hesh 2 wireless
@agrill: You're not getting Resource temporarily unavailable
, are you? I'm not profound in HCI commands, but your bluetoothd output shows that the device rejects the authentication and in your bluetoothctl snippet you do not enable an agent which might just be the cause for that. If blueman-applet was running, that could indicate an issue there as it should provide an agent that should also get used if you trigger a connection from within bluetoothctl, however we'd need the output to look into that then.
@lecho74: We've seen "Input/output error" e.g. in #413 where it is caused by compatibility issues with the BCM2046 adapter (which might be resolved in recent versions of Linux / BlueZ) or in #240 where a BlueZ update fixed it (adapter and versions unknown).
@One-SNapp: What are your versions of blueman, bluez, and pulseaudio-module-bluetooth?
@cschramm: I have a intel AC 8260 wifi / bluetooth adapter.
There is Linux Mint 18 on my Laptop and try to stay updated (maybe a mistake...) I am no linux experte (but willing to learn) but such problems takes more knowlegde and "scripting" than i know this time...
BTW: My laptop is a Acer Aspire ES1-131-P66Z with SSD, 8GB Ram & Intel AC8260.
@cschramm: Indeed, I get Resource temporarily unavailable. I also noticed the rejected connection from the remote device, but thought maybe a handshake problem. What kind of logs would you need exactly to track down the problem?
@lecho74: From a quick google search it looks like AC 8260 can be a very weird device as well. dmesg
might give a hint what's going on.
@agrill: https://github.com/blueman-project/blueman/wiki/Troubleshooting#debugging
@cschramm: weird, that is it indeed. After some activating / deactivating / diagnosis (dont ask me what i did :) the adapter works prpoperly again - no one knows how long.
Anyway thanks to all - You are doing great work!
@lecho74: Funniest thing I read on the Internets is that the adapter does not work at all anymore after booting into Windows until you reset your CMOS. 😂 https://bbs.archlinux.org/viewtopic.php?id=218895
just like windows kidnapping my bluetooth adapter
That is why i try to life without windows (it is not easy - for me - but i try)
@cschramm I remember back when WUBI was a thing and disabling a device in Windows made it completely disappear for the Ubuntu install. Kinda funny.
pulseaudio 8.0 Not sure how to find the versions for bluez, and pulseaudio-module-bluetooth
dpkg -l bluez
and dpkg -l pulseaudio-module-bluetooth
bluez: 5.37 I get 1:8.0-0 for pulseaudio module bluetooth
@infirit @cschramm Sorry for the delay, just came back to this. Attached some more logs, the blueman-applet log is when trying to connect via GUI. I'm on Xubuntu 16.10. Please tell me if I can further help to track down the problem.
dpkg.txt journalctl.txt blueman-applet.txt lournalctl.txt rfkill.txt pulseaudio.txt bluetoothctl.txt
Oh, forgot to mention: I read the manual from the reciever, it says the bluetooth adapter is A2DP only, my Android phone connects fine.
@agrill: The connect error: Permission denied (13)
in the syslog yields all kinds of issues on Google and I guess there's not much more to get out of BlueZ as it's just the receiver rejecting the connection attempt. Maybe it's not really paired (paired to that Android phone instead?) and needs some reset, see e.g. https://bbs.archlinux.org/viewtopic.php?id=204875. I cannot find any reference to Marantz devices though.
@cschramm: I updated to ubuntu 17.04 today and finally was able to connect without any difficulties. Still don't know if it was a blueman or bluez problem, but seems to be resolved. Thanks for your effort!
Still having this error in Ubuntu 17.10
After trying to connect I get Resource temporarily unavailable, while blueman seems to be connected for about two or three seconds to the headset.
52: hci0: Bluetooth Soft blocked: no Hard blocked: no
no relevant dmesg output
@nekromoff
I've seen Resource temporarily unavailable
caused by some bluetooth devices and re-pairing, i.e. removing the paired device on the Linux side and then pair both as usual might help. Did you try that?
To get more information on the issue, you can stop the bluetooth service and start bluetoothd manually with the -d
and -n
flags.
When I had to setup a fresh 17.10 install lately, the problems reappeared. After some more debugging, I finally found out that the problems were caused by an "Always on" option in the network setting of the receiver. This causes the network hardware to be powered on even in standby (for automatic power on). For some reason the receiver seems to handle the connection attempts (and terminations) and/or pairing improperly then. Long story short, after disabling this feature, everything works properly without any issues on a fresh install without any tweaks.
@agrill I have ubuntu 17.10 with the same issue. How do I disable the "Always on" option? Thanks!
I force restart /etc/init.d/bluetooth restart
and this way it works
again. Shouldn't be necessary, regular user will not be able to fix this.
On Fri, Oct 27, 2017 at 6:53 AM, Christopher Schramm < notifications@github.com> wrote:
@nekromoff https://github.com/nekromoff
I've seen Resource temporarily unavailable caused by some bluetooth devices and re-pairing, i.e. removing the paired device on the Linux side and then pair both as usual might help. Did you try that?
To get more information on the issue, you can stop the bluetooth service and start bluetoothd manually with the -d and -n flags.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/blueman-project/blueman/issues/650#issuecomment-339872238, or mute the thread https://github.com/notifications/unsubscribe-auth/AIJ3zbXUA_qVA8mxYVpMR3w77kbYkgU-ks5swWHhgaJpZM4LuTh6 .
Not sure what is meant with always on but we have AutoEnable
in /etc/bluetooth/main.conf
.
# AutoEnable defines option to enable all controllers when they are found. # This includes adapters present on start as well as adapters that are plugged # in later on. Defaults to 'false'. #AutoEnable=false
Or there is in blueman powermanager plugin which will attempt to power it on.
@e-orz There is a "Network-ctrl" setting in my Marantz receiver under Setup -> Network. I had to put it from "Always on" to "Off (in Standby)" (Names could be slightly different since I have a German menu). Since then everything works fine.
@infirit The receiver mentioned in my last post was my AV receiver, not my laptop.
Funniest thing I read on the Internets is that the adapter does not work at all anymore after booting into Windows until you reset your CMOS.  https://bbs.archlinux.org/viewtopic.php?id=218895
@cschramm and all: just some useful information in case someone hits the same problem I was in:
I have the intel 8087:0a2a wifi/bluetooth hybrid adapter. Bluetoot was working perfectly, until i had the brilliant idea of enabling the bluetooth on a Windows 10 VirtualBox VM. After that, bluetooth would never connect again on linux, even after I completely removed it from the VM. The error would be:
Connection Failed: blueman.bluez.errors.DBusFailedError: Resource temporarily unavailable
I tried EVERYTHING, including upgrading kernel, bios, messing around with all possible settings. And it turned out that @cschramm tip (resetting the CMOS) was the only working solution.
So, BEWARE: Windows VMs can screw your bluetooth just as much as a dual-boot configuration, and the only way - AFAIK - to fix the mess is to clean CMOS...
Thanks, man! :)
I ran into a similar problem with a usb bluetooth adaptor that uses the Broadcom BCM20702 chipset. I had to load an updated firmware for that chipset to resolve it. If you know your usb adaptor uses this chipset you might want to give it a try. Here's a link to the adaptors website page that provides the firmware update with installation instructions. I hope this helps. https://plugable.com/2014/06/23/plugable-usb-bluetooth-adapter-solving-hfphsp-profile-issues-on-linux/
Also have this issue with my MDR-1000X headphone. The status changes between "Connected: yes" and "Connected: no" all the time. Had to unpair and then re-pair the device every time I restart my computer for it to finally connect.
I get the 'Connection Failed: blueman.bluez.errors.DBusFailedError: Resource temporarily unavailable' message when attempt to connect to a previously paired set of BlueTooth headphones/headset after using them in Windows. I tried using bluetoothctl to connect to the device and it seemed to connect and immediately disconnect, 'Yes'-'No'-'Yes'-'No', then throws the DBus error message. I found that by using the tray applet (I'm using Ubuntu 17.10 MATE) to turn Bluetooth off/on then re-pairing was a viable solution for the issue.
Got the same error of "connected" and then "disconnected" immediately. @nekromoff solution worked for me on Ubuntu 18 (Bionic Beaver).
Some issue of connected /disconnected /connected / disconnected here, using Sony MDR headphones. The most quick way for me is restarting bluetooth service with
sudo service bluetooth restart
and connecting to headphones through audio sink.
I agree with @amartin1911, this problem is still relevant in Ubuntu 18.04 Bionic. The workaround of @telpesoron and @nekromoff works fine.
+1 also have this problem in Ubuntu 18.04 with my JBL bluetooth speaker.
Similar to @JimMF's issue with the Broadcom BCM20702 chipset, if you run dmesg | grep -i bluetooth
and see something that resembles:
[ 4.752206] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e6.hcd failed with error -2
[ 4.752207] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e6.hcd not found
... my solution was to download the appropriate firmware image from winterheart/broadcom-bt-firmware and place it in your /lib/firmware/brcm
directory.
Wheeler's solution worked perfectly. After restarting my machine I had a single error from dbus stating 'In progress' and I figured I I'd just try reconnecting. Though, I did delete the device before cold-booting and repairing (where I saw the 'in progress' error). Someone else should try the solution without unpairing the device to see if it works in that case as well.
On Wed, Jun 13, 2018 at 4:58 PM Wheeler Law notifications@github.com wrote:
Similar to @JimMF https://github.com/JimMF's issue with the Broadcom BCM20702 chipset, if you run dmesg | grep -i bluetooth and see something that resembles:
[ 4.752206] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e6.hcd failed with error -2 [ 4.752207] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e6.hcd not found
... my solution was to download the appropriate firmware image from winterheart/broadcom-bt-firmware https://github.com/winterheart/broadcom-bt-firmware/tree/master/brcm and place it in your /lib/firmware/brcm directory.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/blueman-project/blueman/issues/650#issuecomment-397114243, or mute the thread https://github.com/notifications/unsubscribe-auth/AkVLdAi65DN8fe0wiSmxfXDY-rhy_rI9ks5t8ZkRgaJpZM4LuTh6 .
service bluetooth restart
worked for me.
Same issue in 18.04 with Bose Speakers. service bluetooth restart works fine.
I had this error message from my Linux Mint 19.2 and my Amazon Echo Show. Tried everything then gave up and rebooted the Echo Show... should have tried the magic reboot first fixes so many problems... lol
service bluetooth restart
worked for me.
Worked for me too! Thanks! I had this issues for days!
One very easy thing you have to try before anything else, is check that there isn't any other device that is already connected to the device via bluetooth. For me it was my phone, which was connecting to a bluetooth speaker automatically. Once I disconnected it and restarted bluetooth adapter on my machine it worked out.
For guys, who tried to use bluetooth devices with dual boot: did you tried to share pair keys between OSes ? https://unix.stackexchange.com/a/255510/159027
When i try to connect by bluetooth headphones using blueman i get the error: Connection Failed: blueman.bluez.errors.DBusFailedError: Resource temporarily unavailable
Also it looks like it connects, but disconnects a second later. The headphones work perfectly on windows and ipad. They used to work on blueman.
I'm using ubuntu.