[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
himao Offline
Junior Member
Posts: 3
Joined: Jan 2012
Reputation: 0
Post: #671
I bought a new one of PS3BD remote recently and setup it with the latest bluez with a patch for ps3bd. It has been working to some extent. "some extent " means, some buttens like d-pad, start, select and enter-key are working but others not.
I confirmed that the input.conf in /etc/bluetooth was read. The input.conf is one prepared by someone who made the package and includes lots of key assignment recommended for XBMC.
Does new type remote need differenet key map definitions?
find quote
dimarra Offline
Junior Member
Posts: 12
Joined: Jun 2011
Reputation: 0
Post: #672
i am still going through the 'bluetooth manager' on xbmcbuntu.

when starting the computer from it being off, what button do i press to pair the remote back?

ENTER and START
or
PS button
or
something else.

Please let me know.

Thanks
find quote
pumkinut Offline
Posting Freak
Posts: 875
Joined: May 2006
Reputation: 9
Post: #673
(2012-06-07 02:34)himao Wrote:  I bought a new one of PS3BD remote recently and setup it with the latest bluez with a patch for ps3bd. It has been working to some extent. "some extent " means, some buttens like d-pad, start, select and enter-key are working but others not.
I confirmed that the input.conf in /etc/bluetooth was read. The input.conf is one prepared by someone who made the package and includes lots of key assignment recommended for XBMC.
Does new type remote need differenet key map definitions?
Post your input.conf file.
find quote
himao Offline
Junior Member
Posts: 3
Joined: Jan 2012
Reputation: 0
Post: #674
(2012-06-10 22:11)pumkinut Wrote:  
(2012-06-07 02:34)himao Wrote:  I bought a new one of PS3BD remote recently and setup it with the latest bluez with a patch for ps3bd. It has been working to some extent. "some extent " means, some buttens like d-pad, start, select and enter-key are working but others not.
I confirmed that the input.conf in /etc/bluetooth was read. The input.conf is one prepared by someone who made the package and includes lots of key assignment recommended for XBMC.
Does new type remote need differenet key map definitions?
Post your input.conf file.

http://pastebin.com/aEWQdTNF

thanks in advance
find quote
pumkinut Offline
Posting Freak
Posts: 875
Joined: May 2006
Reputation: 9
Post: #675
Okay, I see the problem. You need to change the input.conf file. The entries that have the parenthetical entries after them are the defaults. Those buttons aren't recognized by XBMC, but the entries in parentheses after them are. The recommended entries are what you want to change to.

Here's and example:
Code:
Before:
0x64 = KEY_AUDIO          # AUDIO             (XBMC recommendation: KEY_A)
0x65 = KEY_ANGLE          # ANGLE             (XBMC recommendation: KEY_Z)
0x63 = KEY_SUBTITLE       # SUBTITLE          (XBMC recommendation: KEY_T)
0x0f = KEY_CLEAR          # CLEAR             (XBMC recommendation: KEY_DELETE)
0x28 = KEY_TIME           # TIMER             (XBMC recommendation: KEY_END)

After:
0x64 = KEY_A          # AUDIO             (XBMC recommendation: KEY_A)
0x65 = KEY_Z          # ANGLE             (XBMC recommendation: KEY_Z)
0x63 = KEY_T       # SUBTITLE          (XBMC recommendation: KEY_T)
0x0f = KEY_DELETE          # CLEAR             (XBMC recommendation: KEY_DELETE)
0x28 = KEY_END       # TIMER             (XBMC recommendation: KEY_END)
XBMC does not recognize CLEAR, AUDIO, TIME, etc. The recommended entries are keys that XBMC will recognize that accomplish the same or similar functions. The hex at the beginning of each line is the actual key code, the "KEY_" entry maps the key code to a specific button/keyboard key and function.
find quote
himao Offline
Junior Member
Posts: 3
Joined: Jan 2012
Reputation: 0
Post: #676
(2012-06-11 17:16)pumkinut Wrote:  Okay, I see the problem. You need to change the input.conf file. The entries that have the parenthetical entries after them are the defaults. Those buttons aren't recognized by XBMC, but the entries in parentheses after them are. The recommended entries are what you want to change to.

Here's and example:
Code:
Before:
0x64 = KEY_AUDIO          # AUDIO             (XBMC recommendation: KEY_A)
0x65 = KEY_ANGLE          # ANGLE             (XBMC recommendation: KEY_Z)
0x63 = KEY_SUBTITLE       # SUBTITLE          (XBMC recommendation: KEY_T)
0x0f = KEY_CLEAR          # CLEAR             (XBMC recommendation: KEY_DELETE)
0x28 = KEY_TIME           # TIMER             (XBMC recommendation: KEY_END)

After:
0x64 = KEY_A          # AUDIO             (XBMC recommendation: KEY_A)
0x65 = KEY_Z          # ANGLE             (XBMC recommendation: KEY_Z)
0x63 = KEY_T       # SUBTITLE          (XBMC recommendation: KEY_T)
0x0f = KEY_DELETE          # CLEAR             (XBMC recommendation: KEY_DELETE)
0x28 = KEY_END       # TIMER             (XBMC recommendation: KEY_END)
XBMC does not recognize CLEAR, AUDIO, TIME, etc. The recommended entries are keys that XBMC will recognize that accomplish the same or similar functions. The hex at the beginning of each line is the actual key code, the "KEY_" entry maps the key code to a specific button/keyboard key and function.

Hi, pumkinut.
change in input.conf got the remote worked as intended like a charm.

Thank you.
find quote
nastysimon Offline
Junior Member
Posts: 1
Joined: Jun 2012
Reputation: 0
Post: #677
I have been using the PS3 remote on my XBMCs for the past few years and I have to say that the experience has been great, with one tiny problem and that is that it can take a few seconds (seems like an eternity some times) for the remote to connect. Does anyone have a solution for this? I assume that the PS3 itself doesn't suffer the same problem.
find quote
pumkinut Offline
Posting Freak
Posts: 875
Joined: May 2006
Reputation: 9
Post: #678
(2012-06-12 14:27)himao Wrote:  Hi, pumkinut.
change in input.conf got the remote worked as intended like a charm.

Thank you.

No problem, glad it worked.
find quote
atomsk Offline
Junior Member
Posts: 6
Joined: Jan 2012
Reputation: 0
Post: #679
hello,

i have a fresh installation of ubuntu with bluez preinstalled. However the ps3 remote seems to be connecting for a fragment of a second then disconnect upon searching for devices (Bluetooth new device setup). Any ideas ? i've tried changing the batteries with new ones and also my dongle used to work fine on CentOS :/
(This post was last modified: 2012-06-16 18:16 by atomsk.)
find quote
pumkinut Offline
Posting Freak
Posts: 875
Joined: May 2006
Reputation: 9
Post: #680
Did you install kitlaan's repo and then reinstall bluez?
find quote
Post Reply