Forum

Full Version: Bluetooth
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I just installed on my Xbian rapberry , I am because I have the bug OSMC sour that I can not find .

I try to send the sound to my stereo Bluethoot , but I do not know how , you can provide the SSH command to install this!

Thank you in advance and sorry for the google translation
Please read this thread.

I'm sure you'll get the answers there Smile
Hello
thank you very much for your response , I followed the tutorial but it does not work , here's the problem

[ Bluetooth ] # par A8 : A7 : 95: FF: D9 : 11
Attempting to pair with A8 : A7 : 95: FF: D9 : 11
Failed to peer : org.bluez.Error.AuthenticationFailed

Is that you have an idea
Please show me your complete output of what you are doing

(did you have pulseaudio stuff installed?)
Here is what happens:
xbian xbian @ ~ $ sudo apt-get install pulseaudio bluez-firmware pulseaudio-module-bluetooth
[Sudo] password for xbian:
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
pulseaudio is already the newest release.
pulseaudio-module-bluetooth is already the newest release.
bluez-firmware is already the newest release.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
xbian xbian @ ~ $ lsusb
Bus 001 Device 004: ID 0a12: 0001 Cambridge Silicon Radio Ltd. Bluetooth Dongle (HCI mode)
Bus 001 Device 003: ID 0424: EC00 Standard Microsystems Corp. SMSC9512 / 9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424: 9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
xbian xbian @ ~ $ hcitool scan
Scanning ...
A8: A7: 95: FF: D9: 11 SONY CMT-SBT100
xbian xbian @ ~ $ C ^
xbian xbian @ ~ $ ps -ef | grep -i pulse
xbian 4486 3930 0 9:40 pts / 2 0:00:00 --color grep -i = auto pulse
xbian xbian @ ~ $ sudo bluetoothctl
[NEW] Controller 00: 11: 22: 98: 76: 54 xbian [default]
[NEW] Device A8: A7: 95: FF: D9: 11 SONY CMT-SBT100
[Bluetooth] # power on
Changing power on succeeded
[Bluetooth] is pairable #
Changing pairable we succeeded
[Bluetooth] is scan #
Discovery started
[CHG] Controller 00: 11: 22: 98: 76: 54 Discovering: yes
[CHG] Device A8: A7: 95: FF: D9: 11 LegacyPairing: yes
[CHG] Device A8: A7: 95: FF: D9: 11 RSSI 38
[Bluetooth] # par A8: A7: 95: FF: D9: 11
Attempting to pair with A8: A7: 95: FF: D9: 11
[CHG] Device A8: A7: 95: FF: D9: 11 Connected: yes
Failed to peer: org.bluez.Error.AuthenticationFailed
[Bluetooth] #
Probably you have to start agent

Terminal

[bluetooth]# agent on
Agent registered
[bluetooth]#
It works, it's great , thank you. I have a quick question . I restarted Xbian , but it did connect more ! But now I know that it is possible
I suppose you have to run the trust command for autoconnect
Sorry but I am novice how I should do , THANK YOU
(31st Aug, 2016 08:53 PM)juchalin Wrote: [ -> ]Sorry but I am novice how I should do , THANK YOU

Terminal

[Bluetooth] # pair A8:A7:95:FFBig Grin9:11
...
[Bluetooth] # trust A8:A7:95:FFBig Grin9:11
...
Reference URL's