2015-06-22, 17:38
I'm giving XBMC/Kodi a try again, bought an asus chromebox m004u and got Kodi running great. I'm not familiar with linux much at all. I'd like to get this PS3 remote to work with Kodi, is it my understanding that all I need to do is copy/paste everything below into SSH, reboot the machine, and the PS3 remote will be working in Kodi?
(2015-01-02, 12:38)draguls Wrote: Get and install bluez + patch
Code:sudo apt-get update
sudo apt-get install bluez libdbus-1-dev libglib2.0-dev python-dbus python-gobject
sudo service bluetooth stop
cd ~
wget https://dl.dropboxusercontent.com/u/89032099/XBMC/bluez_ps3remote_4.91.diff
wget http://www.kernel.org/pub/linux/bluetooth/bluez-4.94.tar.gz
tar xvfz bluez-4.94.tar.gz
cd bluez-4.94
patch -p1 < ../bluez_ps3remote_4.91.diff
./configure --prefix=/usr && make
sudo make install
sudo ln -s /etc/bluetooth/input.conf /usr/etc/bluetooth/input.conf
sudo ln -s /etc/bluetooth/audio.conf /usr/etc/bluetooth/audio.conf
sudo ln -s /etc/bluetooth/serial.conf /usr/etc/bluetooth/serial.conf
sudo reboot
Pair the PS3 Remote
Follow on screen instructions to pair remote.Code:cd ~
wget https://dl.dropboxusercontent.com/u/89032099/XBMC/ps3pair.tar.gz
tar xvfz ps3pair.tar.gz
cd ps3pair
sudo python ps3_pair.py
Hold the START and ENTER buttons on the PS3 remote.
To check remote is connected, run:
Code:/usr/share/doc/bluez/examples/list-devices
Download my keymap (here is a picture of the mapping):
Code:cd ~/.kodi/userdata/keymaps/
wget https://dl.dropboxusercontent.com/u/89032099/XBMC/keyboard.xml
cd /etc/bluetooth
sudo mv input.conf input.conf.bak
sudo wget https://dl.dropboxusercontent.com/u/89032099/XBMC/input.conf
sudo reboot
Most of this is copied from the wiki