Dear All,
I've got following setup:
- Belkin F8T012 bluetooth dongle
- Ubuntu 9.10
- AvetanaBluetooth lib compiled from sourceforge.net/projects/avetanabt/files/ (avetanabt-20070719.tgz)
- WiiRemote v1.6 , world-of-cha0s.hostrocket.com/WiiRemoteJ/
- Wrj4P5, Loc and l4P5 , sourceforge.jp/projects/wrj4p5/releases/
- BlueZ, libbluetooth3, libbluetooth-dev, bluetooth 4.51-0ubuntu2
I first confirmed that the hardware works fine by running WmGUI successfully ( allmyapps.com/app/ubuntu-9.04/wmgui ).
I then downloaded MyFirstWii example from geocities.jp/classiclll_newweb/ , put all the necessary libraries and tried to run it.
After pressing the run button, in the console I see
avetanaBluetooth version 1.3.17
trying to find a wii
,and the bluetooth dongle blinks. I press 1+2 buttons on a wii remote, and after few seconds the program holds with the following error message
Code:Exception in thread "Thread-4" java.lang.UnsatisfiedLinkError: de.avetana.bluetooth.stack.BlueZ.cancelInquiry()V
at de.avetana.bluetooth.stack.BlueZ.cancelInquiry(Native Method)
at javax.bluetooth.DiscoveryAgent.cancelInquiry(DiscoveryAgent.java:265)
at wiiremotej.WiiDeviceDiscoverer.deviceDiscovered(WiiDeviceDiscoverer.java:89)
at javax.bluetooth.DiscoveryAgent.deviceDiscovered(DiscoveryAgent.java:284)
at de.avetana.bluetooth.stack.BlueZ.hciInquiry(Native Method)
at javax.bluetooth.DiscoveryAgent$1.run(DiscoveryAgent.java:208)
at edu.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:619)
Any ideas what might be wrong ?Those are the things I tried:
- use free evaluation of avetanaBluetooth.jar
- use BlueZ libraries (including renaming them to avetanaBluetooth.jar)
- use WiiRemote 1.5 / 1.6 / beta
Thanks,
* jcz