luggio Wrote:any help?
Here is how I setup my machine.
1) Make the WiiRemote event client. This is the one that uses WiiUse.
Code:
$ cd tools/EventClients/Clients/WiiRemote/
$ make
Some errors will pop out, but there should be a
WiiUse_WiiRemote executable created.
2) Create a script to run the WiiUse_WiiRemote file.
Code:
$ sudo touch /usr/local/bin/xbmc-wiiremote
sudo chmod +x /usr/local/bin/xbmc-wiiremote
sudo nano /usr/local/bin/xbmc-wiiremote
Change the path below to point to the actual location of the WiiUse_WiiRemote file:
PHP Code:
#!/bin/bash
cd /home/path/to/XBMC/tools/EventClients/Clients/WiiRemote
./WiiUse_WiiRemote
3) Configure the Window Manager to automatically run
xbmc-wiiremote when a specific user logs in. I have a specific xbmc user and I'm using Mythbuntu which uses XFCE which has a GUI for doing this.
4) Configure the Window Manager to automatically run
xbmc when the xbmc user logs in.
5) Configure the Window Manager to automatically login the xbmc user.
6) After turning on the machine, the xbmc user is logged in, which then starts xbmc and also xbmc-wiiremote.
7) Make sure XBMC is configured to "Allow programs on this system to control XBMC"
8) Press buttons 1+2 on the WiiRemote, this should connect the WiiRemote to the WiiUse_WiiRemote process (the remote should rumble and the first LED should stay lit). The WiiUse_WiiRemote process should then connect to XBMC and XBMC should popup a dialog saying "WiiRemote Connected".
From there it should be plain sailing.