Archive:Set up PS3 BD Remote

From Official Kodi Wiki
Revision as of 16:40, 7 December 2009 by >Freezy (New page: This HOW-TO explains how to setup the remote control for the Sony PlayStation 3 to use with XBMC for Linux. You'll need a Bluetooth dongle and of course the remote control. All these infor...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This HOW-TO explains how to setup the remote control for the Sony PlayStation 3 to use with XBMC for Linux. You'll need a Bluetooth dongle and of course the remote control. All these information can be found here at the forum.

Installation

BlueZ

sudo apt-get purge bluez
cd /usr/local/src
wget http://kitlaan.twinaxis.com/holdingcell/bluez_ps3remote.diff
wget http://www.kernel.org/pub/linux/bluetooth/bluez-4.58.tar.gz
tar xvfz bluez-4.58.tar.gz
cd bluez-4.58
patch -p0 < ../bluez_ps3remote.diff
./configure
make
sudo checkinstall --fstrans=no --install=yes --pkgname=bluez --pkgversion "4.58-patched"

Kernel module

Check if the uinput module is running:

lsmod | grep uinput

If that's not the case:

sudo modprobe uinput
echo uinput >> etc/modules

Pairing

cd /usr/local/src
wget http://flx.me/script/ps3_pair.tar.gz
gunzip ps3_pair.tar.gz
tar xvf ps3_pair.tar ps3_pair.py
mv ps3_pair.py ~/
sudo python ~/ps3_pair.py

Now press START+Play on your PS3 remote for at least 7 seconds, then it should detect the remote. Then run

/usr/share/doc/bluez/examples/list-devices

to verify that the remote is paired (and connected). Also, running

cat /proc/bus/input/devices | grep emot" 

should show the remote.

Then customize the file "/etc/bluetooth/input.conf" for button mappings and timeout values. At this point, the remote should connect (and auto-disconnect after a timeout, if configured). The d-pad is probably the best way to test it within xbmc. If you have a terminal active, pressing the number buttons should type the number.