| View previous topic :: View next topic |
| Author |
Message |
bellwethr
Joined: 05 Nov 2007 Posts: 25
Digg It |
Posted: Tue Nov 06, 2007 2:24 am Post subject: Never calibrates accelerometer? |
|
|
Hello--
I'm trying to get WiiRemoteJ running on my machine, but it never gets past the accelerometer calibration... any thoughts?
kfe@ort:~/wiiremote/WiiRemoteJ v1.0$ sudo java -cp ./:WiiRemoteJ.jar WRLImpl
Loading library avetanaBT from ld.library.path
avetanaBluetooth version 1.3.17
hciOpenDevice(0)
setting HCI_DEVICE_ID to 0
Nov 6, 2007 2:22:07 AM wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FINE: Nintendo RVL-CNT-01...
Nov 6, 2007 2:22:07 AM wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FINE: is a WiiRemote!
Nov 6, 2007 2:22:08 AM wiiremotej.WiiRemote <init>
INFO: btl2cap://00191D9CBA8C
Nov 6, 2007 2:22:08 AM wiiremotej.WiiRemote calibrateAccelerometer
FINER: Calibrating accelerometer... |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 522
Digg It |
Posted: Tue Nov 06, 2007 4:50 pm Post subject: |
|
|
This is most likely an issue with Avetana, but I could be wrong. Can I see the code you're using? _________________ Cha0s |
|
| Back to top |
|
 |
bellwethr
Joined: 05 Nov 2007 Posts: 25
Digg It |
Posted: Tue Nov 06, 2007 5:32 pm Post subject: |
|
|
It's just the WRLImpl.java out of your WiiRemoteJ package.
hci_dump does show a ton of back and forth BT traffic between the PC and the Wiimote, but it looks like it's caught in a loop of some sort.
FYI, I'm using a Kensington BT adapter, I think #33085. |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 522
Digg It |
Posted: Tue Nov 06, 2007 6:04 pm Post subject: |
|
|
I think that's the same adapter I used. It shouldn't be a problem. Hrmm... Take a look at this thread and try recompiling. _________________ Cha0s |
|
| Back to top |
|
 |
bellwethr
Joined: 05 Nov 2007 Posts: 25
Digg It |
Posted: Tue Nov 06, 2007 7:21 pm Post subject: |
|
|
Hmm.
I'd already applied that patch to my Avetana source. I'm also looking through the bluez lib to figure out what really should go in that function.... |
|
| Back to top |
|
 |
theslide
Joined: 20 Nov 2007 Posts: 1
Digg It |
Posted: Tue Nov 20, 2007 11:32 am Post subject: |
|
|
Hi.
Sorry to resurrect a old post but I was just wondering if anyone have found a fix for this -- I have added the unimplemented method to BlueZ.cpp but obviously to no avail.
In addition to what bellwethr mentioned, if I attach the nunchuk after the wiimote has been connected it does detect this. Not sure if this is any help.
Thanks |
|
| Back to top |
|
 |
bellwethr
Joined: 05 Nov 2007 Posts: 25
Digg It |
Posted: Wed Nov 21, 2007 7:14 am Post subject: |
|
|
I still haven't been able to get WiiRemoteJ to proceed past this point, while other tools (e.g., wmgui) seem to work fine.
I haven't had serious time to really debug the bluetooth messages though. |
|
| Back to top |
|
 |
|