I'm on raspbian stretch, I had an android tv box that broke down so I used a raspberry pi 3 I had around for uni to replace it. In the android tv box, if I connected a bluetooth headset, it would automatically route all audio to it but in the raspberry, I have to manually go to the sound settings and tell it to switch. Is there a way to make the raspberry work the way the android did for switching back and forth to bluetooth?

1 Answer 1


I would read this:

Automatically connect trusted Bluetooth speaker

The Bluetooth protocol should be the same (A2DP) and you could use the part about bluez-udev to connect to a device when it is discovered by the BT subsystem.

  • I just found out that only audio from web browsers are routed to bluetooth on raspbian-stretch. Jan 14, 2018 at 7:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.