TOPIC: PS3 Remote Controller in Openelec – alternate solutions

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 months ago #21

  • EKi
  • EKi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
I didn't think to check before. I did do a fresh update to the latest official build (fusion.i386-r9780). I'm pretty sure any changes I had previously made were overwritten by the update.

Evrouter was leftover from before, I uninstalled it now.

I'll double check everything else.


Edit: It looks like it might be related to something else this thread. I'll have to read up on it.
Last Edit: 1 year 3 months ago by EKi. Reason: added text
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 months ago #22

  • piotrasd
  • piotrasd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 3
  • Karma: 0
if someone could patch this version OpenELEC_PVR-ION.x86_64-devel-20120211230801-r9798.tar.bz2 third solution and public somehere KERNEL and SYSTEM for download ??

Big thanks
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 months ago #23

  • ancalex
  • ancalex's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 314
  • Thank you received: 47
  • Karma: 27
Hi piotrasd
Sorry I can not provide the whole build but I hava compiled bluez (directory) for an ION 64 bit system. You can download the tar.gz -here-.
You can download and install the 64 bit addons from shell.squashfs-tools.mksquashfs.zip and shell.bluez.bluez-tools.zip, save your original SYSTEM and KERNEL files, backup your other files (just in case), copy the new bluez files and make your new SYSTEM file. All necesarry informations are in this topic.
Regards
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 4 weeks ago #24

  • unaxboy
  • unaxboy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
ancalex wrote:
Pairing the remote
Put remote in discovery mode and
bt-adapter –d
find your remote address XX:XX:XX:XX:XX:XX then
bt-device –e XX:XX:XX:XX:XX:XX
then
bt-device --set  XX:XX:XX:XX:XX:XX Trusted 1
and finally
bt-input -c XX:XX:XX:XX:XX:XX

I try to do, but then i enter
bt-input -c XX:XX:XX:XX:XX:XX

it asking pin code
Connecting to: XX:XX:XX:XX:XX:XX
Agent registered
Device: BD Remote Control (XX:XX:XX:XX:XX:XX)
Enter PIN code:

I try to enter 0000, 1, 0, but everything rejected except empty (null). Then i leave it empty terminal freeze in a minute and then
Error: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Any ideas how to fix that?
Mac mini (mid 2010), OpenELEC-Generic.i386-1.95.3, PS3 BD/Media Remote (second gen), PulseEight CEC adapter (firmware 2.0), ASUS USB Bluetooth Dongle BT211
Last Edit: 1 year 4 weeks ago by unaxboy.
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 4 weeks ago #25

  • ancalex
  • ancalex's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 314
  • Thank you received: 47
  • Karma: 27
Hi
Are you sure you entered in the final step bt-input -c and not bt-device -c?
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 4 weeks ago #26

  • unaxboy
  • unaxboy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
ancalex wrote:
Hi
Are you sure you entered in the final step bt-input -c and not bt-device -c?

You right, my mistake))) but i have another probem
Input service is not supported by this device

SOLVED:
#DisablePlugins = input
Mac mini (mid 2010), OpenELEC-Generic.i386-1.95.3, PS3 BD/Media Remote (second gen), PulseEight CEC adapter (firmware 2.0), ASUS USB Bluetooth Dongle BT211
Last Edit: 1 year 4 weeks ago by unaxboy.
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #27

  • unaxboy
  • unaxboy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
Need help. I can't deal with 3 method. Everythink great exept building bluez. My log pastebin.com/qhmR4dBp
Mac mini (mid 2010), OpenELEC-Generic.i386-1.95.3, PS3 BD/Media Remote (second gen), PulseEight CEC adapter (firmware 2.0), ASUS USB Bluetooth Dongle BT211
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #28

  • ancalex
  • ancalex's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 314
  • Thank you received: 47
  • Karma: 27
You must install gawk, pretty obvious from the logs you have posted.
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #29

  • unaxboy
  • unaxboy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
I use this script to copy files
ancalex wrote:
#!/bin/sh

PKG_BUILD=/storage/bluez-4.96
INSTALL=/storage/system.new

  #cp $PKG_BUILD/config/main.conf $INSTALL/etc/bluetooth
  cp $PKG_BUILD/tools/rfcomm.conf $INSTALL/etc/bluetooth
  cp $PKG_BUILD/input/input.conf $INSTALL/etc/bluetooth

  cp $PKG_BUILD/audio/audio.conf $INSTALL/etc/bluetooth

  cp $PKG_BUILD/src/bluetooth.conf $INSTALL/etc/dbus-1/system.d

  #cp $PKG_BUILD/tools/hid2hci $INSTALL/lib/udev

  cp $PKG_BUILD/scripts/97-bluetooth.rules $INSTALL/lib/udev/rules.d

  cp -P $PKG_BUILD/lib/.libs/libbluetooth.so* $INSTALL/usr/lib

  cp $PKG_BUILD/audio/.libs/*.so $INSTALL/usr/lib/alsa

  cp $PKG_BUILD/src/.libs/bluetoothd $INSTALL/usr/sbin

  cp $PKG_BUILD/audio/bluetooth.conf $INSTALL/usr/share/alsa

  cp $PKG_BUILD/tools/.libs/ciptool $INSTALL/usr/bin
  cp $PKG_BUILD/tools/dfutool $INSTALL/usr/bin
  cp $PKG_BUILD/tools/.libs/hcitool $INSTALL/usr/bin
  cp $PKG_BUILD/tools/.libs/l2ping $INSTALL/usr/bin
  cp $PKG_BUILD/tools/.libs/rfcomm $INSTALL/usr/bin
  cp $PKG_BUILD/tools/.libs/sdptool $INSTALL/usr/bin

  cp $PKG_BUILD/tools/.libs/bccmd $INSTALL/usr/sbin
  cp $PKG_BUILD/tools/.libs/hciattach $INSTALL/usr/sbin
  cp $PKG_BUILD/tools/.libs/hciconfig $INSTALL/usr/sbin

That files are necessary?
root ~ # sh bluez.sh                                                           
cp: can't stat '/storage/bluez-4.96/scripts/97-bluetooth.rules': No such file or directory
cp: can't stat '/storage/bluez-4.96/lib/.libs/libbluetooth.so*': No such file or directory
cp: can't stat '/storage/bluez-4.96/audio/.libs/*.so': No such file or directory
cp: can't stat '/storage/bluez-4.96/src/.libs/bluetoothd': No such file or directory
cp: can't stat '/storage/bluez-4.96/tools/.libs/ciptool': No such file or directory
cp: can't stat '/storage/bluez-4.96/tools/dfutool': No such file or directory
cp: can't stat '/storage/bluez-4.96/tools/.libs/hcitool': No such file or directory
cp: can't stat '/storage/bluez-4.96/tools/.libs/l2ping': No such file or directory
cp: can't stat '/storage/bluez-4.96/tools/.libs/rfcomm': No such file or directory
cp: can't stat '/storage/bluez-4.96/tools/.libs/sdptool': No such file or directory
cp: can't stat '/storage/bluez-4.96/tools/.libs/bccmd': No such file or directory
cp: can't stat '/storage/bluez-4.96/tools/.libs/hciattach': No such file or directory
cp: can't stat '/storage/bluez-4.96/tools/.libs/hciconfig': No such file or directory
Mac mini (mid 2010), OpenELEC-Generic.i386-1.95.3, PS3 BD/Media Remote (second gen), PulseEight CEC adapter (firmware 2.0), ASUS USB Bluetooth Dongle BT211
Last Edit: 1 year 3 weeks ago by unaxboy.
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #30

  • ancalex
  • ancalex's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 314
  • Thank you received: 47
  • Karma: 27
Yes, they are necessary especially the libs
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #31

  • unaxboy
  • unaxboy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
Can you send me that files? Then i build bluez i don't find them in folder.
Mac mini (mid 2010), OpenELEC-Generic.i386-1.95.3, PS3 BD/Media Remote (second gen), PulseEight CEC adapter (firmware 2.0), ASUS USB Bluetooth Dongle BT211
Last Edit: 1 year 3 weeks ago by unaxboy.
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #32

  • ancalex
  • ancalex's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 314
  • Thank you received: 47
  • Karma: 27
Bluez building went ok?
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #33

  • unaxboy
  • unaxboy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
No, a lot of errors and needed to install packages.
Mac mini (mid 2010), OpenELEC-Generic.i386-1.95.3, PS3 BD/Media Remote (second gen), PulseEight CEC adapter (firmware 2.0), ASUS USB Bluetooth Dongle BT211
Last Edit: 1 year 3 weeks ago by unaxboy.
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #34

  • ancalex
  • ancalex's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 314
  • Thank you received: 47
  • Karma: 27
If you want to compile sometimes you can install ubuntu for this - virtualbox maybe?
Anyway here is the file.
EDIT: just want to ask, the ps3-addon is not working for you?
Last Edit: 1 year 3 weeks ago by ancalex.
The administrator has disabled public write access.
The following user(s) said Thank You: unaxboy

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #35

  • unaxboy
  • unaxboy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
ancalex wrote:
just want to ask, the ps3-addon is not working for you?

Is not working(
Mac mini (mid 2010), OpenELEC-Generic.i386-1.95.3, PS3 BD/Media Remote (second gen), PulseEight CEC adapter (firmware 2.0), ASUS USB Bluetooth Dongle BT211
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #36

  • unaxboy
  • unaxboy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
ancalex wrote:
If you want to compile sometimes you can install ubuntu for this - virtualbox maybe?
Anyway here is the file.

Thanks, everything works great! One more question. Can you help with this?
Mac mini (mid 2010), OpenELEC-Generic.i386-1.95.3, PS3 BD/Media Remote (second gen), PulseEight CEC adapter (firmware 2.0), ASUS USB Bluetooth Dongle BT211
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #37

  • unaxboy
  • unaxboy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
ancalex wrote:
Hi
I hope you will succeed with this.
About keymap: all necessary mappings are made in the patch (I have modified the mappings for my needs) and the only keymap I have used is in the post.
Here is the relevant part from the patch:
+}, ps3keymap_alt[] = {
+	[0x16] = KEY_EJECTCD,
+	[0x64] = KEY_A,			/* audio */
+	[0x65] = KEY_Z,			/* angle */
+	[0x63] = KEY_T,			/* subtitle */
+	[0x0f] = KEY_DELETE,		/* clear */
+	[0x28] = KEY_S,			/* timer */
+	[0x00] = KEY_1,
+	[0x01] = KEY_2,
+	[0x02] = KEY_3,
+	[0x03] = KEY_4,
+	[0x04] = KEY_5,
+	[0x05] = KEY_6,
+	[0x06] = KEY_7,
+	[0x07] = KEY_8,
+	[0x08] = KEY_9,
+	[0x09] = KEY_0,
+	[0x81] = KEY_F1,		/* red */
+	[0x82] = KEY_F2,		/* green */
+	[0x83] = KEY_F3,		/* yellow */
+	[0x80] = KEY_F4,		/* blue */
+	[0x70] = KEY_O,			/* display */
+	[0x1a] = KEY_MENU,		/* top menu */
+	[0x40] = KEY_M,			/* pop up/menu */
+	[0x0e] = KEY_ESC,		/* return */
+	[0x5c] = KEY_C,			/* options/triangle */
+	[0x5d] = KEY_BACK,		/* back/circle */
+	[0x5f] = KEY_I,			/* view/square */
+	[0x5e] = KEY_F8,		/* cross */
+	[0x54] = KEY_UP,
+	[0x56] = KEY_DOWN,
+	[0x57] = KEY_LEFT,
+	[0x55] = KEY_RIGHT,
+	[0x0b] = KEY_ENTER,
+	[0x5a] = KEY_F9,		/* L1 */
+	[0x58] = KEY_D,			/* L2 */
+	[0x51] = KEY_Q,			/* L3 */
+	[0x5b] = KEY_F10,		/* R1 */
+	[0x59] = KEY_U,			/* R2 */
+	[0x52] = KEY_W,			/* R3 */
+	[0x43] = KEY_HOMEPAGE,		/* PS button */
+	[0x50] = KEY_INSERT,		/* select */
+	[0x53] = KEY_HOME,		/* start */
+	[0x33] = KEY_R,			/* scan back */
+	[0x32] = KEY_PLAY,
+	[0x34] = KEY_F,			/* scan forward */
+	[0x30] = KEY_LEFT,		/* prev */
+	[0x38] = KEY_STOP,
+	[0x31] = KEY_RIGHT,		/* next */
+	[0x60] = KEY_DOWN,		/* slow/step back */
+	[0x39] = KEY_PAUSE,
+	[0x61] = KEY_UP,		/* slow/step forward */
+	[0xff] = KEY_MAX,
 };
Regards

How i can change that mapping?
Mac mini (mid 2010), OpenELEC-Generic.i386-1.95.3, PS3 BD/Media Remote (second gen), PulseEight CEC adapter (firmware 2.0), ASUS USB Bluetooth Dongle BT211
Last Edit: 1 year 3 weeks ago by unaxboy.
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 weeks ago #38

  • ancalex
  • ancalex's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 314
  • Thank you received: 47
  • Karma: 27
You must compile bluez with your mappings, what I have done, was for me.
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 days ago #39

  • hannes
  • hannes's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
sorry, double post, "delete" does not work...please see next reply.
Last Edit: 1 year 3 days ago by hannes.
The administrator has disabled public write access.

Re: PS3 Remote Controller in Openelec – alternate solutions 1 year 3 days ago #40

  • hannes
  • hannes's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
First of all: great work ancalex!!! thank you so much!!! must have been quite a while, till you got your first remap working ;-)
ancalex wrote:
You must compile bluez with your mappings, what I have done, was for me.

Thanks to the awesome work of ancalex, i modified the key mappings a bit:

R1 = Volume up
R2 = Volume down
R3 = Mute

PS Button = Switch menu/vis
X Button = Main menu


I uploaded the modified package to bluez-4.96_patched.tar.bz2. Download, compile and install as described in this thread if you like...


If you already have a building environment, just change the package URL in packages/network/bluez/meta

from
PKG_URL="http://www.mirrorservice.org/sites/ftp.kernel.org/pub/linux/bluetooth/$PKG_NAME-$PKG_VERSION.tar.bz2"

to
PKG_URL="http://frommix.de/openelec/src/bluez-4.96_patched.tar.bz2"

(and remove already downloaded files in "sources/bluez/") then run e.g.
PROJECT=Fusion ARCH=x86_64 ./scripts/build bluez
Last Edit: 1 year 1 day ago by hannes.
The administrator has disabled public write access.
Moderators: ericab, turbomettwurst, lrusak

Our Sponsors & Partners

arctic_logo