- Install all the updates. It will take a while.
apt-getupdate
apt-getupgrade
- Enable dbus
update-rc.d-f dbus defaults
- Reboot
Reboot
- Reconnect as described above.
- Install the required packages. It will take a while.
apt-get install bluetoothbluez-utils blueman
- Make your Bluetooth device discoverable. Refer to the device manual.
- Make sure that your device is seen by the Raspberry PI. Take note of its MAC address (ex. 75:EF:82:69:D2:83)
hcitool scan
- Pair the device. When requested, type a pin like 0000 and hit ENTER. If you are pairing a keyboard, type the PIN you have entered and hit ENTER on the keyboard you are pairing. If you are pairing a mouse, you also need to type a PIN of 0000 when requested and hit ENTER. This PIN might depends on the mouse manufacturer.
bluez-simple-agent hci075:EF:82:69:D2:83
- Make the device trusted.
bluez-test-device trusted75:EF:82:69:D2:83 yes
- Connect the device. After a few seconds, your device will be usable.
bluez-test-input connect75:EF:82:69:D2:83
- Repeat the steps from “Make your Bluetooth device discoverable” if you need to install another device.
- When you will reboot, the devices will reconnected automatically after a few seconds.