Packages & Tools
You only really need to install the 'bluetooth' package but, I used the following command to install some test tools and the GUI Bluetooth manager:
sudo apt-get install bluetooth bluez-utils blueman
USB Dongle Detection
lsusb
shows a new device. This is the output:
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd. Bluetooth Dongle (HCI Mode)
There will be other devices in the list, but that (or something very similar) is what you are looking for.
The /etc/init.d/bluetooth status
command shows whether Bluetooth is running.
Output should be:
Bluetooth is running
Scanning
Switch your phone's Bluetooth to 'visible'. Then use the hcitool scan command to discover our devices initially:
hcitool scan
showed the following output:
Scanning ... A0:75:91:01:02:03 Nexus S
Pairing
Once you are able to see a device using hcitool scan
, start a GUI session.
Under LXDE Menu>Preferences>Bluetooth Manager
, you will find the Blueman GUI Bluetooth manager.
From there, you can scan and pair bluetooth devices as expected in any GUI system.
and that is what worked for me. Original tutorial found here
Edit: There are apparently further steps required to use a bluetooth keyboard(or other device) in a CLI environment. Anybody have an idea about that?
sudo apt-get install bluetooth
takes forever... – Alex Chamberlain Jul 04 '12 at 10:14