PDA

View Full Version : Bluetooth speaker with pcP



jouteur
2017-08-02, 06:19
Hi

I have try to find that info but can't
can we set-up a bluetooth connection to a bluetooth speaker with that pi3

thanks

pozar@lns.com
2017-08-02, 11:12
This article claims you can...

https://www.raspberrypi.org/magpi/bluetooth-audio-raspberry-pi-3/

On 8/2/17 6:19 AM, jouteur wrote
> Hi
>
> I have try to find that info but can't
> can we set-up a bluetooth connection to a bluetooth speaker with that
> pi3
>
> thanks

Man in a van
2017-08-02, 13:58
This article claims you can...

https://www.raspberrypi.org/magpi/bluetooth-audio-raspberry-pi-3/

On 8/2/17 6:19 AM, jouteur wrote
> Hi
>
> I have try to find that info but can't
> can we set-up a bluetooth connection to a bluetooth speaker with that
> pi3
>
> thanks


Yes, maybe, but not I think with pCP.

Max2play has a plugin for this, I think it is part of the "premium" deal so may cost you Ä10.

Ronnie

paul-
2017-08-02, 14:11
Yes, all theoretically possible. But it's not currently developed for piCore or pCP. I'm not sure anyone on the dev team wants to work on it either. I'm not overly interested.

jouteur
2017-08-02, 14:12
Yes, all theoretically possible. But it's not currently developed for piCore or pCP. I'm not sure anyone on the dev team wants to work on it either. I'm not overly interested.

OK thank you for that clarity

d6jg
2017-08-02, 16:11
Yes, all theoretically possible. But it's not currently developed for piCore or pCP. I'm not sure anyone on the dev team wants to work on it either. I'm not overly interested.

It's a contradiction in terms. Hi fi 24 bit perfect capable audio player outputting to decidedly low res non bit perfect wireless device. Not for me. I don't understand why anyone wants a squeezelite player to feed a Bluetooth speaker except possibly for outdoor use - I'd use my iPhone & iPeng for that not a Pi

jouteur
2017-08-02, 23:33
Just to see what I can do with it.. Maybe

epoch1970
2017-08-03, 04:18
PCP ships with bluetooth kernel modules and bluez.tcz is available from the piCore repo, assuming the binaries work I guess you have all you need. No GUI though.
(I'm not saying it works... I only use bluetooth under extreme duress.)

bpa
2017-08-03, 04:53
PCP ships with bluetooth kernel modules and bluez.tcz is available from the piCore repo, assuming the binaries work I guess you have all you need. No GUI though.
(I'm not saying it works... I only use bluetooth under extreme duress.)


IIRC Bluez normally only works with pulseaudio - is pulseaudio installed on pcp. I think squeezlite with pulseaudio has only recently been fixed by ralphy not sure if it is on pcp.

epoch1970
2017-08-03, 05:17
IIRC Bluez normally only works with pulseaudio - is pulseaudio installed on pcp. I think squeezlite with pulseaudio has only recently been fixed by ralphy not sure if it is on pcp.
Wow. I didn't know that. Sorry.

bpa
2017-08-03, 05:50
Wow. I didn't know that. Sorry.

Don't be sorry - these issues are not obvious. IIRC Bluez 5 dumped Alsa support. Messing with Bluetooth is not for faint hearted (look at Castalla threads) and then add in pcp complexities.

It's not impossible - Max2play provide Bluetooth support as an option (not sure if it is transmitter and/or receiver) but it part of premium pack. A low effort solution would be a Buetooth transmitter connected to line-out.

edwin2006
2017-08-03, 05:56
Max2play has two bt features. 1. Connect to bt speaker. 2. Utilize BT source (phone?) as LMS url stream. (I think to be able to broadcast a spoken message to all connected SB's)

bpa
2017-08-03, 06:08
I always thought that support for Bluetooth remote control (AVRCP) would be the preferred BT feature as BT remote control are cheap or use BT RC phone apps - instead of IR.

edwin2006
2017-08-03, 11:59
See also this post http://forums.slimdevices.com/showthread.php?t=107763

paul-
2017-08-19, 09:29
Using the bluez-alsa project. Squeezelite is actually playing nicely to a bluetooth speaker.

edwin2006
2017-08-19, 13:22
Eh, newbie here. Does this mean that a pcp player can stream to bt speaker? How to install?

paul-
2017-08-19, 14:20
Yes, but a long, long way from being integrated...... right now, this would only work for the extremely advanced linux user.

edwin2006
2017-08-19, 23:54
So no chance on a newbie manual for that 😄

gian
2018-05-17, 03:02
it looks that v3.5 now supports BT Audio.

I tried that, but the setup interface it is somewhat obscure.

I wasn't able to find a tutorial.. and my knowledge of tinycore linux is limited..

?

paul-
2018-05-17, 04:01
Itís built into the interface, just try it.

gian
2018-05-17, 04:29
OK Paul..

fresh install, Squeezelite is running, wifi connected.
[Squeezelite settings]
"Do this First: Select Audio output, then press [ Save ]"
select Bluetooth Audio, Save
"Squeezelite is NOT running"

??

Bluetooth Speaker Setup

BT Controller is Off less>
✔ = BT Controller Power is on.
✘ = BT Controller Power is off.
Controller address
If the controller power remains off.
If using Rpi internal bluetooth, make sure controller is enabled on the Wifi Page
Check kernel messages in diagnostics dmesg

Connect Daemon is not running less>
✔ = Connect Daemon is running.
✘ = Connect Daemon is not running.

BT Device is Not Connected less>
✔ = Device is connected.
✘ = Device is not connected.

How do I... turn on BT controller, start daemon, connect device...? can't find in the interface
Do I need to load bluez, bluez-alsa...?

gian
2018-05-17, 04:33
must add that..

- using on board wifi
- turned off on board BT
- USB BT dongle plugged in

paul-
2018-05-17, 09:20
You don't need to do anything other than what you've done....... The controller is not being found. What brand USB/BT dongle, are you using. Not all are compatible. It needs to support HCI mode.

Please look at dmesg as suggested to see what is being detected by the OS.

gian
2018-05-17, 12:32
Hi Paul,

dmesg reports:
[ 2.685704] usb 1-1.3: Product: CSR8510 A10

Bluetooth v4.0 Specification
CSR8510A10
Features
Fully qualified Bluetooth v4.0 specification system
Support for Bluetooth v3.0 only available with CSR8510A10
Dual-mode Bluetooth /Bluetooth low energy
Draft Bluetooth low energy HID boot mode support
Full-speed Bluetooth operation with full piconet and scatternet support
Integrated balun
No external regulators required for USB supply operation
Full- speed USB 2.0 interface
WLAN coexistence interface
Green (RoHS compliant and no antimony or halogenated flame retardants)
Design optimised for low-cost PCB manufacture
General Description
BlueCore CSR8510 A10 WLSCP is a product from CSR's Connectivity Centre. It is a single-chip
radio and baseband IC for Bluetooth 2.4 GHz systems including EDR to 3 Mbps.
Dedicated signal and baseband processing is included for full Bluetooth operation.
CSR designed CSR8510 WLCSP to reduce PCB area and the number of external components ,
including no requirement for an external balun. This ensures that production costs are minimised.
Applications
PC notebooks , netbooks and desktops
TV set-top boxes
USB Bluetooth dongles
Bluetooth designs requiring the USB interface and an HCI interface
Bluetooth low energy
Device Details
Bluetooth low energy
Dual-mode Bluetooth low energy radio
Support for Bluetooth basic rate/EDR and low energy connections
3 Bluetooth low energy connections at the same time as basic rate A2DP

It looks ok with HCI, if I'm not wrong..

paul-
2018-05-17, 13:12
Likely the device is not starting in HCI mode. You will probably need to attach it to a windows machine, use the windows software to reconfigure the device to power up in HCI mode.

http://lmgtfy.com/?q=CSR8510A10+hci+mode

gian
2018-05-18, 00:29
Hi Paul,

I followed the instructions from the link you provided:

If you have a computer that is running Windows (7 - 64bits for me) you can modify the "initial device bootmode".

To change the device bootmode :

Download the BlueSuite to modifiy "BlueCore Persistent Store" : http://www.kcwirefree.com/docs/BlueSuite_2_5.zip
Unplug your Bluetooth dongle
Install the BlueSuite Software (default options)
Plug your Bluetooth dongle in another port than previously
Run CSR BlueSuite 2.5.0 / PSTool as Administrator
With the first window : Choose Transport = USB then Port = \\.\csr0 and click OK
In the Filter box, type bootmode then click on the item "Initial device bootmode"
Note the hex number in case something goes wrong (mine was 0002), then change to 0000
Click on the Set button then click on the Close button
Wait some seconds then unplug your Bluetooth dongle.

Unfortunately the situation is unchanged.

The same dongle did work with Max2Play...

I am not interested in the Jivelite interface, and beside that M2P kept disconnecting from the network.

I guess you must turn on BT from CLI.. Are we sure all the needed packages are installed?

gian
2018-05-18, 00:40
hciconfig... not found
dmesg | grep Bluetooth returns nothing..

paul-
2018-05-20, 06:24
On the Bluetooth configuration page, did you press install to load the extra bluetooth stuff?
25054

gian
2018-05-22, 00:15
Thanks, Paul,

I did not notice first the bottom tabs, when I found the advanced options, I installed the BT packages.
However, I was blocked by the warning at the Beta tab, "can corrupt your SD!!" so I could not find how to start the daemon from the interface...
Now it's working and is up since yesterday, it looks pretty solid.