Forum
Bluetooth - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Video and Audio (/forum-28.html)
+--- Thread: Bluetooth (/thread-3761.html)



Bluetooth - juchalin - 30th Aug, 2016 12:53 AM

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


RE: Bluethoot - Nachteule - 30th Aug, 2016 03:23 AM

Please read this thread.

I'm sure you'll get the answers there Smile


RE: Bluethoot - juchalin - 30th Aug, 2016 04:22 AM

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


RE: Bluethoot - Nachteule - 30th Aug, 2016 05:06 AM

Please show me your complete output of what you are doing

(did you have pulseaudio stuff installed?)


RE: Bluethoot - juchalin - 30th Aug, 2016 07:42 PM

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] #


RE: Bluethoot - Nachteule - 30th Aug, 2016 09:45 PM

Probably you have to start agent

Terminal

[bluetooth]# agent on
Agent registered
[bluetooth]#



RE: Bluetooth - juchalin - 30th Aug, 2016 11:47 PM

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


RE: Bluetooth - Nachteule - 31st Aug, 2016 02:06 AM

I suppose you have to run the trust command for autoconnect


RE: Bluetooth - juchalin - 31st Aug, 2016 08:53 PM

Sorry but I am novice how I should do , THANK YOU


RE: Bluetooth - Nachteule - 31st Aug, 2016 09:17 PM

(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
...