Kodi Community Forum

Full Version: [LINUX] Sony PlayStation 3 Blu-ray Disc Remote (PS3 BD) + LIRC + XBMC = SUCCESS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Having major problems trying to my ps3 bluetooth remote to pair with XBMC ubuntu.

I followed the steps on http://wiki.xbmc.org/index.php?title=HOW..._BD_Remote and it took me back to here.

I followed all this and changed jaunty to lucid because I am using the latest release of XBMC for ubuntu (Dharma)

sudo apt-get purge bluez
sudo echo deb http://ppa.launchpad.net/kitlaan/ppa/ubuntu jaunty main >> /etc/apt/sources.list
sudo echo deb-src http://ppa.launchpad.net/kitlaan/ppa/ubuntu jaunty main >> /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6F7177CC
sudo apt-get update
sudo apt-get install bluez


That worked fine and so did putting in "lsmod | grep uinput"

But when I get up to this step:

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


I get
sudo python ps3_pair.py
ERROR:dbus.proxies:Introspect error on org.bluez:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
Traceback (most recent call last):
File "ps3_pair.py", line 93, in <module>
Main()
File "ps3_pair.py", line 20, in __init__
self.adapter = self.manager.GetAdapter()
File "/home/vivi/ps3pair/bluez/utils.py", line 28, in warp
raise errors.parse_dbus_error(exception)
bluez.errors.DBusServiceUnknownError: The name org.bluez was not provided by any .service files


I went back through the previous posts where somebody else had the similar error but it seems like I do have bluez installed:

aptitude show bluez
Package: bluez
State: installed
Automatically installed: no
Version: 4.91-0ubuntu1+kitlaan1~lucid1
Priority: optional
Section: admin
Maintainer: Ubuntu Developers <[email protected]>
Uncompressed Size: 1,626k
Depends: libbluetooth3 (>= 4.91), libc6 (>= 2.7), libcap-ng0, libdbus-1-3 (>=
1.1.1), libglib2.0-0 (>= 2.23.5), libusb-0.1-4 (>= 2:0.1.12),
module-init-tools, udev | makedev, lsb-base, dbus, python-gobject,
python-dbus
Conflicts: bluez-audio (<= 3.36-3), bluez-utils (<= 3.36-3)
Replaces: bluez-audio (<= 3.36-3), bluez-input, bluez-network, bluez-serial,
bluez-utils (<= 3.36-3)
Description: Bluetooth tools and daemons
This package contains tools and system daemons for using Bluetooth devices.

BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
project distributed under GNU General Public License (GPL).
I fixed it. (in the most stupid way possible. I pulled the dongle out and plugged it back in even though it was working when I was in windows)

Next step I get (I think because I did it twice):

sudo python ps3_pair.py
Please HOLD the START and ENTER buttons on the PS3 remote.
Searching for devices, please wait...
Found:
1: 00:24:33:98:CE:29 [BD Remote Control]
Select the device you wish to add [1]: 1
Registering device... Failed ( Already Exists )


But cat /proc/bus/input/devices | grep emot returns nothing.


This is what is in list-devices:

/usr/share/doc/bluez/examples/list-devices
[ /org/bluez/1703/hci0 ]
Name = 192-168-1-80-0
Powered = 1
Devices = dev_00_22_58_D0_F8_D3 dev_00_24_33_98_CE_29
DiscoverableTimeout = 0
PairableTimeout = 0
Discoverable = 0
Address = 00:1F:81:00:08:30
Discovering = 0
Pairable = 1
Class = 4849920
UUIDs = 0x1000 0x1001 0x1112 0x111f 0x110a 0x110c 0x110e 0x1103
[ /org/bluez/1703/hci0/dev_00_22_58_D0_F8_D3 ]
Name = T00199
Paired = 0
Adapter = /org/bluez/1703/hci0
Alias = T00199
Connected = 0
UUIDs = 0x1101 0x1105 0x1106 0x110a 0x110c 0x1112 0x111b 0x111f
Address = 00:22:58Big Grin0:F8Big Grin3
Services = dbus.Array([], signature=dbus.Signature('o'), variant_level=1)
Blocked = 0
Class = 0x18010c
Trusted = 1
Icon = computer
[ /org/bluez/1703/hci0/dev_00_24_33_98_CE_29 ]
Name = BD Remote Control
Paired = 0
Adapter = /org/bluez/1703/hci0
Alias = BD Remote Control
Connected = 0
UUIDs = 0x1124 0x1200
Address = 00:24:33:98:CE:29
Services = dbus.Array([], signature=dbus.Signature('o'), variant_level=1)
Class = 0x00250c
Trusted = 1
Blocked = 0



How do I get rid of device T00199 and how come nothing shows up in "cat /proc/bus/input/devices | grep emot"
I unpaired the ps3 remote and tried re-pairing it because the stuff inside list-devices didn't look right.

This is what I get:

sudo python ps3_pair.py
Please HOLD the START and ENTER buttons on the PS3 remote.
Searching for devices, please wait...
Found:
1: 00:24:33:98:CE:29 [BD Remote Control]
Select the device you wish to add [1]: 1
Registering device... Failed ( org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. )



I'm so stumped. :/
Have you tried this http://code.google.com/p/bdremote-ng/? It took some time to configure but it works fine. I'm using Lucid.
I haven't but I want to stay with this method for now because I think I am close. Laugh

I unpaired the ps3 remote and re-paired it this time. I got:

sudo python ps3_pair.py
Please HOLD the START and ENTER buttons on the PS3 remote.
Searching for devices, please wait...
Found:
1: 00:24:33:98:CE:29 [BD Remote Control]
Select the device you wish to add [1]: 1
Registering device... Done


Which looks fine except in list-devices it looks like it is still unpaired:

/usr/share/doc/bluez/examples/list-devices
[ /org/bluez/1135/hci0 ]
Name = 192-168-1-80-0
Powered = 1
Devices = dev_00_22_58_D0_F8_D3 dev_00_24_33_98_CE_29
DiscoverableTimeout = 0
PairableTimeout = 0
Discoverable = 0
Address = 00:1F:81:00:08:30
Discovering = 0
Pairable = 1
Class = 0
UUIDs = 0x1000 0x1001 0x1112 0x111f 0x110a 0x110c 0x110e 0x1103
[ /org/bluez/1135/hci0/dev_00_22_58_D0_F8_D3 ]
Name = T00199
Paired = 0
Adapter = /org/bluez/1135/hci0
Alias = T00199
Connected = 0
UUIDs = 0x1101 0x1105 0x1106 0x110a 0x110c 0x1112 0x111b 0x111f
Address = 00:22:58Big Grin0:F8Big Grin3
Services = dbus.Array([], signature=dbus.Signature('o'), variant_level=1)
Blocked = 0
Class = 0x18010c
Trusted = 1
Icon = computer
[ /org/bluez/1135/hci0/dev_00_24_33_98_CE_29 ]
Name = BD Remote Control
Paired = 0
Adapter = /org/bluez/1135/hci0
Alias = BD Remote Control
Connected = 0
UUIDs = 0x1124 0x1200
Address = 00:24:33:98:CE:29
Services = dbus.Array([], signature=dbus.Signature('o'), variant_level=1)
Class = 0x00250c
Trusted = 1
Blocked = 0



ps3 remote doesn't come up in cat /proc/bus/input/devices either
All working now. What did I do? I went through the entire steps 1000 times, uninstalling and reinstalling, pairing, unpairing etc until finally it came up in cat /proc/bus/input/devices


One thing I found is when the ps3_pair.py is working, it takes a longggg time. If it comes up successful in a short amount of time it hasn't worked. Laugh
It should work but it doesnt
Code:
(T: XBMCLive)root@XBMCLive:/home/temp/ps3pair# ./ps3_pair.py
Please HOLD the START and ENTER buttons on the PS3 remote.
Searching for devices, please wait...
Found:
1: 00:24:33:98:D2:E3 [BD Remote Control]
Select the device you wish to add [1]:
Registering device...  Done
(T: XBMCLive)root@XBMCLive:/home/temp/ps3pair# /usr/share/doc/bluez/examples/list-devices
[ /org/bluez/1315/hci0 ]
    Name = XBMCLive-0
    Powered = 1
    Devices = dev_00_24_33_98_D2_E3
    DiscoverableTimeout = 0
    PairableTimeout = 0
    Discoverable = 0
    Address = 00:15:83:41:24:CC
    Discovering = 0
    Pairable = 1
    Class = 4849920
    UUIDs = 0x1000 0x1001 0x1112 0x111f 0x110a 0x110c 0x110e 0x1103
    [ /org/bluez/1315/hci0/dev_00_24_33_98_D2_E3 ]
        Name = BD Remote Control
        Paired = 0
        Adapter = /org/bluez/1315/hci0
        Alias = BD Remote Control
        Connected = 0
        UUIDs = 0x1124 0x1200
        Address = 00:24:33:98:D2:E3
        Services = dbus.Array([], signature=dbus.Signature('o'), variant_level=1)
        Class = 0x00250c
        Trusted = 1
        Blocked = 0
Any help?
Hello xbmc'ers,

after the past four days of trying to get the PS3 remote to work I have had no success. I am a novice when it comes to xbmc and linux so it is very likely user error; I am hoping however that someone more knowledgeable than I will assist.

I have the following hardware:

ZBOXHD-ND22-U
4GB RAM
16GB SSD
Asus bluetooth dongle

I have XBMC Live 10.1 installed.

I spent a couple minutes searching these forums and the wiki to get my HDMI Audio working and that was relatively painless.

I have since spent many hours trying to get my PS3 BD remote working with no luck.

I originally used the directions from the wiki with no success. I re-installed xbmc several times and tried various methods I found here and there across the interwebs. My latest endeavour originated from an older post found here.

Everything seems to install fine and work well. I can get the remote to pair. But it just doesn't work. I can't interact with xbmc at all.

If anyone can offer a solution or advice for me to try I would really appreciate the help.

Thanks!

Cheers,

Jesse
I get the same Jesse, can anyone help us please?

P.S does the following look right for the paired info?


[ /org/bluez/1934/hci0 ]
Name = Accel-OB2
Powered = 1
Devices = dev_00_21_4F_AC_71_D5
DiscoverableTimeout = 0
PairableTimeout = 0
Discoverable = 0
Address = 00:1F:81:00:01:1C
Discovering = 0
Pairable = 1
Class = 4849920
UUIDs = 0x1000 0x1001 0x1112 0x111f 0x110a 0x110c 0x110e 0x1103
[ /org/bluez/1934/hci0/dev_00_21_4F_AC_71_D5 ]
Name = BD Remote Control
Paired = 0
Adapter = /org/bluez/1934/hci0
Alias = BD Remote Control
Connected = 0
UUIDs = 0x1124 0x1200
Address = 00:21:4F:AC:71Big Grin5
Services = dbus.Array([], signature=dbus.Signature('o'), variant_level=1)
Class = 0x00250c
Trusted = 1
Blocked = 0
cable_guy Wrote:I get the same Jesse, can anyone help us please?

My walkthrough is here and is how I have got things working on 3 separate machines now

http://www.harley-jones.co.uk/?p=41

Martin
MartinHJ Wrote:My walkthrough is here and is how I have got things working on 3 separate machines now

http://www.harley-jones.co.uk/?p=41

Martin

Hi mate, been reading your guide which has helped me through a few bits already! Although you are using Blueman and I'm using bluez, and also you seem to refer to a graphical interface? (System > Bluetooth), I don't have that I only have CLI
cable_guy Wrote:Hi mate, been reading your guide which has helped me through a few bits already! Although you are using Blueman and I'm using bluez, and also you seem to refer to a graphical interface? (System > Bluetooth), I don't have that I only have CLI

Install blueman with sudo apt-get install blueman then use the GUI

Martin
where do you run the GUI from? I have no X as I'm using xbmc live?
cable_guy Wrote:where do you run the GUI from? I have no X as I'm using xbmc live?

Sorry, I have never run XBMC live at all so am not a lot of help on that front I am afraid!

Martin
Has anyone had luck with XBMC Live 10.1 Dharma?

I have had some luck with getting it to work, but when I reboot it won't work anymore. Also I have to repeat several steps to get working again.Huh