lmoss30
Posts: 66
Joined: Mon May 28, 2012 11:45 am

PI3 Bluetooth

Wed Mar 09, 2016 10:15 pm

Hi guys,

Really hope someone can help as I am banging my head against a wall and getting no where fast

So I a moko bk3001 keybaord and sound Sq I am trying to pair

I have tried blue man and managed to get the sound Sq to pair once bur couldn't get an audio out so don't know what I am missing there, however rebooted and then it wouldn't reconnect, I have since read blue man may have issues so removed it

Now using bluetooth ctl and following the guides on here and just can't get it working could someone from the foundation please post a known procedure for getting bluetooth working

fruitoftheloom
Posts: 20948
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: PI3 Bluetooth

Wed Mar 09, 2016 11:09 pm

lmoss30 wrote:Hi guys,

Really hope someone can help as I am banging my head against a wall and getting no where fast

So I a moko bk3001 keybaord and sound Sq I am trying to pair

I have tried blue man and managed to get the sound Sq to pair once bur couldn't get an audio out so don't know what I am missing there, however rebooted and then it wouldn't reconnect, I have since read blue man may have issues so removed it

Now using bluetooth ctl and following the guides on here and just can't get it working could someone from the foundation please post a known procedure for getting bluetooth working
Blueman can for some users act weird.

Reagrds BT Sound you need to implement A2DP https://wiki.debian.org/BluetoothUser/a2dp (ignore the add repository and blueman)

bluetoothctl should be able to pair the keyboard !!
Retired disgracefully.....

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

Re: PI3 Bluetooth

Wed Mar 09, 2016 11:43 pm

lmoss30 wrote:could someone from the foundation please post a known procedure for getting bluetooth working
Nope, very doubtful. This is a community-based forum, with content from autonomous Pi fans. It's not the Foundation's job to publish instructions for every conceivable Pi application. With some more details of what you've tried, and the problems encountered, someone here might be able to help you. Others have been successful with Bluetooth.

lmoss30
Posts: 66
Joined: Mon May 28, 2012 11:45 am

Re: PI3 Bluetooth

Thu Mar 10, 2016 1:13 pm

[email protected]:~ $ sudo bluetoothctl -a
[NEW] Controller B8:27:EB:D3:F1:6F raspberrypi [default]
[NEW] Device 4C:A5:6D:60:AD:C4 Lee Moss (Galaxy S5)
[NEW] Device AB:90:78:56:34:FB Bluetooth Keyboard
[NEW] Device 00:11:67:10:05:97 Sound-Sq
Agent registered
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[CHG] Device AB:90:78:56:34:FB Connected: yes
[CHG] Device AB:90:78:56:34:FB Connected: no
[bluetooth]# scan on
Discovery started
[CHG] Controller B8:27:EB:D3:F1:6F Discovering: yes
[CHG] Device AB:90:78:56:34:FB LegacyPairing: yes
[CHG] Device AB:90:78:56:34:FB RSSI: -54
[bluetooth]# pair AB:90:78:56:34:FB
Attempting to pair with AB:90:78:56:34:FB
[CHG] Device AB:90:78:56:34:FB Connected: yes
[agent] PIN code: 224679
[CHG] Device AB:90:78:56:34:FB Modalias: usb:v05ACp0220d0001
[bluetooth]# trust AB:90:78:56:34:FB
[CHG] Device AB:90:78:56:34:FB Trusted: yes
Changing AB:90:78:56:34:FB trust succeeded
[CHG] Device AB:90:78:56:34:FB Connected: no
[CHG] Device AB:90:78:56:34:FB Paired: yes
Pairing successful
[bluetooth]# connect AB:90:78:56:34:FB
Attempting to connect to AB:90:78:56:34:FB
Failed to connect: org.bluez.Error.Failed
[bluetooth]# connect AB:90:78:56:34:FB
Attempting to connect to AB:90:78:56:34:FB
Failed to connect: org.bluez.Error.Failed
[bluetooth]#

this is far as i am getting

SebTC
Posts: 9
Joined: Sun Mar 13, 2016 12:01 am

Re: PI3 Bluetooth

Fri Mar 25, 2016 5:00 pm

Can you try connecting with your phone to stream audio from your phone to the Pi?
I could make it work with

Code: Select all

apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol
and then pairing with blueman.
However, my audio only sounded good (no excessive pops/glitches) when disabling the wifi:

Code: Select all

ifdown wlan0
As soon as I enable wifi again, the sound becomes glitchy/too fast.

Return to “General discussion”