User Tools

Site Tools


user:jcavalu3:portfolio:hpcfunproject0

WiiMote Whiteboard Project

First, I had to install the necessary firmware and drivers to run the bluetooth adapter. I then checked to see if I had the package linux-firmware-nonfree installed, which I did.

sudo apt-get install linux-firmware-nonfree

An error saying that we are missing a file kept appearing, so Matt and I went into search mode. We found the file on this website, but we couldn't find out why it still didn't work. We actually had to change the name of the file, because it was

fw-0489_e031.hcd

when the actual file name we needed was

fw-0a5c_21e8.hcd

so when we changed that, the bluetooth was recognized.

The file was put into

user@machine /lib/firmware

Now, the computer recognizes the bluetooth adapter, but when I run the program, an error pops up saying

Bluetooth failed to initialize. There is probably a problem with your local Bluetooth stack or API.

I got sick of having the problems on my version of linux on my laptop, so I put together another system and installed squeeze onto it. Now, I am attempting to follow this quick tutorial on how to set up bluetooth on linux for the WiiMote Whiteboard.

MAKE SURE YOU HAVE A KERNEL THAT WILL SUPPORT THE SOFTWARE ON YOUR BLUETOOTH ADAPTER IF YOU HAVE TO USE ONE

Thanks to Matt, the Kernel was updated from 2.6 to 3.2, which did support the software of the bluetooth usb adapter.

This was done by searching for and installing the new kernal from the command line:

root@dhcp-185:/home/wiimote# aptitude -t squeeze-backports search linux
...
i   linux-image-3.2.0-0.bpo.4-amd64 - Linux 3.2 for 64-bit PCs
...
root@dhcp-185:/home/wiimote# apt-get install linux-image-3.2.0-0.bpo.4-amd64

Next, the line:

deb http://noodle.portalus.net/debian-backports squeeze-backports main

was added to:

/etc/apt/sources.list

to allow the kernel to access files from newer kernels, to allow for the use of the adapter.

FINALLY

It works! The last part of the project was to place the WiiMotes in their necessary positions on the ceiling. It took a bit of moving around, but we were able to find a good position for each of the WiiMotes and the result is promising!

user/jcavalu3/portfolio/hpcfunproject0.txt · Last modified: 2013/04/24 18:42 by jcavalu3