This page describes how to use a wiimote with an eeePC using the standard Xandros operating system. (for the techies: this installs the CWiid driver + associated utilities).
It assumes that you have some knowledge with the unix command line.
Note that all changes you make to your system based upon this page are at your own risk. You are strongly encouraged to read the complete page before making any changes to your system. Also if you do not feel comfortable making these changes, then please seek help with a more skilled unix/linux user.
Installing the software can be done with the text below. Text that you have to type literally in a command window is in bold
This will mean that all of the following commands are executed as superuser.
This will install the following files:
/lib/modules/22.214.171.124-eeepc/kernel/drivers/input/misc/uinput.ko /usr/lib/python2.4/site-packages/cwiid.so /usr/lib/libcwiid.so /usr/lib/libcwiid.so.1 /usr/lib/libcwiid.so.1.0 /usr/lib/libcwiid.a /usr/lib/cwiid/plugins/nunchuk_acc.so /usr/lib/cwiid/plugins/acc.so /usr/lib/cwiid/plugins/ir_ptr.so /usr/local/share/doc/cwiid/wminput.list /usr/local/share/doc/cwiid/Xmodmap /usr/local/share/man/man1/wminput.1 /usr/local/share/man/man1/wmgui.1 /usr/local/bin/lswm /usr/local/bin/wminput /usr/local/bin/wmgui /usr/local/include/cwiid.h /usr/local/etc/cwiid/wminput/default /usr/local/etc/cwiid/wminput/nunchuk_acc_ptr /usr/local/etc/cwiid/wminput/neverball /usr/local/etc/cwiid/wminput/ir_ptr /usr/local/etc/cwiid/wminput/gamepad /usr/local/etc/cwiid/wminput/buttons /usr/local/etc/cwiid/wminput/acc_ptr
Note that the tar file uses absolute paths.
(Note: it is possible that this list contains superfluous pagckages).
This makes the module uinput.ko known
This will load the uinput module. This is needed for wminput. Optionally, you can edit the file /etc/modules using the command sudo nano /etc/modules. If you add a line with the single word uinput, you do not need to use modprobe uinput after a reboot.
To test whether things are working, perform the following steps (still logged in as superuser:
This starts up the bluetooth stack. It is probably possible to automate this step.
This command will reply Put Wiimotes in discoverable mode now (press 1+2)… after you have done that the program will respond with the address of the wii remote and exit. E.g. 00:1C:BE:F0:BF:0C
This will prompt you to put your wiimote in discoverable mode. It will automatically connect to the first wiimote found. If the connection fails, try the following:
(where XX:XX:XX:XX:XX:XX is the address of your wiimote, found using lswm). You will be prompted to put your wiimote in discoverable mode again. This mode allows you to use the wiimote without a sensor bar attached and will just use the accelerometer. To move the pointer left and right, tilt the wiimote from side to side. Up and down movements will move the pointer vertically. If you have a sensor bar or other infrared source (such as an infrared led, a candle or even a remote control with one of the buttons taped down), then you can use the following command to use the wiimote's infrared camera:
This means that the wiimote will work as it usually does on the Wii, eg. moving the wiimote horizontally and vertically. Generally tracking is not very good, unless you keep the wiimote pointing to your sensor bar (hint: on eBay you can get fairly cheap so-called wireless sensor bars. In fact, the sensor bar is nothing more than a few infra-red leds. There is no active communication between the sensor bar and the Wii.
Note that if wminput gives you the error message unable to open uinput then you haven't loaded the uinput module (the step modprobe uinput above).
wmgui will give you some graphical feedback on what is detected when you use your wii remote.
wminput also comes with some extra config files that can be used with your wiimote. They are located as follows:
You can open and edit these with nano in the terminal using sudo nano /usr/local/etc/cwiid/wminput/default etc. To use them in wminput, use the following command:
(where default is the name of the config file you wish to use). You can also create your own config files - information on this is available here.
That's it. Now enjoy using your wiimote with your eeePC (and if you find a very good application be sure to report it on forum.eeeuser.com).
This page was originally authored by eFfeM on wiki.eeeuser.com, eFfeM holds the copyright to this.
You are free to use or improve this page provided that: