Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[How To] RPi Bluetooth Audio Receiver on latest Xbian [30/05/2016]
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[How To] RPi Bluetooth Audio Receiver on latest Xbian [30/05/2016]
30th May, 2016, 08:37 AM
Post: #1
abdulmueid Offline
Registered
Posts: 5
Joined: Oct 2015
Reputation: 2
[How To] RPi Bluetooth Audio Receiver on latest Xbian [30/05/2016]
Hi All,

After A LOT of trial and error, I have simplified the process of getting RPi to work as a Bluetooth Audio receiver on the latest release of Xbian with Raspberry Pi 3 using the built-in bluetooth module. I hope this can be helpful to someone.

Open up ssh/terminal and run the following commands:

Install Packages
Terminal
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install pulseaudio-module-bluetooth bluez-tools
Notes: Fairly straightforward step. Preferably do a clean install to avoid any configuration issues.

Add users to groups
Terminal
sudo gpasswd -a xbian pulse
sudo gpasswd -a xbian lp
sudo gpasswd -a pulse lp
sudo gpasswd -a xbian audio
sudo gpasswd -a pulse audio

Setup PulseAudio & Bluetooth Device
Terminal
sudo sh -c "echo 'extra-arguments = --exit-idle-time=-1 --log-target=syslog' >> /etc/pulse/client.conf"
sudo hciconfig hci0 up
sudo hciconfig hci0 class 0x200420
sudo reboot

Add Bluetooth Device
Terminal
sudo bluetoothctl
The following commands inside bluetoothctl only needs to run once only when setting up:
Terminal
agent KeyboardOnly
default-agent
The following commands inside bluetoothctl needs to run every time you need to add a new device:
Terminal
scan on
pair xx:xx:xx:...
trust xx:xx:xx:...
exit
Notes: Make your phone/tablet's Bluetooth discoverable before executing `scan on`. Wait for a minute until your device is discovered and MAC address is displayed. Use the MAC address in the pair & trust steps.
After exiting bluetoothctl, initiate the connection from the paired phone/tablet, and play some music Smile

Let me know if this works out for you.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
[How To] RPi Bluetooth Audio Receiver on latest Xbian [30/05/2016] - abdulmueid - 30th May, 2016 08:37 AM
RE: RPi Bluetooth Audio Receiver on latest Xbian [30/05/2016] - f1vefour - 30th May, 2016, 03:33 PM
RE: [How To] RPi Bluetooth Audio Receiver on latest Xbian [30/05/2016] - abdulmueid - 30th May, 2016, 05:29 PM
RE: [How To] RPi Bluetooth Audio Receiver on latest Xbian [30/05/2016] - rikardo1979 - 30th May, 2016, 05:51 PM
RE: [How To] RPi Bluetooth Audio Receiver on latest Xbian [30/05/2016] - Nachteule - 30th May, 2016, 10:54 PM
RE: [How To] RPi Bluetooth Audio Receiver on latest Xbian [30/05/2016] - abdulmueid - 30th May, 2016, 11:04 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 25th May, 2025, 11:30 PM Powered By MyBB, © 2002-2025 MyBB Group.