PDA

View Full Version : Help getting Wii Remote working with XBMC Live USB


pumkinut
2008-10-18, 06:21
I've got XBMC Live up and running on a Dell Latitude 620D with everything going well. I wanted to try and get my Wii Remote working with it, as I read that this should work out of the box. I tried pairing the Wii remote with the laptop by pressing the 1 and 2 buttons simultaneously, but it never seemed to connect.

It seems that the bluetooth driver is loaded and that the dongle is recognized:


(T: XBMCLiveCD)xbmc@XBMCLive:~$ ps -ef | grep bluetooth
root 9494 9486 0 03:30 ? 00:00:00 /usr/lib/bluetooth/bluetoothd-service-input


(T: XBMCLiveCD)xbmc@XBMCLive:~$lsusb | grep Bluetooth
Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

(T: XBMCLiveCD)xbmc@XBMCLive:~$ lsmod | grep bluetooth
bluetooth 61156 7 rfcomm,l2cap,hci_usb


I've tried finding documentation or a howto, but my google-fu has failed. Can anyone point me in the right direction?

Thanks.

topfs2
2008-10-18, 13:42
I've got XBMC Live up and running on a Dell Latitude 620D with everything going well. I wanted to try and get my Wii Remote working with it, as I read that this should work out of the box. I tried pairing the Wii remote with the laptop by pressing the 1 and 2 buttons simultaneously, but it never seemed to connect.

It seems that the bluetooth driver is loaded and that the dongle is recognized:


(T: XBMCLiveCD)xbmc@XBMCLive:~$ ps -ef | grep bluetooth
root 9494 9486 0 03:30 ? 00:00:00 /usr/lib/bluetooth/bluetoothd-service-input

(T: XBMCLiveCD)xbmc@XBMCLive:~$lsusb | grep Bluetooth
Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

(T: XBMCLiveCD)xbmc@XBMCLive:~$ lsmod | grep bluetooth
bluetooth 61156 7 rfcomm,l2cap,hci_usb


I've tried finding documentation or a howto, but my google-fu has failed. Can anyone point me in the right direction?

Thanks.

Doesnt work out of the box, never has :)

ctrl+alt+f1
sudo apt-get install xbmc-eventclients-wiiremote
xbmc-wiiremote
ctrl+alt+f7
Now you can try if its working, if it is you should be able to do this:
ctrl+alt+f2
sudo nano /etc/rc.local
add


xbmc-wiiremote &

att the end

pumkinut
2008-10-18, 17:00
Thanks! Got it working.

xbmc-eventclients-wiiremote was already installed by default. I guess that's why I assumed it worked out without doing anything else. I needed the xbmc-wiiremote command to initialize everything. So, it kinda works out of the box.

Is this documented anywhere? If not, I think it needs to be since it's part of the default build. If nobody else wants to I can add it, just tell me where.

timecmdr
2009-01-27, 22:14
How do you get xbmc-wiiremote to autorun.

I tried adding it to rc.local but that only seems to start when the box is shutting down.

I'm using the HDD installed Live ver of XBMC

pumkinut
2009-01-28, 07:54
First off, did you chmod +x /etc/rc.local? If so, did you end it with an exit 0 command?

Here's what I have as my /etc/rc.local file:

#!/bin/sh
xbmc-wiiremote &
exit 0


With that it just works for me. I did have to perform an

sudo apt-get install bluez-utils

in order to get bluetooth working correctly as well.