Bluetooth with Raspberry Pi Problem

Hello,

i am trying to use the bluetooth connection on my Raspberry Pi running latest OSMC. I am using a bluetooth Speaker from Xiaomi to play music to it via mplayer.

Pairing work well and playback also is good, i am using:

mplayer -volume 90 -ao pulse::bluez_sink.XXXXXXXXXX http://wdr-1live-live.icecast.wdr.de/wdr/1live/live/mp3/128/stream.mp3

But: After 5 minutes or so it just drops the connection and after this event, the raspberry pi does not take any connections anymore over bluetooth.

I am using a 2.5 Amp Power Supply, so that should be enough i hope.

All i get in dmsg is:

[ 590.640489] Bluetooth: hci0 link tx timeout
[ 590.640503] Bluetooth: hci0 killing stalled connection XXXXXX
[ 592.649402] Bluetooth: hci0 command 0x041f tx timeout
[ 594.729404] Bluetooth: hci0 command 0x0406 tx timeout
[ 597.024130] Bluetooth: hci0 link tx timeout
[ 597.024148] Bluetooth: hci0 killing stalled connection XXXXXXX
[ 599.020970] Bluetooth: hci0 link tx timeout
[ 599.020985] Bluetooth: hci0 killing stalled connection XXXXXXX
[ 599.021105] Bluetooth: hci0 link tx timeout
[ 599.021112] Bluetooth: hci0 killing stalled connection XXXXXXX
[ 599.159713] Bluetooth: hci0 link tx timeout
[ 599.159726] Bluetooth: hci0 killing stalled connection XXXXXXX
[ 599.159848] Bluetooth: hci0 link tx timeout
[ 599.159855] Bluetooth: hci0 killing stalled connection XXXXXXX
[ 726.089499] Bluetooth: hci0 command 0x0409 tx timeout
[ 757.209516] Bluetooth: hci0 command 0x0409 tx timeout

any ideas?

Have you tried stoping mediacenter to avoid conflict of the audio sink?

Yes tried that, doesnt seem to fix it.

Is it a Pi3 and you are using the internal bluetooth adapter?

Its a raspberry Pi 3 with the integrated bluetooth. Thats why i bought it, because it has that :slight_smile:

Unfortunately many people had issues with the internal adapter and therefore installed a BT Dongle. Not sure if things have improved but you result indicates that they haven’t

So what you are saying is: Maybe the device just doesnt work?

That would be major setback…

Well I would not say it that black/white as again there might have been improvments but in the early days of the Pi3 many of us just moved to external dongle as for a2dp the internal one was a bit flaky.
E.g. see here