[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) |
OSD audio/subtitles setting, play/pause - aflo - 2009-12-02 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: ... Here is my entire ~/.xbmc/userdata/keymaps/keymap.xml Code: <keymap> Note: The F1-F7 keymaps work perfectly. - kitlaan - 2009-12-02 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)? 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 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 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 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. - kitlaan - 2009-12-06 faxo Wrote:Debian squeeze's bluez_4.57-1 (it has the Debian patches). Both of your patches applied cleanly and compiled however. I uploaded a new patch; same place as before. It uses seconds now, as well as making some tweaks to the timer handling. Let me know if you still see the assert. - nanny07 - 2009-12-06 what about a new 3d? The first post is outdated - dogk1cker - 2009-12-06 aflo Wrote: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. Play button: Hey did you get this to work? My play button doesn't work either. It's a pain in the rear to have to search for .ts files for DVDs. It sure would be nice to just select the folder and play the contents like the old days!! - freezy - 2009-12-07 This thread is getting too long guys. Does anyone who got it running without batteries draining care to elaborate how he did it? Which patches are needed etc? Then I'll set up a Wiki HOWTO, because reading through 400+ posts kinda sucks... Cheers! EDIT: I set up a minimal page here which is basically copy+paste from here. Please guys, complete it, put in some background info (the remote is seen as a keyboard, right?) and hints for potential problems. Also, information why BlueZ must be patched anyway would be interesting. I myself will update as well if I progress. - dogk1cker - 2009-12-07 freezy Wrote:This thread is getting too long guys. Does anyone who got it running without batteries draining care to elaborate how he did it? Which patches are needed etc? Then I'll set up a Wiki HOWTO, because reading through 400+ posts kinda sucks... Yes, I agree. Please start a Wiki. - flxfxp - 2009-12-09 The only thing i'd suggest is to actually use http://dl.dropbox.com/u/50769/xbmscript/ps3_pair.tar.gz as ps3_pair, it supports --list and --remove. Dennis - aflo - 2009-12-09 dogk1cker Wrote:Play button: Here's what my input.conf looks like: Quote:0x32 = KEY_PLAY # PLAY and the relevant lines in my keymap.xml Quote: <Play>Play</Play> Hope that helps. both the play and pause do both play and pause. oh well! - dogk1cker - 2009-12-10 aflo, I added those line in the two files but didn't do anything. Any other suggestions? THanx. - aflo - 2009-12-10 dogk1cker Wrote:aflo, I added those line in the two files but didn't do anything. Any other suggestions? One thing that i did was to check out what the logs were spitting out and work backwards. open up the terminal and type Quote:tail -f ~/.xbmc/temp/xbmc.log and in another Quote:sudo bluetoothd -nd and finally to check if your keymap is failing to be loaded or not: Quote:cat ~/.xbmc/temp/xbmc.log | grep keymap.xml I also mapped a button on the remote (the PS button) to refresh keymap so i didn't have to reboot everytime to change my buttons around. Good luck! - dogk1cker - 2009-12-11 Aflo, Here are my outputs from the commands. It looks like the keymap isn't even loading? --------------------------------------------------------------- xbmc@xbmc:~$ tail -f ~/.xbmc/temp/xbmc.log 20:49:20 T:3042555792 M:818819072 NOTICE: No advancedsettings.xml to load (spec ial://masterprofile/advancedsettings.xml) 20:49:20 T:3042555792 M:818819072 NOTICE: Default DVD Player: dvdplayer 20:49:20 T:3042555792 M:818819072 NOTICE: Default Video Player: dvdplayer 20:49:20 T:3042555792 M:818819072 NOTICE: Default Audio Player: paplayer 20:49:20 T:3042555792 M:818819072 NOTICE: special://masterprofile/sources.xml 20:49:20 T:3042555792 M:818819072 INFO: GL: Maximum texture width: 32768 20:49:20 T:3042555792 M:818819072 DEBUG: SECTION:LoadDLL(special://xbmc/system /ImageLib-i486-linux.so) 20:49:20 T:3042555792 M:818819072 DEBUG: Loading: /usr/share/xbmc/system/Image Lib-i486-linux.so 20:49:20 T:3042555792 M:818458624 DEBUG: GLX_EXTENSIONS: GLX_ARB_multisample G LX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context GLX_SGIX_fbconfi g GLX_ARB_get_proc_address 20:49:20 T:3042555792 M:818458624 FATAL: CApplication::Create: Unable to init rendering system ^C xbmc@xbmc:~$ sudo bluetoothd -nd [sudo] password for xbmc: bluetoothd[10896]: Bluetooth daemon bluetoothd[10896]: Enabling debug information bluetoothd[10896]: parsing main.conf bluetoothd[10896]: discovto=0 bluetoothd[10896]: pairto=0 bluetoothd[10896]: pageto=8192 bluetoothd[10896]: name=%h-%d bluetoothd[10896]: class=0x000100 bluetoothd[10896]: inqmode=0 bluetoothd[10896]: Key file does not have key 'DeviceID' bluetoothd[10896]: Unable to get on D-Bus xbmc@xbmc:~$ cat ~/.xbmc/temp/xbmc.log | grep keymap.xml xbmc@xbmc:~$ |