WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Never calibrates accelerometer?
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ
View previous topic :: View next topic  
Author Message
bellwethr



Joined: 05 Nov 2007
Posts: 25

Digg It
PostPosted: 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
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 522

Digg It
PostPosted: 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
View user's profile Send private message
bellwethr



Joined: 05 Nov 2007
Posts: 25

Digg It
PostPosted: 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
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 522

Digg It
PostPosted: 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
View user's profile Send private message
bellwethr



Joined: 05 Nov 2007
Posts: 25

Digg It
PostPosted: 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
View user's profile Send private message
theslide



Joined: 20 Nov 2007
Posts: 1

Digg It
PostPosted: 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
View user's profile Send private message
bellwethr



Joined: 05 Nov 2007
Posts: 25

Digg It
PostPosted: 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group