Re: New version using linuxWiimoteLib

95 views
Skip to first unread message

al...@paranoici.org

unread,
Mar 3, 2013, 7:38:25 AM3/3/13
to python-w...@googlegroups.com
A lot of people have reported that the python-whiteboard "new release"
does not work with "old wiimote" and some "not original ones".

The problem is that some wiimotes talk only sending commands with
prefix 0x52 on socket 17
and does not working sending commands with prefix 0xa2 on sockett 19.

I have patched the code in order to put the prefix code only in
send_data (See patched file in attachment)

The code discriminate how send data matching on the wiimote model name
(see line 200 of linuxWiimoteLib.py).

It uses the 0xa2 only for "Nintendo RVL-CNT-01-TR" wiimotes, in other
cases it use old 0x52 way.

The code has been test successfully on an old wiimote and on a new
wiimote plus.

I have the doubt about some wiimote plus old models that reveal the
name "Nintendo RVL-CNT-01-TR"
but they don't support the 0xa2 prefix but only the 0x52 one.

Have you get some old Wiimote Plus to test with the new code?


Pilolli Pietro
linuxWiimoteLib.py
wiimote.py

Pere Negre

unread,
Mar 3, 2013, 3:54:01 PM3/3/13
to python-w...@googlegroups.com
Thanks for your work, Pietro.

Code updated. I've uploaded a new .deb version (the link is in the wiki section). I'm using dropbox, because github is terminating the downloads section.

Cheers!

--
Pere

Pere Negre

unread,
Mar 3, 2013, 4:02:38 PM3/3/13
to python-w...@googlegroups.com
Thanks for your work, Pietro.

Code updated. I've uploaded a new .deb version (the link in the wiki section). I'm using dropbox, because 



--
You received this message because you are subscribed to the Google Groups "python-whiteboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-whiteboard+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Pere

Mauro Baldrani

unread,
Mar 4, 2013, 10:38:53 AM3/4/13
to python-w...@googlegroups.com

I have some old wiimotes (without wiimotion plus), both Chinese and original Nintendo. I have never check the label you have mentioned, but I could do some tests with my wiimotes that don't work with python-whiteboard new release.
Bye

--
Mauro

Pere Negre

unread,
Mar 4, 2013, 1:57:23 PM3/4/13
to python-w...@googlegroups.com
I have some old wiimotes (without wiimotion plus), both Chinese and original Nintendo. I have never check the label you have mentioned, but I could do some tests with my wiimotes that don't work with python-whiteboard new release.
Bye

Thanks, that should be very useful.

--
Pere

cooc...@gmail.com

unread,
Apr 29, 2013, 10:40:25 AM4/29/13
to python-w...@googlegroups.com
Hello i´m new in this os, how can i put this code in the file ? thanks a lot !

al...@paranoici.org

unread,
Apr 30, 2013, 3:00:07 AM4/30/13
to python-w...@googlegroups.com
On 29.04.2013 14:40, cooc...@gmail.com wrote:
> Hello i´m new in this os, how can i put this code in the file ? thanks
> a lot !

The code is already updated in the last deb on the Python-whiteboard
site
and in the source code also.
> --
> You received this message because you are subscribed to the Google
> Groups "python-whiteboard" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to python-whitebo...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out [1].
>
>
>
> Links:
> ------
> [1] https://groups.google.com/groups/opt_out

Jorge FM

unread,
May 7, 2013, 10:47:17 AM5/7/13
to python-w...@googlegroups.com
Hi alpha,

To use the python whiteboard, i only need to install the last deb 1.0.4 ?

Thanks.


2013/4/30 <al...@paranoici.org>
--
You received this message because you are subscribed to the Google Groups "python-whiteboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-whiteboard+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Saludos cordiales.

alpha

unread,
May 10, 2013, 5:26:29 AM5/10/13
to python-w...@googlegroups.com
yes

Jorge FM <cooc...@gmail.com> ha scritto:

>>> send an email to python-whiteboard+unsubscribe@**googlegroups.com<python-whiteboard%2Bunsu...@googlegroups.com>
>>> .
>>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>[1].
>>>
>>>
>>>
>>> Links:
>>> ------
>>> [1] https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>


>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "python-whiteboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an

>> email to python-whiteboard+unsubscribe@**googlegroups.com<python-whiteboard%2Bunsu...@googlegroups.com>
>> .
>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> .
>>
>>
>>
>
>
>--
>Saludos cordiales.


>
>--
>You received this message because you are subscribed to the Google Groups "python-whiteboard" group.

>To unsubscribe from this group and stop receiving emails from it, send an email to python-whitebo...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages