Balance Board reported as MotionPlus

Bug #509246 reported by mikelococo
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
cwiid (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

STEPS TO REPRODUCE:
Install Ubuntu Desktop 9.10 Karmic.
Manually download and install the following development packages targeted for lucid:
   libcwiid1 0.6.00+svn201-2 (i386 binary)
   lswm 0.6.00+svn201-2 (i386 binary)
   wmgui 0.6.00+svn201-2 (i386 binary)
   wminput 0.6.00+svn201-2 (i386 binary)
sudo modprobe uinput
run lswm and put the balance board into discoverable mode... the mac address is listed as expected.
run wmgui, attempt to connect, and put the balance board into discoverable mode.

EXPECTED RESULT:
The balance board connects and you can see some axis data changing in response to shifting weight on the balance board.

ACTUAL RESULT:
The balance board connects, is reported as a MotionPlus controller by wmgui, and the axis data is flat and unchanging in spite of large weight shifts on the balance board. I am quite certain that the connection is completing successfully, for example I can turn the LED on the balance board on/off with wmgui. The axis data doesn't register, though, since it's being misdetected as a motionplus.

OTHER INFO:
I tried this with the Karmic current stable packages as well, but it appears they were built in March of 2009 which predates the application of the balance-board patches upstream... which is why I updated to the lucid packages which except for this bug appear to work fine with my Karmic system... wiimotes are detected and function as expected.

This bug has been reported upstream, but not fixed (http://github.com/abstrakraft/cwiid/issues#issue/2). However, the reporter maintains their own fork of cwiid in a public git repository. The patch that fixes this issue is available there (http://github.com/tuos/cwiid/commit/b534ac198cdd17f1a42568c8984b5a307739d4df) and could be applied to the ubuntu package pending acceptance upstream... or if upstream is non-response it might be worth considering the switch to the forked repo which appears to be more active.

Revision history for this message
Jojo (kuzniarpawel) wrote :

Confirmed! But after I installed latest cwiid from http://github.com/tuos/cwiid or applied patch against latest http://github.com/abstrakraft/cwiid/issues wmgui crashes after trying to connect with balance board.

Revision history for this message
Jojo (kuzniarpawel) wrote :

Sorry, it seems that my previous statement incorrect is incorrect. Patch mentioned above works perfectly. Latest snapshot from tuos works also fine. Wmgui works, but it balance-board specific fields were never coded actually. You can only turn on/off led on power button.

Revision history for this message
Jojo (kuzniarpawel) wrote :

Blance board still repors as motion plus in wmgui and in python-cwiid on Maveric.

>wiimote = cwiid.Wiimote()
>wiimote.state
{'led': 0, 'rpt_mode': 0, 'ext_type': 4, 'rumble': 0, 'error': 0, 'battery': 209}

but

>cwiid.EXT_BALANCE
3

and

>cwiid.EXT_MOTIONPLUS
4

but
>wiimote.state['ext_type'] == 4

Revision history for this message
Florian Echtler (floe) wrote :

This bug persists in precise with cwiid-0.6.00+svn201. The patch has long been accepted upstream, so I would suggest to either include the patch as a quick fix (see attachment) or update the entire package to a more recent SVN revision. Is any maintainer still active?

Revision history for this message
Florian Echtler (floe) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Original patch, adapted for Ubuntu package" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cwiid (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.