PS3 BD Remote with XBMC LiveCD 10.1
#1
Can someone please help me get this remote working with XBMC. I have tried http://wiki.xbmc.org/index.php?title=HOW...stallation but it just doesnt work.


I cannot get it 2 work.. Please help me
Reply
#2
I have it configured so:

1. The first thing we will install all the required packages by typing in console:

# sudo aptitude install bluez-libs libbluetooth-dev bluez-utils lirc bluez-compat bluez-hcidump

2. Please enter + start down before running

# hcitool scan
Scanning ...
00:19:C1:2D:02:40 BD Remote Control

3. We note the identification number of the control and matched:
# sudo hidd --connect 00:19:C1:2D:02:40

4. To see that everything went well (apart from that did not come out error messages), we can use the following command to see the bluetooth traffic while clicking buttons on the remote:

# sudo hcidump -X

** With the command irw can see the code buttons
Quote:xbmc@htpc:~/.xbmc/userdata/keymaps$ irw
0057 00 left SonyBDRemote
0055 00 right SonyBDRemote
0054 00 up SonyBDRemote
0056 00 down SonyBDRemote

5. If all went well now bdremote-ng install the following instructions:

# wget http://bdremote-ng.googlecode.com/files/....5.tar.bz2 && tar xjvf bdremote-ng-0.5.tar.bz2 && cd bdremote-ng-0.5/build && ./gen.sh && cd linux && make && sudo cp bdremoteng /usr/local/bin

6. Once all this we modify our /etc/rc.local from terminal typing sudo vi /etc/rc.local add the following:

Code:
/etc/init.d/bluetooth stop
sleep 1
/usr/local/bin/bdremoteng -a 00:19:C1:2D:02:40 -p 8888 -t 20 &
sleep 1
/usr/sbin/lircd -H null --connect 127.0.0.1:8888
sleep 1
/etc/init.d/bluetooth start

7. Then add the necessary files for configuring the remote control in XBMC, you type from the console:

# wget http://pastebin.com/C0fBPCg8 -O ~/.xbmc/userdata/Lircmap.xml
# wget http://pastebin.com/mkL7EegN -O ~/.xbmc/userdata/keymaps/Keymap.xml

If you have a problem question, sorry for my English is not very good Wink Luck!
[Rpi3b+ (Archlinux+kodi) & Xbox One S + Kodi]
Reply
#3
how do you get the remote to turn off. My batteries keep dying
Reply
#4
Code:
xbmc@htpc:/etc$ bdremoteng
bdremoteng - Sony BD Remote helper daemon version 0.5

Usage:
        bdremoteng [options]

Options:
        -p <port>            Set port number for incoming LIRCD connections.
        -t <timeout>         Set disconnect timeout for BD remote (in seconds).

The only thing I can think of, change the value of -t. (step 6) To be disconnected before the BD.

I took more than two years with the same batteries and no problem.
[Rpi3b+ (Archlinux+kodi) & Xbox One S + Kodi]
Reply
#5
Hello Thanks for your guide, was very comprehensive. I followed all the steps as described but xbmc does not work. In particular, this happens to me in the fourth step:
xbmc@live:~$ ~/.xbmc/userdata/keymaps$ irw
-bash: /home/xbmc/.xbmc/userdata/keymaps$: No such file or directory
The system is the new XBMCbuntu 11
Reply
#6
I can pair the remote just fine and the various blueman/bluez apps talk to it, but I can't get it to act like a "keyboard" in xbmc. Xorg doesn't even acknowledge it's existence. Is there no way to make it just work in xbmclive/xbmcbuntu or do you have to run some other application?
Reply
#7
(2012-04-01, 14:34)lucchi90 Wrote: Hello Thanks for your guide, was very comprehensive. I followed all the steps as described but xbmc does not work. In particular, this happens to me in the fourth step:
xbmc@live:~$ ~/.xbmc/userdata/keymaps$ irw
-bash: /home/xbmc/.xbmc/userdata/keymaps$: No such file or directory
The system is the new XBMCbuntu 11

Have you installed lirc? Check if /etc/lirc/lirc.conf, if not there

sudo wget http://pastebin.com/f0D91k2R -O /etc/lirc/lirc.conf

lothos Wrote:I can pair the remote just fine and the various blueman/bluez apps talk to it, but I can't get it to act like a "keyboard" in xbmc. Xorg doesn't even acknowledge it's existence. Is there no way to make it just work in xbmclive/xbmcbuntu or do you have to run some other application?

Depending on the version of xbmc grabs the config files of either site

wget http://pastebin.com/C0fBPCg8 -O ~/.xbmc/userdata/keymaps/Lircmap.xml

[Rpi3b+ (Archlinux+kodi) & Xbox One S + Kodi]
Reply
#8
Here are commands I use (from a wiki, so thanks to whoever wrote it!)

Quote:sudo add-apt-repository ppa:kitlaan/ppa
sudo apt-get update

sudo apt-get install python-software-properties pkg-config python-dbus bluez curl

cd ~
wget http://kitlaan.twinaxis.com/holdingcell/ps3pair.tar.gz
tar xvfz ps3pair.tar.gz
cd ~/ps3pair
sudo python ps3_pair.py

*at this point you need to hold START+SELECT on the remote. Also, write down your MAC ID from the remote (looks like this - XX:XX:XX:XX where the X are replaced by letters/numbers.

Quote:sudo rm /etc/bluetooth/input.conf

sudo wget http://pastebin.com/download.php?i=PFNCDtXw -O /etc/bluetooth/input.conf

sudo nano /etc/bluetooth/input.conf

*now edit the line with my MAC ID. Replace my MAC with yours.

Quote:sudo nano /etc/modules

*add a line at the bottom of this file "uinput" (without the quotes)

finally, run

Quote:sudo modprobe uinput

works for me!
Reply

Logout Mark Read Team Forum Stats Members Help
PS3 BD Remote with XBMC LiveCD 10.10