Setting up Bluetooth on the Raspberry Pi
Setting up a bluetooth dongle can be quite interesting when using Raspmbc. Here is a guide on setting up.
- Raspberry pi
- Bluetooth dongle
- Wifi or ethernet connected
I found the following guide very helpful, however kept running into errors.
To fix it, run the following command after rebooting and before in place of installing bluetooth:
apt-get install obex-data-server
apt-get install bluetooth bluez-utils blueman bluez-compat
If you have tried in the past to install bluetooth, but its still broken, run the below command:
sudo dpkg --configure -a
Unfortunately, there where problems pairing the device with the error message being:Creating device failed: org.bluez.Error.AuthenticationRejected: Authentication Rejected
So following another article, it is recommended to type in:
sudo nano /usr/bin/bluez-simple-agent
Now, in this file, change "KeyboardDisplay" with "DisplayYesNo".
Some bluetooth items will not work on Raspmbc such as audio. It has been suggested (Raspberry pi official forums) to instead use OpenELEC or Xbian.