Jul 31, 2009

Rocketfish Bluetooth Dongle in Ubuntu

UPDATE: This does not work in Karmic as the Bluetooth settings dialog has been changed. This will still work in Jaunty if you have not yet upgraded.

I recently bought a Rocketfish Bluetooth dongle for my computer so that I can see about hooking up the Wiimotes to it. Unfortunately it didn't work out of the box, but it was detected by lsusb. Here's how to get it working.

First, see if it is detected when you plug it in. The little light should be on, and if you go into a terminal (Applications->Accessories->Terminal) and type:
lsusb
You should see a "Primax Electronics, Ltd" and/or "Broadcom Corp." (I get 3 of these) in there. If you've gotten this far, good. Otherwise it is possible that your adapter is broken, try testing it on another computer.

Second, you need to reset the device, not sure why. In the terminal type:
sudo hciconfig hci0 reset
sudo hcitool dev
This should print out a list that looks like this:
Devices:
hci0 00:02:76:17:91:42
This should make the device work.

If you go into System->Preferences->Bluetooth you should now be able to set up your Bluetooth devices. Click the "+" button, which will go through the little wizard. On the "Device search" page, wait a second while it detects the devices (theres a few little usability issues in the Bluetooth thing, supposedly the fixes are in for Karmic) and you should see your other Bluetooth device(s) pop up in the box. After that theres usually some kind of pairing system that you'll need to do, it depends on the device you're trying to connect. I tried with my cell phone and you have to enter the pairing code on your cell before it lets you connect the two.

2 comments:

Tom said...

Thanks,

that worked.

JT said...

Awesome man, didn't work out of the box, but now with your instructions...it's rockin'!