This is my first post, but I read often the forum.
I have found a way to make the PS3 BD Remote to work with LIRC and any application that uses it, including of course XBMC :-)
I'll try to explain how I did it.
I use Ubuntu Jaunty, maybe it works with other Linux distros.
NOTE: The language I use on the desktop is Spanish, so maybe the translations to English I make are not so accurate, and sorry for my poor English
1.- Install blueman
For that, you must include the PPA for blueman
Include the following lines to /etc/apt/sources.list
deb http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main
After that execute:
sudo apt-get update
sudo apt-get install blueman
2.- Pair the PS3 BD Remote
Normally after installing blueman, will appear the bluetooth icon on the top bar of the gnome desktop, if not, you must execute the applet:
Once we have the blueman applet running, we click with the secondary mouse button on the bluetooth icon and select "Configure new device".
While the remote is in discovery mode (pressing enter + start for 5 secconds) we will see our remote on the device list, click on it and click "next", the wizard will offer 3 options "random key", "my own key", and "not pairing", we select "not pairing" and click next. On the next screen will see 2 options "input service" and "don't connect", we select "input service and click next.
Now we have the remote paired permanently with the PC, to check it, open "devices" right clicking on the bluetooth icon, and will see the "BD Remote Control" paired, on the right it will show the signal strength. On the devices list there is a button to trust on a device, we must trust on "BD Remote Control", it will show a little yellow star on the icon.
This has created a input device, to see it execute:
this will show the actual input devices on your system and will have something like this
I: Bus=0005 Vendor=054c Product=0306 Version=0000
N: Name="PS3 Remote Controller"
H: Handlers=kbd event6
B: KEY=80000000 0 700000 1083c100 8c00ea 0 6bc00000 1 0 8000 1102 c0000801 801680 0 0 10000ffe
We are looking for the info on the line
H: Handlers=kbd event6
3.- Configure LIRC
To configure LIRC we must edit /etc/lirc/hardware.conf and include the following lines:
The last line include the name of the input device that was created on the previous step, in my case "/dev/input/event6"
Then restart LIRC
sudo /etc/init.d/lirc restart
4.- Learn the remote codes of the PS3 BD Remote
You may record your own codes with the command:
sudo irrecord --device=/dev/input/event6 --driver=devinput PS3.rem
NOTE: The PS3 remote send one event when you press a key, and another event when you release it, so when irrecord needs a key pressed we must press many times different keys.
Or use the one I created
# Please make this file available to others
# by sending it to <firstname.lastname@example.org>
# this config file was automatically generated
# using lirc-0.8.4a(devinput) on Sun May 3 19:43:29 2009
# contributed by
# brand: PS3
# model no. of remote control:
# devices being controlled by this remote:
one 0 0
zero 0 0
5.- Test it
The last step is test it, so we execute irw and pressing keys on the remote will see something like this:
000000008001001c 00 enter ps3
0000000080010067 00 up ps3
6.- Configure XBMC (Lircmap.xml and Keymap.xml)
Actually I am on this step
I hope you find this guide useful.