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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Sony PlayStation 3 Blu-ray Disc Remote (PS3 BD) + LIRC + XBMC = SUCCESS (/showthread.php?tid=50717)



- nanny07 - 2009-11-28 01:53

could you post the new input.conf?

when i installed the new version i had choose not to replace the old file and now some buttons didn't work

EDIT: no, neither with the new input.conf a lot of button doesn't work Sad
EDIT2: with a restart it seems all ok


- kitlaan - 2009-11-28 07:11

faxo Wrote:Awesome. Is there a diff (like your first post) for we non-Ubuntu types?

Thanks,

Ah, right. Forgot to do so. The latest patch is now up.

Remember, any change of input.conf now requires a restart of bluetoothd (instead of just a reconnect of the remote).


- nanny07 - 2009-11-28 12:44

i don't know if is a bug of xbmc or of the new version of kitlaan's bluez, but when i switch language in a movie it's also fastforward for about 2 seconds

Is it happen also to you?


- kitlaan - 2009-11-28 18:43

nanny07 Wrote:i don't know if is a bug of xbmc or of the new version of kitlaan's bluez, but when i switch language in a movie it's also fastforward for about 2 seconds

Is it happen also to you?

Yeah, that happened to me even before I started using the remote.


- faxo - 2009-11-29 00:43

kitlaan Wrote:Ah, right. Forgot to do so. The latest patch is now up.

Remember, any change of input.conf now requires a restart of bluetoothd (instead of just a reconnect of the remote).

Thanks, the patch applied cleanly and the new input.conf is working.

A few questions:

1) Is there any support for Ruff's sub-1-minute timeouts? Perhaps by specifying "15s" instead of just "15" (which results in 15 minutes)?

2) When my PS3 Remote timeout (currently set to 1 minute) occurs, I see the following in 'bluetooth -nd':

bluetoothd[18798]: Disconnecting device because of timeout
bluetoothd[18798]: Input: disconnect /org/bluez/18798/hci0/dev_00_21_4F_AA_24_1F
bluetoothd[18798]: Disconnecting PS3 remote
bluetoothd[18798]: Destroying timer
(bluetoothd:18798): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed

This last line concerns me. It only shows up in 'bluetooth -nd' and not in syslog.

3) Sometimes my bluetoothd crashes, perhaps because of #2. As such, I've now got bluetoothd running in a while loop to respawn it quickly. Is anyone else experiencing this? It seems to happen after several timeouts of the PS3 Remote. Maybe I only noticed it because I'm not running upstart, which would have respawned the daemon.


OSD audio/subtitles setting, play/pause - aflo - 2009-12-02 10:28

Hey guys! Thanks for this very informative thread. I finally was able to get my ps3 remote working with my acer revo. The only problems i'm having are minor mapping problems.

I want to assign the "TOP MENU" button to OSD>Audio and Subtitles Settings. I've been trying XBMC.ActivateWindow(VideoOSDSettings) with no luck.

The other issue is very minor. My Play button = Play/Pause and my Pause button doesn't work at all! I would like to change play to JUST play and pause to JUST pause.

Here are the relevent rows in my /etc/bluetooth/input.conf
Code:
...
0x1a = KEY_MENU              # TOP MENU
0x32 = KEY_PLAY           # PLAY
0x39 = KEY_PAUSE          # PAUSE
...

Here is my entire ~/.xbmc/userdata/keymaps/keymap.xml
Code:
<keymap>
<global>
  <keyboard>
        <F1>XBMC.ActivateWindow(MyVideoLibrary,MovieTitles)</F1>
        <F2>XBMC.ActivateWindow(MyVideoLibrary,TvShowTitles)</F2>
        <F3>XBMC.ActivateWindow(MyVideoFiles)</F3>
        <F4>XBMC.ActivateWindow(MySettings)</F4>
        <F5>MoveItemUp</F5>
        <F6>MoveItemDown</F6>
        <F7>Playlist</F7>
        <menu>XBMC.ActivateWindow(VideoOSDSettings)</menu>
  </keyboard>
</global>
</keymap>

Note: The F1-F7 keymaps work perfectly.


- kitlaan - 2009-12-02 21:58

faxo Wrote:1) Is there any support for Ruff's sub-1-minute timeouts? Perhaps by specifying "15s" instead of just "15" (which results in 15 minutes)?

2) When my PS3 Remote timeout (currently set to 1 minute) occurs, I see the following in 'bluetooth -nd':

bluetoothd[18798]: Disconnecting device because of timeout
bluetoothd[18798]: Input: disconnect /org/bluez/18798/hci0/dev_00_21_4F_AA_24_1F
bluetoothd[18798]: Disconnecting PS3 remote
bluetoothd[18798]: Destroying timer
(bluetoothd:18798): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed

What version of bluez did you patch against? I'll take a look at the assertion. I haven't seen it myself, but it shouldn't be happening. Should be easy to find.

The timeout should be easy to change if you want to modify the patch yourself. But the next version I'll change it to use seconds instead of minutes.


- dogk1cker - 2009-12-03 02:15

I have my remote working nicely but my BD Remote broke(dropped/bus ran over it/fell out of the airplane). I had to buy a new one. I don't want to go through the repairing exercise. What files do I edit to update the new MAC address? Thanx.


- kitlaan - 2009-12-04 04:48

dogk1cker Wrote:I have my remote working nicely but my BD Remote broke(dropped/bus ran over it/fell out of the airplane). I had to buy a new one. I don't want to go through the repairing exercise. What files do I edit to update the new MAC address? Thanx.

You can try modifying the files in /var/lib/bluetooth/. Who knows if that'll even work, though.


- faxo - 2009-12-06 00:01

kitlaan Wrote:What version of bluez did you patch against? I'll take a look at the assertion. I haven't seen it myself, but it shouldn't be happening. Should be easy to find.

Debian squeeze's bluez_4.57-1 (it has the Debian patches). Both of your patches applied cleanly and compiled however.

libc6 is 2.10.2-2.