Kodi Community Forum
[LINUX] Sony PlayStation 3 Blu-ray Disc Remote (PS3 BD) + LIRC + XBMC = SUCCESS - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Sony PlayStation 3 Blu-ray Disc Remote (PS3 BD) + LIRC + XBMC = SUCCESS (/showthread.php?tid=50717)



- kitlaan - 2009-11-18

nanny07 Wrote:On the other hand i had post the output of blueetoothd command in this post
I never tell you that i use live alpha2
The bad news is that i can't work on the pc untill friday Sad

Sorry, didn't see that post. The bluetoothd output looks good... I guess the last thing to check is the contents of the following (with stuff that looks like):

"/var/lib/bluetooth/<ADDR>/did"
Code:
00:11:22:33:44:55 [b]0002 054C 0306 0100[/b]

"/var/lib/bluetooth/<ADDR>/profiles"
Code:
00:11:22:33:44:55 [b]00001124-0000-1000-8000-00805f9b34fb 00001200-0000-1000-8000-00805f9b34fb[/b]

The first gives me the product/vendor/version codes of your remote, and the latter gives me the bluetooth profile uuids that the device supports. bluez relies on both sets of information to "register" the remote into the stack.


- nanny07 - 2009-11-18

well as I said before, I'll check it friday afternoon Smile


Almost Success - kermitfan22 - 2009-11-19

So like some others of you I had the remote connected but not showing up properly with the cat devices command. I fiddled around quite a bit, including following all the steps in post 6 of this thread.

My remote now works! I'm thrilled! That's the good news. The bad news is, I'm totally at a loss on how to patch and compile bluez myself to get the "other" buttons to work and to slow battery loss. I'd download the .deb that is running around, but mythbuntu 8.10 doesn't recognize that as a dependency for blueman, and I am a bit crippled without blueman. I tried patching, which I think worked, but compiling failed, and the errors are total jibberish to me, I'm afraid.

Does anyone have a PPA or a .deb that satisfies the dependencies so I can still have blueman running for Ubuntu 8.10? Or, if someone has the patience to help me figure out the errors I get when I make && make install, I'll be HAPPY to take the time to learn how to make a .deb for it.

Thanks in advance!


- neil.j1983 - 2009-11-19

i've just got this installed and working fine in xbmc.

what i would like to be able to do is launch xbmc by pressing the eject button.

is this possible? and if so, what do i edit to get it to happen?


- flxfxp - 2009-11-19

Edit the source, or the config if using kitlaans deb. Make it execute xbmc.


- neil.j1983 - 2009-11-19

flxfxp Wrote:Edit the source, or the config if using kitlaans deb. Make it execute xbmc.

I'm not sure how? I am happy with "KEY_*" but I'm VERY lost as to how to launch xbmc with a similar.

i've only really used windows, and ubuntu/other live cds as small experiments over the years.

this is my first proper installation.


- nanny07 - 2009-11-19

kitlaan Wrote:Sorry, didn't see that post. The bluetoothd output looks good... I guess the last thing to check is the contents of the following (with stuff that looks like):

"/var/lib/bluetooth/<ADDR>/did"
Code:
00:11:22:33:44:55 [b]0002 054C 0306 0100[/b]

"/var/lib/bluetooth/<ADDR>/profiles"
Code:
00:11:22:33:44:55 [b]00001124-0000-1000-8000-00805f9b34fb 00001200-0000-1000-8000-00805f9b34fb[/b]

The first gives me the product/vendor/version codes of your remote, and the latter gives me the bluetooth profile uuids that the device supports. bluez relies on both sets of information to "register" the remote into the stack.


So here we go

Code:
xbmc@XBMCLive:~$ sudo cat /var/lib/bluetooth/00\:02\:72\:A3\:75\:D8/did
00:21:4F:B2:D1:4F 0002 054C 0306 0100
xbmc@XBMCLive:~$ sudo cat /var/lib/bluetooth/00\:02\:72\:A3\:75\:D8/profiles
00:21:4F:B2:D1:4F 00001124-0000-1000-8000-00805f9b34fb 00001200-0000-1000-8000-00805f9b34fb

is it the same? Big Grin


I can connect, but remote doesn't show up as a kbd event. - bqproductions - 2009-11-19

I can connect, and when I press buttons and watching hcidump stuff happens.

However when I look at the /proc/bus/input/devices it says "Sony Entertainment PS3 Controller" or something of the like and it says

H: Handlers=event4 note, no mention of kbd.

I am running ubuntu 8.04 and have downloaded/compiled/install bluez 4.58


- nanny07 - 2009-11-19

this damn remote...

for me the is that it's not succesfully paired and then is not connected.
If i try to do:
Code:
xbmc@XBMCLive:~$ sudo hcitool info 00:21:4F:B2:D1:4F
Requesting information ...
Can't create connection: Input/output error
Only when i try to push enter+start, it show me the real output:
Code:
xbmc@XBMCLive:~$ sudo hcitool info 00:21:4F:B2:D1:4F
Requesting information ...
        BD Address:  00:21:4F:B2:D1:4F
        Device Name: BD Remote Control
        LMP Version: 2.0 (0x3) LMP Subversion: 0x229
        Manufacturer: Broadcom Corporation (15)
        Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00
                <encryption> <slot offset> <timing accuracy> <role switch>
                <sniff mode> <RSSI> <power control> <enhanced iscan>
                <interlaced iscan> <interlaced pscan> <AFH cap. slave>



- kitlaan - 2009-11-20

nanny07 Wrote:So here we go

Code:
xbmc@XBMCLive:~$ sudo cat /var/lib/bluetooth/00\:02\:72\:A3\:75\:D8/did
00:21:4F:B2:D1:4F 0002 054C 0306 0100
xbmc@XBMCLive:~$ sudo cat /var/lib/bluetooth/00\:02\:72\:A3\:75\:D8/profiles
00:21:4F:B2:D1:4F 00001124-0000-1000-8000-00805f9b34fb 00001200-0000-1000-8000-00805f9b34fb

is it the same? Big Grin

That looks like the right data. That looks like all the right information that it's keying off of. It should be registering the remote. As far as I can tell, hitting buttons on the remote should be working. Hmm...


- bqproductions - 2009-11-20

bqproductions Wrote:I can connect, and when I press buttons and watching hcidump stuff happens.

However when I look at the /proc/bus/input/devices it says "Sony Entertainment PS3 Controller" or something of the like and it says

H: Handlers=event4 note, no mention of kbd.

I am running ubuntu 8.04 and have downloaded/compiled/install bluez 4.58

Here is some more info

Code:
00:21:4F:AB:05:9A 054C:0306:0100 0C 21 0111 05010905A1018501150026FF007508950B0600FF090181008501950B0901B1008502950B0901B1008503950B0901B1008504950B0901B1008505950B0901B1008506950B0901B100C000 00000000 Sony Computer Entertainment Inc BD Remote Control
r

Code:
I: Bus=0005 Vendor=054c Product=0306 Version=0100
N: Name="Sony Computer Entertainment Inc BD Remote Control"
P: Phys=00:15:83:07:D5:B7
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb1/1-4/1-4:1.0/bluetooth/hci0/hci0:42/input8
U: Uniq=00:21:4F:AB:05:9A
H: Handlers=event4
B: EV=1


Code:
Requesting information ...
        BD Address:  00:21:4F:AB:05:9A
        Device Name: BD Remote Control
        LMP Version: 2.0 (0x3) LMP Subversion: 0x229
        Manufacturer: Broadcom Corporation (15)
        Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00
                <encryption> <slot offset> <timing accuracy> <role switch>
                <sniff mode> <RSSI> <power control> <enhanced iscan>
                <interlaced iscan> <interlaced pscan> <AFH cap. slave>
roo

Anyone please have any ideas.


- economy12 - 2009-11-20

I have found a way to make the PS3 BD Remote to work with LIRC

Nouveau taux a pret 0 conditions 2010 | Le eco pret a taux 0 credit zero travaux | Nouveau pret a taux 0


- nanny07 - 2009-11-20

kitlaan Wrote:That looks like the right data. That looks like all the right information that it's keying off of. It should be registering the remote. As far as I can tell, hitting buttons on the remote should be working. Hmm...
i really don't know if i am wrong or if i miss something :\


- nanny07 - 2009-11-20

i found something strange...

when i extract the ps3_pair.tar it return me an error
Code:
ps3_pair.py
tar: Child returned status 2
tar: Exiting with failure status due to previous errors

is it strange? Maybe the file is corrupted.
I try also with another dongle but no input where catch by the the bluetoothd Sad


EDIT: if it is usefull, here the "hciconfig -a" of both my dongle


- nanny07 - 2009-11-20

ok.. finally. SUCCESS!

I think the problem it's, without a dubt, the pair script.
I put my dongle on windows, pair with the remote and then plugged in xbmc and everything works Smile

Now I must change the button...

How can i know wich button is pressed and how to change the fuction (in xbmc) of the pressed button?
I think that i must change the input.conf file, but there is a sort of guido to know the KEY_*(i think is the equivalent xbmc input) button?