No problem - I sent it to you rather than the list by mistake.
Let's keep this on list, since it might be of interest to others.
wiiremote object creates with message
wiiremote 1.0B4-UB by Masayuki Akamatsu Pd port by Hans-Christoph Steiner hans@at.or.at compiled on Dec 28 2006 at 04:27:29 compiled against Pd version 0.39.2
If I open the help patch I get
[import] $Revision: 1.2 $ written by Hans-Christoph Steiner hans@at.or.at compiled on Dec 28 2006 at 04:27:29 compiled against Pd version 0.39.2 [import]: ERROR: can't load library in io
I am using test 7 build of .39.2, with the preference file in my preference folder.
create connect message box, click on connect message in this patch or in the help patch, wait for a few seconds and Pd quits with no messages.
The app unexpectedly quit dialogue box in the finder doesn't come up, but crash log in library is updated.
I wikk send the crash log to your address rather than the list, as am not sure if there is info in it that shouldn't be totally public (from a security point of view rather than dubious activities on my machine).
I've got the Wii hooked up fine to the Max object and it works with Darwin remote.
Cheers
Nick
A crash log would be interesting. Also, a transcript from the Pd window, and what you had to do to get it to crash. (I don't even have bluetooth, so I am flying blind ;)
.hc
On Dec 28, 2006, at 7:09 PM, nick weldin wrote:
Since I am using the same code as the Max object, I am sure I just
overlooked something like an init, so its crashing. I don't even
have bluetooth on my machine, so I can't really test it. The code is
in CVS if you want to try your hand at debugging it.
externals/io/wiiremote
.hc
On Jan 1, 2007, at 10:01 AM, nick weldin wrote:
No problem - I sent it to you rather than the list by mistake.
Let's keep this on list, since it might be of interest to others.
wiiremote object creates with message
wiiremote 1.0B4-UB by Masayuki Akamatsu Pd port by Hans-Christoph Steiner hans@at.or.at compiled on Dec 28 2006 at 04:27:29 compiled against Pd version 0.39.2
If I open the help patch I get
[import] $Revision: 1.2 $ written by Hans-Christoph Steiner hans@at.or.at compiled on Dec 28 2006 at 04:27:29 compiled against Pd version 0.39.2 [import]: ERROR: can't load library in io
I am using test 7 build of .39.2, with the preference file in my
preference folder.create connect message box, click on connect message in this patch
or in the help patch, wait for a few seconds and Pd quits with no
messages.The app unexpectedly quit dialogue box in the finder doesn't come
up, but crash log in library is updated.I wikk send the crash log to your address rather than the list, as
am not sure if there is info in it that shouldn't be totally public
(from a security point of view rather than dubious activities on my
machine).I've got the Wii hooked up fine to the Max object and it works with
Darwin remote.Cheers
Nick
A crash log would be interesting. Also, a transcript from the Pd
window, and what you had to do to get it to crash. (I don't even
have bluetooth, so I am flying blind ;).hc
On Dec 28, 2006, at 7:09 PM, nick weldin wrote:
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Mistrust authority - promote decentralization. - the hacker ethic
I'll have a look but it will be fairly random attempts
Cheers
Nick
Since I am using the same code as the Max object, I am sure I just overlooked something like an init, so its crashing. I don't even have bluetooth on my machine, so I can't really test it. The code is in CVS if you want to try your hand at debugging it.
externals/io/wiiremote
.hc
Basically, if you can see where its crashing, that will probably find
the problem.
.hc
On Jan 1, 2007, at 7:07 PM, nick weldin wrote:
I'll have a look but it will be fairly random attempts
Cheers
Nick
Since I am using the same code as the Max object, I am sure I just
overlooked something like an init, so its crashing. I don't even
have bluetooth on my machine, so I can't really test it. The code
is in CVS if you want to try your hand at debugging it.externals/io/wiiremote
.hc
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
I have the audacity to believe that peoples everywhere can have three
meals a day for their bodies, education and culture for their minds,
and dignity, equality and freedom for their spirits. - Martin
Luther King, Jr.
I got myself on a machine that at least had bluetooth, so I could
debug this. I found it, I forgot to add the line to the Pd section
that allocates the memory to the wiiremote pointer. This line was
added in b4 to the Max part, now its in the Pd part so it should work:
x->wiiremote = (WiiRemoteRef)getbytes(sizeof (WiiRemoteRec)); // add in 1.0B4
.hc
On Jan 1, 2007, at 7:07 PM, nick weldin wrote:
I'll have a look but it will be fairly random attempts
Cheers
Nick
Since I am using the same code as the Max object, I am sure I just
overlooked something like an init, so its crashing. I don't even
have bluetooth on my machine, so I can't really test it. The code
is in CVS if you want to try your hand at debugging it.externals/io/wiiremote
.hc
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra
Well you managed it before I even sorted out cvsing the source, thanks.
I'm not getting crashes now - its trying to connect.
Have not managed to successfully pair them yet but will be able to try more this afternoon.
I'm getting the same situation that i was getting at one point with the max patch, so am hopeful that i can rewind my memory to the point where i remember how I resolved it.
The connect message appears in the the pd window as connect 1, and if you 1 a one to a metro hooked up to the wii object you get 16 16 16 0 coming out (no changing values). The flashing leds don't stop on the wii remote (this is the sign that it is trying to pair - the pairing attempts usually time out after 15 secs or so if nothing is found to pair with, so something is going on).
Will report back tonight if I have more news.
Happy New year everyone.
Nick
I got myself on a machine that at least had bluetooth, so I could debug this. I found it, I forgot to add the line to the Pd section that allocates the memory to the wiiremote pointer. This line was added in b4 to the Max part, now its in the Pd part so it should work:
x->wiiremote = (WiiRemoteRef)getbytes(sizeof(WiiRemoteRec)); // add in 1.0B4
.hc
Attachment converted: Macintosh HD:wiiremote.pd_darwin.bz2 ( / ) (00B8F55E)
On Jan 1, 2007, at 7:07 PM, nick weldin wrote:
I'll have a look but it will be fairly random attempts
Cheers
Nick
Since I am using the same code as the Max object, I am sure I just overlooked something like an init, so its crashing. I don't even have bluetooth on my machine, so I can't really test it. The code is in CVS if you want to try your hand at debugging it.
externals/io/wiiremote
.hc
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra
There is still lots you could do if you are still game. Post your cvs
woes here (or perhaps pd-dev is better) and we'll get you up to speed.
Just because I fixed my stupid mistake doesn't mean there isn't work
to be done! ;) I am sure that there will be other things to fix or
contribute with [wiiremote].
.hc
On Jan 3, 2007, at 3:38 AM, nick weldin wrote:
Well you managed it before I even sorted out cvsing the source,
thanks.I'm not getting crashes now - its trying to connect.
Have not managed to successfully pair them yet but will be able to
try more this afternoon.I'm getting the same situation that i was getting at one point with
the max patch, so am hopeful that i can rewind my memory to the
point where i remember how I resolved it.The connect message appears in the the pd window as connect 1, and
if you 1 a one to a metro hooked up to the wii object you get 16 16
16 0 coming out (no changing values). The flashing leds don't stop
on the wii remote (this is the sign that it is trying to pair - the
pairing attempts usually time out after 15 secs or so if nothing is
found to pair with, so something is going on).Will report back tonight if I have more news.
Happy New year everyone.
Nick
I got myself on a machine that at least had bluetooth, so I could
debug this. I found it, I forgot to add the line to the Pd
section that allocates the memory to the wiiremote pointer. This
line was added in b4 to the Max part, now its in the Pd part so it
should work:x->wiiremote = (WiiRemoteRef)getbytes(sizeof(WiiRemoteRec)); //
add in 1.0B4.hc
Attachment converted: Macintosh HD:wiiremote.pd_darwin.bz2
( / ) (00B8F55E)On Jan 1, 2007, at 7:07 PM, nick weldin wrote:
I'll have a look but it will be fairly random attempts
Cheers
Nick
Since I am using the same code as the Max object, I am sure I
just overlooked something like an init, so its crashing. I
don't even have bluetooth on my machine, so I can't really test
it. The code is in CVS if you want to try your hand at
debugging it.externals/io/wiiremote
.hc
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Computer science is no more related to the computer than astronomy
is related to the telescope. -Edsger Dykstra
I have the audacity to believe that peoples everywhere can have three
meals a day for their bodies, education and culture for their minds,
and dignity, equality and freedom for their spirits. - Martin
Luther King, Jr.
Happy to help.
I've got a machine that i had cvs pd stuff working on I just need to get back on it after Christmas.
Should be able to to get on to looking at it more next week.
Had a chance to check the range of the wiiremote yesterday and it covered the whole of a 20m square hall no problem, and was able to through a couple of walls too before the connection was lost.
That was with an external usb bluetooth adapter - will try internal bluetooth on laptop today.
Cheers
Nick
There is still lots you could do if you are still game. Post your cvs woes here (or perhaps pd-dev is better) and we'll get you up to speed.
Just because I fixed my stupid mistake doesn't mean there isn't work to be done! ;) I am sure that there will be other things to fix or contribute with [wiiremote].
.hc
On Jan 3, 2007, at 3:38 AM, nick weldin wrote:
Hey all,
I'm in the process of getting the Wii remote working with Pd under Linux. It doesn't seem that the [wiiremote] object ported from Max works under anything but Darwin... at least, this is my impression from looking at the source and makefile. Would anyone know what it would take to compile under Linux?
I have had success getting readings using the driver found here: http://www.wiili.org/index.php/WMD
The Wii remote follows the Bluetooth HID standard, so I am trying to use Hans-Christoph Steiner's [hid], but the external assumes that all hid devices exist at locations like: /dev/input/event1
The WMD driver assigns the remote to /dev/input/uinput (because it uses the uinput kernel module). Is there any way to tell the [hid] object to look there instead?
Thanks a ton!
Does anyone
Hans-Christoph Steiner wrote:
There is still lots you could do if you are still game. Post your cvs woes here (or perhaps pd-dev is better) and we'll get you up to speed.
Just because I fixed my stupid mistake doesn't mean there isn't work to be done! ;) I am sure that there will be other things to fix or contribute with [wiiremote].
.hc
On Jan 3, 2007, at 3:38 AM, nick weldin wrote:
Well you managed it before I even sorted out cvsing the source, thanks.
I'm not getting crashes now - its trying to connect.
Have not managed to successfully pair them yet but will be able to try more this afternoon.
I'm getting the same situation that i was getting at one point with the max patch, so am hopeful that i can rewind my memory to the point where i remember how I resolved it.
The connect message appears in the the pd window as connect 1, and if you 1 a one to a metro hooked up to the wii object you get 16 16 16 0 coming out (no changing values). The flashing leds don't stop on the wii remote (this is the sign that it is trying to pair - the pairing attempts usually time out after 15 secs or so if nothing is found to pair with, so something is going on).
Will report back tonight if I have more news.
Happy New year everyone.
Nick
I got myself on a machine that at least had bluetooth, so I could debug this. I found it, I forgot to add the line to the Pd section that allocates the memory to the wiiremote pointer. This line was added in b4 to the Max part, now its in the Pd part so it should work:
x->wiiremote = (WiiRemoteRef)getbytes(sizeof(WiiRemoteRec)); // add in 1.0B4
.hc
Attachment converted: Macintosh HD:wiiremote.pd_darwin.bz2 ( / ) (00B8F55E)
On Jan 1, 2007, at 7:07 PM, nick weldin wrote:
I'll have a look but it will be fairly random attempts
Cheers
Nick
Since I am using the same code as the Max object, I am sure I just overlooked something like an init, so its crashing. I don't even have bluetooth on my machine, so I can't really test it. The code is in CVS if you want to try your hand at debugging it.
externals/io/wiiremote
.hc
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra
I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Jan 8, 2007, at 5:54 PM, Mike Wozniewski wrote:
Hey all,
I'm in the process of getting the Wii remote working with Pd under
Linux. It doesn't seem that the [wiiremote] object ported from Max
works under anything but Darwin... at least, this is my impression
from looking at the source and makefile. Would anyone know what it
would take to compile under Linux?
I have had success getting readings using the driver found here:
http://www.wiili.org/index.php/WMDThe Wii remote follows the Bluetooth HID standard, so I am trying
to use Hans-Christoph Steiner's [hid], but the external assumes
that all hid devices exist at locations like: /dev/input/event1The WMD driver assigns the remote to /dev/input/uinput (because it
uses the uinput kernel module). Is there any way to tell the [hid]
object to look there instead?
[wiiremote] uses the Apple Bluetooth HID API, so it'll only work on
Mac OS X/Darwin. It would take porting it to the Linux/bluez API.
Currently, the only way to change the device used is to change the
source code and reimplement it. But we'll add uinput support to
hidio, which is currently under development. It's included in the
nightly test builds already (the ones with a date).
.hc
Thanks a ton!
- Mike Wozniewski
Does anyone
Hans-Christoph Steiner wrote:
There is still lots you could do if you are still game. Post your
cvs woes here (or perhaps pd-dev is better) and we'll get you up
to speed.Just because I fixed my stupid mistake doesn't mean there isn't
work to be done! ;) I am sure that there will be other things to
fix or contribute with [wiiremote]..hc
On Jan 3, 2007, at 3:38 AM, nick weldin wrote:
Well you managed it before I even sorted out cvsing the source,
thanks.I'm not getting crashes now - its trying to connect.
Have not managed to successfully pair them yet but will be able
to try more this afternoon.I'm getting the same situation that i was getting at one point
with the max patch, so am hopeful that i can rewind my memory to
the point where i remember how I resolved it.The connect message appears in the the pd window as connect 1,
and if you 1 a one to a metro hooked up to the wii object you get
16 16 16 0 coming out (no changing values). The flashing leds
don't stop on the wii remote (this is the sign that it is trying
to pair - the pairing attempts usually time out after 15 secs or
so if nothing is found to pair with, so something is going on).Will report back tonight if I have more news.
Happy New year everyone.
Nick
I got myself on a machine that at least had bluetooth, so I
could debug this. I found it, I forgot to add the line to the
Pd section that allocates the memory to the wiiremote pointer.
This line was added in b4 to the Max part, now its in the Pd
part so it should work:x->wiiremote = (WiiRemoteRef)getbytes(sizeof(WiiRemoteRec)); //
add in 1.0B4.hc
Attachment converted: Macintosh HD:wiiremote.pd_darwin.bz2
( / ) (00B8F55E)On Jan 1, 2007, at 7:07 PM, nick weldin wrote:
I'll have a look but it will be fairly random attempts
Cheers
Nick
Since I am using the same code as the Max object, I am sure I
just overlooked something like an init, so its crashing. I
don't even have bluetooth on my machine, so I can't really
test it. The code is in CVS if you want to try your hand at
debugging it.externals/io/wiiremote
.hc
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http:// lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than
astronomy is related to the telescope. -Edsger Dykstra
I have the audacity to believe that peoples everywhere can have
three meals a day for their bodies, education and culture for
their minds, and dignity, equality and freedom for their
spirits. - Martin Luther King, Jr.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Looking at things from a more basic level, you can come up with a
more direct solution... It may sound small in theory, but it in
practice, it can change entire economies. - Amy Smith