Monday, September 5, 2011

Setup a Dell Blue tooth mouse on Ubuntu 11.04

When the UI way is not working, it's time to go back to your terminals.

Get the python scripts related to blue tooth device, open your terminal window and enter

sudo apt-get install bluez python-gobject python-dbus

Check your hciX location

hcitool dev

Attach your blue tooth device to Ubuntu

sudo bluez-simple-agent hci0 xx:xx:xx:xx:xx:xx

xx:xx:xx:xx:xx:xx is your Blue tooth device address and it varies for device to device. Flip your mouse and look at the bottom label, you'll find some thing like "BT ADD: xx:xx:xx:xx:xx:xx". Now press the blue button at bottom to flash the device to detect.


You'll be prompted for the PIN now, it is also available in the bottom label usually it is 0000. Key in the same to pair the device.

Mark the device as trusted device

sudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes

Restart the blue tooth daemon service
#sudo /etc/init.d/bluetooth restart

Verify the device is added successfully
dmesg|tail
Towards the end, you'll see something like below

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

Now go to your top right toolstrip and click on the blue tooth icon, choose the device name (Dell BT Travel Mouse) and click on Connect.

There you are, after a bunch of command line (or shell ) commands finally got my blue tooth mouse connected.

No comments: