Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to make a2dp profile working on raspberry pi 3 with bluez5
Most informations were found here:
- create systemd service for running pulseaudio: /etc/systemd/system/pulseaudio.service
Description=Pulse Audio
ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disable-shm
- reload systemd with systemctl daemon-reload
- Give the pulse user permission to use Bluetooth: /etc/dbus-1/system.d/pulseaudio-bluetooth.conf
<policy user="pulse">
<allow send_destination="org.bluez"/>
- start the service: systemctl start pulseaudio.service
- enable service at startup: systemctl enable pulseaudio.service
- Paste the following lines to the end of /etc/pulse/
### Automatically load driver modules for Bluetooth hardware
load-module module-bluetooth-policy
load-module module-bluetooth-discover
- add the correct permissions for user pi:
sudo gpasswd -a pi pulse-access
sudo gpasswd -a pi audio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment