I figured out my problem. Apparently I had to set the bluetooth dongle link-mode to 'MASTER'. Did it like this: hciconfig hdi0 lm ACCEPT,MASTER.
I followed most of the how-to, but just for the record this is my version (on a clean XBMC Live 9.11 install) (mostly post it here for my own records):
First install the required packages (LIRC is already installed on XBMC Live):
Code:
apt-get install bluez bluez-utils build-essential cmake libbluetooth-dev
Then pair your XBMC with the ps3_pair.py script:
Code:
wget http://kitlaan.twinaxis.com/holdingcell/ps3pair.tar.gz
tar xvzf ps3pair.tar.gz
python ps3_pair.py
Press a few buttons on the remote to make it connect. Check the following script to see if 'connected' is 1.
Code:
/usr/share/doc/bluez/examples/list-devices
If not, try to set the link-mode to MASTER by running the following
Code:
hciconfig hdi0 lm ACCEPT,MASTER
It will go back to SLAVE after rebooting, but apparently that doesn't matter after the connection has worked once.
Now get bdremoteng.
Download the latest bdremoteng from
http://code.google.com/p/bdremote-ng/downloads/list.
Extract the contents to /usr/src/
Code:
tar xvjf bdremote-ng-0.5.tar.bz2
cd /usr/src/bdremote-ng-0.5/build
sudo ./gen.sh
cd linux/
sudo make
cp bdremoteng /usr/local/bin/
After that I created my own /etc/rc.local since I had some issues with removing bluetooth and lirc from starting at boot (even after disabling with update-rc.d). Needed a quick fix, so here is my rc.local:
Code:
killall bluetoothd
killall lircd
sleep 1
/usr/local/bin/bdremoteng -p 8888 -a 00:23:06:ED:5B:D4 -t 20 -d -f /var/log/bdremote.log
sleep 1
/usr/sbin/bluetoothd
sleep 1
mkdir /var/run/lirc
/usr/sbin/lircd -H null --connect 127.0.0.1:8888
ln -s /var/run/lirc/lircd /dev/lircd
exit 0
Now copy the two code parts from this post:
http://forum.xbmc.org/showpost.php?p=345756&postcount=2
First code part to ~/.xbmc/userdata/Lircmap.xml
Seconde code part to ~/.xbmc/userdata/remote.xml and ~/.xbmc/userdata/keymaps/remote.xml (it might work with the remote.xml only on one place, but didn't test).
Reboot and it should work.