Changing a Bluetooth Device Address on Raspberry Pi

This post shows how to change Bluetooth device address on Raspberry Pi. Bluetooth device address (aka BD_ADDR, Bluetooth MAC address) is a 48-bit identifier assigned to each Bluetooth chip. Whether it can be changed is depends on each chip. Fortunately, Raspberry Pi’s on-board Bluetooth chip (Cypress/Broadcom) allows device address change.   Assumptions Raspberry Pi board with on-board… Continue reading “Changing a Bluetooth Device Address on Raspberry Pi”

Streaming Bluetooth Audio from Phone to Raspberry Pi using ALSA

Update (Jan 8, 2020): Step 1 has been updated to fix codebay and elba’s problems based on peacekunov’s feedback (Thanks!). Please see the comments for details. Update (May 22, 2019): Steps to manually enable A2DP sink role has been added based on Wolfgang and John’s feedback. (Step 1). This post shows steps to setup Bluetooth audio… Continue reading “Streaming Bluetooth Audio from Phone to Raspberry Pi using ALSA”

Updating BlueZ on Raspberry Pi (5.43 to 5.48)

Update (Jul 9, 2019): Now, Raspbian Buster, released on 6/20/2019, has bluez 5.50 by default! Update (March 3, 2019): Please see this post to update BlueZ to 5.50.   This post shows how to update BlueZ from 5.43 (the default version comes with Raspbian Stretch November 2017 version) to 5.48 (the latest as of 2/14/2018)… Continue reading “Updating BlueZ on Raspberry Pi (5.43 to 5.48)”

Disabling Bluetooth on Raspberry Pi

This post shows steps to 1) disable on-board Bluetooth and 2) disable Bluetooth completely. I tested the steps with Raspbian Stretch (November 2017 version). Update (Jul 9, 2019): Tested with Raspbian Buster 2019-07-10.   Disabling on-board Bluetooth The steps below shows how to disable on-board Bluetooth and related services. Those steps also disable loading the related kernel… Continue reading “Disabling Bluetooth on Raspberry Pi”

Enabling Bluetooth in VirtualBox

VirtualBox guest OS doesn’t recognize Bluetooth adapter by default. Here is how to enable the built in Bluetooth adapter for Ubuntu guest on Windows host. OS and the version I used are below. Host: Windows 10 Guest: Ubuntu 16.04 I tested the steps with Microsoft Surface Pro 4 and Dell Precision 3510. Here is the list… Continue reading “Enabling Bluetooth in VirtualBox”