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

  Thread Rating:
  • 6 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mocker Offline
Junior Member
Posts: 1
Joined: Nov 2011
Reputation: 0
Post: #621
gorgeth Wrote:For those that may have had a working 11.10 that stopped after an update recently it is due to the "unpatched" oneiric ubuntu sources leapfrogging kitlaan's ppa .. if you downgrade to his version (using synaptic/package menu force version) and then lock the version you should be back in business using customized input.conf as usual!

you may have to install synaptic manually if this was a clean install of 11.10 (sudo apt-get install synaptic or use the software center either way works)

Update: do NOT blindly allow updates from "apt-get update/upgrade" if you use this method.. as using for ex sudo apt-get update && apt-get upgrade will walk all over your "locked' versions from synaptic.. update-manager/synaptic/aptitude (terminal mode gui) all seem to support the synaptic package version force though...

Have you tried setting a priority on the repository? I'm not at home but something like this may work:

Code:
user@boobtube:/etc/apt/preferences.d$ pwd
/etc/apt/preferences.d
user@boobtube:/etc/apt/preferences.d$ cat bluez-pin-700
Package: *
Pin: release o=LP-PPA-kitlaan
Pin-Priority: 700
user@boobtube:/etc/apt/preferences.d$

After you setup the preference try running 'apt-cache policy bluez' to see which candidate is selected for installation.

Also on a different topic, a note for people following the instructions on Ubuntu 11.10, uinput is now compiled into the kernel, so the modprobe won't show anything.
find quote
Trooper87 Offline
Junior Member
Posts: 8
Joined: Nov 2009
Reputation: 0
Post: #622
mocker Wrote:Have you tried setting a priority on the repository? I'm not at home but something like this may work:
...
After you setup the preference try running 'apt-cache policy bluez' to see which candidate is selected for installation.

Also on a different topic, a note for people following the instructions on Ubuntu 11.10, uinput is now compiled into the kernel, so the modprobe won't show anything.

Managed to get the remote working on 11.10.
This is how I set the preferred repository:
Code:
cd /etc/apt
sudo nano preferences

Package: *
Pin: release o=LP-PPA-kitlaan
Pin-Priority: 700

The wake up time is a bit slow on this remote, takes 2-3 sec to wake up and input is registered. I might have a bad bluetooth adapter.
Is anyone experiencing a faster wake up time?
(This post was last modified: 2011-12-13 23:50 by Trooper87.)
find quote
Infinitatus Offline
Junior Member
Posts: 18
Joined: Nov 2011
Reputation: 0
Post: #623
Just paired my zacate pc with my ps3 remote. In blueman the device is present. I used bluezpatch from kitlaan. It pairs, but no button works in XBMC, I changed the input.conf like in the xbmc wiki, but no result. No even the default buttons
/usr/share/doc/bluez/examples/list-devices shows:

Name = Mypcname-0
Powered = 1
Devices = dev_00_24_33_98_EE_6B
DiscoverableTimeout = 0
PairableTimeout = 0
Discoverable = 1
Address = 00:26:83:2F:49:AD
Discovering = 0
Pairable = 1
Class = 4849920
UUIDs = 0x1000 0x1001 0x1112 0x111f 0x110a 0x110c 0x110e 0x1103
[ /org/bluez/1007/hci0/dev_00_24_33_98_EE_6B ]
Name = BD Remote Control
Paired = 0
Adapter = /org/bluez/1007/hci0
Alias = BD Remote Control
Connected = 0
UUIDs = 0x1124 0x1200
Address = 00:24:33:98:EE:6B
Services = dbus.Array([], signature=dbus.Signature('o'), variant_level=1)
Class = 0x00250c
Trusted = 1
Blocked = 0

cat /proc/bus/input/devices won't show the remote


I pairs, it is trusted, but it is not connected? Please help me. I cannot use bluesman because i used a minimal installation.
(This post was last modified: 2011-12-18 11:49 by Infinitatus.)
find quote
Infinitatus Offline
Junior Member
Posts: 18
Joined: Nov 2011
Reputation: 0
Post: #624
Infinitatus Wrote:Just paired my zacate pc with my ps3 remote. In blueman the device is present. I used bluezpatch from kitlaan. It pairs, but no button works in XBMC, I changed the input.conf like in the xbmc wiki, but no result. No even the default buttons
/usr/share/doc/bluez/examples/list-devices shows:

Name = Mypcname-0
Powered = 1
Devices = dev_00_24_33_98_EE_6B
DiscoverableTimeout = 0
PairableTimeout = 0
Discoverable = 1
Address = 00:26:83:2F:49:AD
Discovering = 0
Pairable = 1
Class = 4849920
UUIDs = 0x1000 0x1001 0x1112 0x111f 0x110a 0x110c 0x110e 0x1103
[ /org/bluez/1007/hci0/dev_00_24_33_98_EE_6B ]
Name = BD Remote Control
Paired = 0
Adapter = /org/bluez/1007/hci0
Alias = BD Remote Control
Connected = 0
UUIDs = 0x1124 0x1200
Address = 00:24:33:98:EE:6B
Services = dbus.Array([], signature=dbus.Signature('o'), variant_level=1)
Class = 0x00250c
Trusted = 1
Blocked = 0

cat /proc/bus/input/devices won't show the remote


I pairs, it is trusted, but it is not connected? Please help me. I cannot use bluesman because i used a minimal installation.

Several days have passed. I am still without remote. I can´t find the solution.
find quote
kobik Offline
Senior Member
Posts: 100
Joined: Jan 2009
Reputation: 4
Post: #625
@Infinitatus, have you tried this?

peeedeee Wrote:Not in the manual... but if finally (after 4 hours) got the remote working, after deleting the content of /var/lib/bluetooth/ and run the ps3_pair.py again.

Could some one add it to the manual, it solved more problems with blue-tooth for me in the past.

BTW, how can a set a button for print screen?
find quote
pumkinut Offline
Posting Freak
Posts: 874
Joined: May 2006
Reputation: 9
Post: #626
You'd need to set up a button for the screenshot command in input.conf.

For example if you wanted to use the Blue button for taking screenshot it would be as such:
Code:
0x80 = KEY_PRINTSCREEN   #BLUE

That's if you're setting up the remote to send keyboard presses, since the default screenshot key is "Print Screen".
find quote
Trooper87 Offline
Junior Member
Posts: 8
Joined: Nov 2009
Reputation: 0
Post: #627
I also had problems with getting the remote working, got the remote paired but the remote would not work.
Then I tried this guide and it worked(I skipped the uinput part because 11.10 has uinput built into the kernel):
http://forum.xbmc.org/showpost.php?p=921...tcount=614
find quote
Infinitatus Offline
Junior Member
Posts: 18
Joined: Nov 2011
Reputation: 0
Post: #628
kobik Wrote:@Infinitatus, have you tried this?



BTW, how can a set a button for print screen?

Didn´t work i deleted everything, but it says that ps3remote already exists.
@Trooper87 there is one problem with that guide: http://h00s.net/ps3bdremote.tar.gz -->403 forbidden. Unless you have that program, can you mail me that program?
find quote
kobik Offline
Senior Member
Posts: 100
Joined: Jan 2009
Reputation: 4
Post: #629
pumkinut Wrote:You'd need to set up a button for the screenshot command in input.conf.

For example if you wanted to use the Blue button for taking screenshot it would be as such:
Code:
0x80 = KEY_PRINTSCREEN   #BLUE

That's if you're setting up the remote to send keyboard presses, since the default screenshot key is "Print Screen".

Thanks man!
BTW, where to xbmc saves them Confused
(This post was last modified: 2011-12-20 21:39 by kobik.)
find quote
Infinitatus Offline
Junior Member
Posts: 18
Joined: Nov 2011
Reputation: 0
Post: #630
Infinitatus Wrote:Didn´t work i deleted everything, but it says that ps3remote already exists.
@Trooper87 there is one problem with that guide: http://h00s.net/ps3bdremote.tar.gz -->403 forbidden. Unless you have that program, can you mail me that program?

I was almost there, today i found it:

dbus-send --system --dest=org.bluez --print-reply \
/org/bluez/.../hci0/dev_XX_XX_XX_XX_XX_XX org.bluez.Input.Connect did the job. Rolleyes
find quote
Post Reply