![]() |
HowTo.ConnectWiimote HistoryHide minor edits - Show changes to markup January 25, 2008, at 08:43 PM
by -- info about wiili.org
Changed line 10 from:
to:
January 25, 2008, at 08:43 PM
by -- in
Changed line 10 from:
to:
January 25, 2008, at 08:43 PM
by -- info about wiili.org
Changed line 10 from:
to:
January 25, 2008, at 06:40 AM
by --
Changed line 10 from:
to:
August 09, 2007, at 08:23 AM
by --
Added lines 121-127:
To knowIt seems that the libwiimote doesn't work perfectly. I think this lib is written for a little endian architecture (iX86) but NSLU2 is a Big endian Architecture. To doFind the way to convert the library from littlen endian to big endian (compilation parameter ???) August 08, 2007, at 02:02 PM
by -- fixed false wikilinks
Changed line 9 from:
to:
Changed line 11 from:
to:
August 03, 2007, at 05:04 PM
by --
Changed lines 119-120 from:
Noteto:
From the bin directory launch test1 with the wiimote address. NoteAugust 03, 2007, at 05:03 PM
by --
Changed line 114 from:
to:
August 03, 2007, at 04:55 PM
by --
Changed lines 115-119 from:
to:
Run the test programAugust 03, 2007, at 04:54 PM
by --
Changed line 110 from:
to:
August 03, 2007, at 04:53 PM
by --
Added lines 110-112:
Changed lines 114-115 from:
to:
August 03, 2007, at 04:52 PM
by --
Changed line 67 from:
@@\\ to:
@@ August 03, 2007, at 04:51 PM
by --
Changed line 79 from:
to:
Changed line 88 from:
to:
August 03, 2007, at 04:50 PM
by --
Changed lines 79-80 from:
You can download the library from here: http://downloads.sourceforge.net/libwiimote/libwiimote-0.4.tgz to:
Changed lines 88-89 from:
You must patch all Makefile files correcting variable to:
Changed line 108 from:
delete the following line from src/Makefile: to:
August 03, 2007, at 04:49 PM
by --
Added lines 107-109:
delete the following line from src/Makefile:
August 03, 2007, at 04:47 PM
by --
Changed lines 94-95 from:
LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm to:
LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm August 03, 2007, at 04:47 PM
by --
Changed line 95 from:
all: test1 test2 test3 test4 \\ to:
all: test1 test2 test3 test4 @@ \\ August 03, 2007, at 04:46 PM
by --
Changed line 94 from:
LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm \\ to:
LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm @@\\ Changed line 96 from:
test1: test1.c @@ \\ to:
test1: test1.c \\ August 03, 2007, at 04:45 PM
by --
Changed line 96 from:
test1: test1.c \\ to:
test1: test1.c @@ \\ August 03, 2007, at 04:45 PM
by --
Changed lines 90-91 from:
@@topdir:=.. to:
@@topdir:=.. Changed line 93 from:
CFLAGS:=${CFLAGS} #-static\\ to:
CFLAGS:=${CFLAGS} #-static \\ Changed lines 95-105 from:
all: test1 test2 test3 test4\\ test1: test1.c\\ ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}\\
test2: test2.c\\ ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}\\
test3: test3.c\\ ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}\\
test4: test4.c to:
all: test1 test2 test3 test4 \\
test1: test1.c August 03, 2007, at 04:44 PM
by --
Changed line 94 from:
LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm\\ to:
LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm \\ August 03, 2007, at 04:43 PM
by --
Changed lines 94-95 from:
LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm@@\\ \\ to:
LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm\\ Deleted line 95:
\\ Deleted line 97:
\\ Deleted line 99:
\\ Deleted line 101:
\\ Deleted line 103:
\\ Changed lines 105-106 from:
rm -f *.o *~ ${BINDIR}/*@@\\
to:
rm -f *.o *~ ${BINDIR}/*
August 03, 2007, at 04:42 PM
by --
Changed line 94 from:
LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm\\ to:
LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm@@\\ August 03, 2007, at 04:42 PM
by --
Changed line 91 from:
include ${topdir}/config.mk@@\\ to:
include ${topdir}/config.mk\\ Changed lines 111-112 from:
rm -f *.o *~ ${BINDIR}/*
to:
rm -f *.o *~ ${BINDIR}/*@@\\
August 03, 2007, at 04:41 PM
by --
Changed lines 90-91 from:
to:
August 03, 2007, at 04:41 PM
by --
Changed line 90 from:
@@topdir:=..\\ to:
August 03, 2007, at 04:40 PM
by --
Changed lines 90-92 from:
@@\# test/Makefile\\ \\ topdir:=..\\ to:
@@topdir:=..\\ August 03, 2007, at 04:40 PM
by --
Changed line 114 from:
@@ to:
@@\\ August 03, 2007, at 04:39 PM
by --
Changed line 90 from:
@@ # test/Makefile\\ to:
@@\# test/Makefile\\ August 03, 2007, at 04:39 PM
by --
Changed line 90 from:
@@# test/Makefile\\ to:
@@ # test/Makefile\\ August 03, 2007, at 04:39 PM
by --
Changed lines 89-113 from:
Finaly you must rewrite /test/Makefile: \\ to:
Finaly you must rewrite /test/Makefile: ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}\\
${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}\\
${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}\\
Deleted lines 114-138:
topdir:=.. include ${topdir}/config.mk CFLAGS:=${CFLAGS} #-static LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm all: test1 test2 test3 test4 test1: test1.c ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}
test2: test2.c ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}
test3: test3.c ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}
test4: test4.c ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}
clean: rm -f *.o *~ ${BINDIR}/*
@@ August 03, 2007, at 04:35 PM
by --
Changed lines 88-115 from:
You must patch all Makefile correcting variable to:
You must patch all Makefile files correcting variable
topdir:=.. include ${topdir}/config.mk CFLAGS:=${CFLAGS} #-static LIBS:=${LIBS} -L${LIBDIR} -lcwiimote -lbluetooth -lm all: test1 test2 test3 test4 test1: test1.c ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}
test2: test2.c ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}
test3: test3.c ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}
test4: test4.c ${CC} ${CFLAGS} ${INCLUDES} -o ${BINDIR}/$@ $< ${LIBS}
clean: rm -f *.o *~ ${BINDIR}/*
@@ August 03, 2007, at 04:34 PM
by --
Added line 81:
\\ Changed lines 87-88 from:
@@ to:
August 03, 2007, at 04:32 PM
by --
Changed lines 86-87 from:
@@ to:
@@ August 03, 2007, at 04:32 PM
by --
Added line 87:
August 03, 2007, at 04:31 PM
by --
Deleted line 67:
Changed line 81 from:
@@./configure.in ==> ./configure\\ to:
@@./configure.in ==> ./configure\\ Changed lines 83-85 from:
./src/Makefile.in ==> ./src/Makefile to:
./src/Makefile.in ==> ./src/Makefile August 03, 2007, at 04:30 PM
by --
Changed lines 82-87 from:
@@
./configure.in to:
@@./configure.in ==> ./configure August 03, 2007, at 04:29 PM
by --
Changed lines 80-83 from:
You can download the library from here: http://downloads.sourceforge.net/libwiimote/libwiimote-0.4.tgz From Sebastien's Siteto:
You can download the library from here: http://downloads.sourceforge.net/libwiimote/libwiimote-0.4.tgz August 03, 2007, at 04:23 PM
by --
Added line 79:
From sourceforgeAdded lines 82-83:
From Sebastien's SiteAugust 03, 2007, at 04:21 PM
by --
Changed lines 79-80 from:
to:
You can download the library from here: http://downloads.sourceforge.net/libwiimote/libwiimote-0.4.tgz August 03, 2007, at 04:19 PM
by --
Changed lines 75-77 from:
Please note the address of the bluetooth adapter return to:
Please note the address of the bluetooth adapter return. This address is the address of the wiimote. Install the libwiimoteAugust 03, 2007, at 04:18 PM
by --
Changed lines 69-72 from:
You can scan for the presence of Bluetooth nodes in your vicinity: to:
Find the wiimoteYou can scan for the presence of the Wiimote. You must first Press A and B buttons on the wiimote. The leds of the wiimote will fash after you can type: Changed lines 75-77 from:
To prove that the low-level link is up, try pinging the other Bluetooth adapter (using the address hcitool inq returned): to:
Please note the address of the bluetooth adapter return August 03, 2007, at 04:15 PM
by --
Changed lines 65-66 from:
@@/etc/init.d/bluetooth stop /etc/init.d/bluetooth start to:
@@/etc/init.d/bluetooth stop August 03, 2007, at 04:15 PM
by --
Changed line 65 from:
@@ /etc/init.d/bluetooth stop to:
@@/etc/init.d/bluetooth stop Changed lines 67-70 from:
@@ to:
@@ August 03, 2007, at 04:14 PM
by --
Changed line 65 from:
@@/etc/init.d/bluetooth stop to:
@@ /etc/init.d/bluetooth stop August 03, 2007, at 04:14 PM
by --
Changed lines 63-65 from:
You'll need to go to /etc/init.d and issue the commands ./bluetooth stop; ./bluetooth start in order for these settings to take effect. Without this I was unable to connect to my BT GPS receiver. to:
You'll need to restart bluetooth adapter: August 03, 2007, at 04:12 PM
by --
Added line 59:
\\ August 03, 2007, at 04:12 PM
by --
Changed lines 58-60 from:
For that change the auth and encrypt lines in /etc/bluetooth/hcid.conf to: @@auth disable; encrypt disable; to:
For that change the auth and encrypt lines in /etc/bluetooth/hcid.conf to: August 03, 2007, at 04:11 PM
by --
Changed line 59 from:
auth disable; to:
@@auth disable; Added line 61:
@@\\ August 03, 2007, at 04:11 PM
by -- August 03, 2007, at 04:10 PM
by --
Added lines 56-63:
Desactivate authentication and cryptageFor that change the auth and encrypt lines in /etc/bluetooth/hcid.conf to: auth disable; encrypt disable; You'll need to go to /etc/init.d and issue the commands ./bluetooth stop; ./bluetooth start in order for these settings to take effect. Without this I was unable to connect to my BT GPS receiver. August 03, 2007, at 04:08 PM
by -- August 03, 2007, at 04:07 PM
by --
Added lines 19-62:
Basic Installation
Test your workYou should now be able to do: You can scan for the presence of Bluetooth nodes in your vicinity:
To prove that the low-level link is up, try pinging the other Bluetooth adapter (using the address hcitool inq returned): August 03, 2007, at 04:06 PM
by --
Changed line 8 from:
My Hardware isto:
My Hardware is Changed lines 14-15 from:
to:
The usb hub is connecto to "disk2". On the hub there is my usb key and my usb storage disk. On "disk1" there is my bleutooth adapter NoteOn my configuration I must connect bluetooth adapter directly to the slug. USB Hub 2.0 doesn't work. You can try with a USB Hub 1.1... August 03, 2007, at 04:03 PM
by --
Changed line 8 from:
My Hardware is to:
My Hardware isChanged lines 11-12 from:
to:
August 03, 2007, at 03:58 PM
by --
Added lines 6-12:
August 03, 2007, at 03:55 PM
by --
Changed lines 4-5 from:
to:
August 03, 2007, at 03:52 PM
by -- How to connect a Wiimote on your NLSU2 (openslug)
Added lines 1-4:
In this page I will describe how to connect a Nintendo wiimote on your slug. This Document is based on
view ·
edit ·
print ·
history ·
Last edited by fcarolo.
Based on work by fcarolo, Fiesch, and Sébastien Colas. Originally by Sébastien Colas. Page last modified on January 25, 2008, at 08:43 PM
|