Jw321123
Posts: 4
Joined: Sat May 14, 2016 3:11 am

Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 3:28 am

I'm new to Linux, btw, and on the latest version of Raspian.

My Raspberry Pi 3 can connect briefly to my Macbook Air 2013, but once I accept the connection on the Raspberry Pi, I get this error:

"GDBus.Error:org.bluez.Error.Failed: No such file or directory. Try to connect manually."

(The Raspberry Pi appears on my macbook, but the macbook which is discoverible does not appear on my raspberry pi)

I also tried connecting from the terminal, that didn't work either.

Here are the bluetooth-related packages I have, am I missing any or are they interfering with each other?
(p.s. this was done with a package search in Synaptic

-Bluez
-Bluez-firmware
-firmware-atheros
-firmware-reaktek
-libbluetooth3
-libcwiid1
-libmm-glib0
-modemmanager
-obex-data-server
-pi-bluetooth
-pulseaudio-module-bluetooth

Hopefully I do not have a faulty Raspberry Pi, i'm praying

Jw321123
Posts: 4
Joined: Sat May 14, 2016 3:11 am

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 5:45 pm

BUMP:
I think I can justify this because well..... no one responded :|

User avatar
jbeale
Posts: 3469
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 5:50 pm

I don't know much about Bluetooth but what are you trying to do? According to the most recent blog post about bluetooth, it can connect to most any BT device, but it cannot do anything useful unless it is a HID model (like mouse or keyboard) or Audio device (headphones or speakers). What type of device is your Mac Air?

User avatar
Dis93
Posts: 132
Joined: Thu Apr 07, 2016 8:30 pm
Location: Wuthering, Yorkshire

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 5:59 pm

I sorta agree with jbeale.. I can network with my Mac, my PC via standard networking... Bluetooth is slow and limited.. for connecting to phones, or connecting a kb or mouse, or maybe a BT speakers it's fine.. otherwise why bother?

Jw321123
Posts: 4
Joined: Sat May 14, 2016 3:11 am

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 6:17 pm

My Macbook Air 2013 is 11-inch and 128GB. Of course, it also has bluetooth.

The BT Speaker that I am trying to connect to is the MIni Jambox from Jawbone. That works fine with other devices, too.

I'm trying to transfer and receive files to my Macbook Air, and I am trying to pump some jams to my Bluetooth speaker.

EDIT: I also tried connecting to a Microsoft Arc Mouse SE (a bluetooth mouse), it said it "Paired successfully, but this device has no services which can be used with the Raspberry Pi"

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 6:32 pm

had this same kind of error after upgrade
"GDBus.Error:org.bluez.Error.Failed:..."
Resolved it by restoring 4.1 and then doing dist-upgrade again. Works fine now.

see: viewtopic.php?p=973744#p973744

Also, you should be aware there is a major performance bug in the new release that affects the uart (which is what the bluetooth uses). The Pi has computational degradation to the tune of approx 1 billion operations per second.
viewtopic.php?p=974088#p974088
DNPNWO

User avatar
Dis93
Posts: 132
Joined: Thu Apr 07, 2016 8:30 pm
Location: Wuthering, Yorkshire

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 6:40 pm

I bumped my kernel to 4.4.10, Rive.
I have to agree with OP, BT seems funky. I've left it scanning for 30 minutes, it did see my two phones, it can't now. It has picked up various devices my neighbours have, and my Mac but can't connect like OPs. Can't see my phones half a metre away ( that's about 1.6 foot away for those in the USA)

Jw321123
Posts: 4
Joined: Sat May 14, 2016 3:11 am

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 6:41 pm

Again, i'm new to Linux so.... I don't get that at all. Can you explain in further detail? Sorry

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 8:15 pm

Jw321123 wrote:Again, i'm new to Linux so.... I don't get that at all. Can you explain in further detail? Sorry
What specifically would you like elaboration on?
DNPNWO

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 374
Joined: Fri Dec 26, 2014 11:02 am

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 8:19 pm

There's no point connecting to a MacBook Air with the latest Jessie release - as I said in the blog post, we support UI devices (mice, keyboards etc) and speakers and headsets. Your Mac is none of those, so while you can pair with it, you won't be able to establish a connection to it, as the Pi has no client services which can make use of anything the MacBook has to offer.

In future we might add the ability to share a network connection over Bluetooth, but it's quite a lot of work to enable that on the Pi, so we haven't had a chance to do it yet!

The Arc Mouse SE is a BTLE device, which is a newer version of the Bluetooth protocol, and software support for that is shaky, to say the least; the BlueZ stack treats BTLE devices completely differently from traditional BT devices. Until we get a better handle on BTLE, you're very unlikely to be able to use that mouse with your Pi. (Note that this isn't a Pi-specific problem - my Mac mini can't connect to BTLE devices either...)

User avatar
Douglas6
Posts: 4711
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 8:30 pm

@spl23, you could look into adding support for OBEX and Serial Port Profile. I believe blueman has limited file transfer support.

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 374
Joined: Fri Dec 26, 2014 11:02 am

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 8:42 pm

Douglas6 wrote:@spl23, you could look into adding support for OBEX and Serial Port Profile. I believe blueman has limited file transfer support.
It does, but file transfer is not that common on other devices; Apple devices tend not to allow it, for example, although Android tablets do. A huge chunk of code is required on the Pi to enable OBEX - I did look into doing it, but wondered if the demand was there to justify it, which is one of the reasons we launched with the current limited BT functionality. Once we get a handle on what other features are wanted (and by how many people...) we can work out where best to apply our limited amount of programming effort (i.e. me...) to add the bits people want.

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 8:46 pm

A huge chunk of code is required on the Pi to enable OBEX - I did look into doing it, but wondered if the demand was there to justify it, which is one of the reasons we launched with the current limited BT functionality.
BT file transfer is ideal (for Windows and Android- which are the dominant OSes atm). It is a PITA to have to move around an sdcard, or flash drive between devices. I didn't realize the new bt ui is lacking in that regard. That sucks.
DNPNWO

gkreidl
Posts: 5997
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 8:58 pm

Rive wrote:
A huge chunk of code is required on the Pi to enable OBEX - I did look into doing it, but wondered if the demand was there to justify it, which is one of the reasons we launched with the current limited BT functionality.
BT file transfer is ideal (for Windows and Android- which are the dominant OSes atm). It is a PITA to have to move around an sdcard, or flash drive between devices. I didn't realize the new bt ui is lacking in that regard. That sucks.
You have WiFi and / or ethernet networking. Why do you want to use BT for it?
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
Dis93
Posts: 132
Joined: Thu Apr 07, 2016 8:30 pm
Location: Wuthering, Yorkshire

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 9:00 pm

You have WiFi and / or ethernet networking. Why do you want to use BT for it?
+1 This

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 374
Joined: Fri Dec 26, 2014 11:02 am

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 9:03 pm

Rive wrote:I didn't realize the new bt ui is lacking in that regard. That sucks.
In that case, you are very welcome to try writing a C implementation of OBEX over Bluetooth with a GTK UI that we can integrate. My estimate is that it is a couple of thousand lines of code and probably a couple of weeks work, plus testing... ;)

In all seriousness, in an ideal world, we would support anything and everything people want to do on Pi - in the real world, we are a very small software team, and we have to prioritise - if I spend a few weeks on OBEX over BT, that's a few weeks I don't spend on something else.

If people really want OBEX, then they can install blueman and use it from there for the time being - blueman should happily coexist with the inbuilt BT UI.
Last edited by spl23 on Sat May 14, 2016 9:08 pm, edited 1 time in total.

User avatar
Douglas6
Posts: 4711
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 9:05 pm

Bluetooth file transfer is not that difficult on the Pi, it just requires some command line finagling.

WiFi is easier.

User avatar
Dis93
Posts: 132
Joined: Thu Apr 07, 2016 8:30 pm
Location: Wuthering, Yorkshire

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 9:08 pm

Douglas6 wrote:Bluetooth file transfer is not that difficult on the Pi, it just requires some command line finagling.

WiFi is easier.
Lots of internet points for the use of the word finagling.

Also , use wifi.

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 9:12 pm

gkreidl wrote: You have WiFi and / or ethernet networking. Why do you want to use BT for it?
Not all my devices are setup for LAN sharing (hardware and software firewalls), and not all my devices are even on the same network ( I have multiple physical and virtual interfaces (5 currently), some with ap isolation, on my wireless router...

Most of the mobile and Windows devices (5), are setup for BT connectivity & transfers though, which is way more convenient than configuring router interfaces, firewalls, and Windows sharing privileges. ;)
DNPNWO

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 9:15 pm

spl23 wrote:- in the real world, we are a very small software team, and we have to prioritise - if I spend a few weeks on OBEX over BT, that's a few weeks I don't spend on something else.
Yeah, I kinda figured that since someone missed that glaring uart bug in the new raspbian image.
DNPNWO

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 374
Joined: Fri Dec 26, 2014 11:02 am

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 9:20 pm

Rive wrote:Yeah, I kinda figured that since you guys missed that glaring uart bug in the new image.
Actually, we didn't miss it - we just didn't discover it until a few days before the release, and made the decision that it wasn't worth delaying the release for. In reality, the number of people who will even notice it is tiny. It is already fixed in the latest kernel and firmware - the usual method for updating kernel will get the fix for anyone who desperately needs it. Which is hardly anyone.

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 9:21 pm

spl23 wrote:
Rive wrote:Yeah, I kinda figured that since you guys missed that glaring uart bug in the new image.
Actually, we didn't miss it - we just didn't discover it until a few days before the release, and made the decision that it wasn't worth delaying the release for.
Yes you did.

I was the one who reported there was an issue ;) ( that there was performance degradation to the tune of approx 1 billion operations per sec), and had I not, you would have 'missed' it.
nearly an order of magnitude more interrupts per second and context switches per second in 4.4.9 compared to 4.1...unused uart being left with an interrupt asserted but no interrupt handler to clear it...
DNPNWO

User avatar
Dis93
Posts: 132
Joined: Thu Apr 07, 2016 8:30 pm
Location: Wuthering, Yorkshire

Re: Bluetooth on latest Raspian version is just not working.

Sat May 14, 2016 9:59 pm

Rive wrote: Yes you did.
I was the one who reported there was an issue ;) ( that there was performance degradation to the tune of approx 1 billion operations per sec), and had I not, you would have 'missed' it.
Me-ow.
https://www.youtube.com/watch?v=7syJJrsmrts

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23076
Joined: Sat Jul 30, 2011 7:41 pm

Re: Bluetooth on latest Raspian version is just not working.

Sun May 15, 2016 4:10 pm

Rive wrote:
spl23 wrote:- in the real world, we are a very small software team, and we have to prioritise - if I spend a few weeks on OBEX over BT, that's a few weeks I don't spend on something else.
Yeah, I kinda figured that since someone missed that glaring uart bug in the new raspbian image.
So glaring in fact that thousands of people reported it...oh.....hold on.....
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

Fanch
Posts: 2
Joined: Fri Mar 20, 2015 2:13 pm

Re: Bluetooth on latest Raspian version is just not working.

Thu Sep 29, 2016 2:17 pm

Hello,

I had the same problem. The OS and software were updated, but not the firmware.

I has been solved after a "sudo rpi-update".

Return to “Troubleshooting”