Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

PlayStation 3 Bluetooth Remote

Questions and comments specific to a particular plugin should go here.
The_Dogg
Posts: 4
Joined: Fri Feb 26, 2010 1:26 pm

Re: PlayStation 3 Bluetooth Remote

Post by The_Dogg »

derelict wrote:is there a general interest in how to do it "my way" ?

if so... i'll try to put every piece together nicely and post it!?

I would be interrested, Im pretty busy at the moment so i didnt had time to try your solution, but if you make a package to make the changes more easy it would be cool
SkItZo
Posts: 3
Joined: Wed Jan 27, 2010 6:12 pm

Re: PlayStation 3 Bluetooth Remote

Post by SkItZo »

<--- definately interested and would be most appreciated
:mrgreen:
peterm
Posts: 2
Joined: Wed May 05, 2010 10:22 am

Re: PlayStation 3 Bluetooth Remote

Post by peterm »

I've incorporated the power saving code from the old plugin with the new version,
which seems to work for me with widcomm v5 stack. It should be implemented in a way
that this version works (w/o powersave) even if the widcomm stack is not available.

To trigger the remote to go into powersave mode there is a new action: SavePower.
Add a timer to call this event (Start/reset timer on PS3.Button.*, then call the SavePower event
when the timer triggers).
Or trigger the event on System.Idle.

NOTE: You must enter the remote control bluetooth address in __init__.py on line 51.

Sorry for that. I'm quite happy with the result, considering this was my first few hours of eventghost
use. I've also made a volume control plugin for Breakaway if anyone is interested.

// PM
Attachments
ps3-4.0.1.zip
(8.25 KiB) Downloaded 836 times
Raf
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

Re: PlayStation 3 Bluetooth Remote

Post by Raf »

Could You make it work with Microsoft stack? Or anyone else please? Pretty, pretty please... with sugar and cherry on top :)

Edit:
Maybe this could help? (check SO_BTH_ENTER_SNIFF_MODE). Looks like MS stack has support for the sniff mode. Anyone could check this and maybe implement it?
CHeitkamp
Plugin Developer
Posts: 49
Joined: Sun Jan 27, 2008 12:42 pm
Location: M├╝nster / Germany

Re: PlayStation 3 Bluetooth Remote

Post by CHeitkamp »

Raf wrote:Could You make it work with Microsoft stack? Or anyone else please? Pretty, pretty please... with sugar and cherry on top :)

Edit:
Maybe this could help? (check SO_BTH_ENTER_SNIFF_MODE). Looks like MS stack has support for the sniff mode. Anyone could check this and maybe implement it?
First time i see something useful for the microsoft stack.
I'll look at it next week. Possibly I'll try to implement it for the MS stack, if possible.
Raf
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

Re: PlayStation 3 Bluetooth Remote

Post by Raf »

Great news!
peterm
Posts: 2
Joined: Wed May 05, 2010 10:22 am

Re: PlayStation 3 Bluetooth Remote

Post by peterm »

If you figure out how to get the socket fd, I can probably modify the
widcomm code to get the remote bluetooth address from that.
Raf
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

Re: PlayStation 3 Bluetooth Remote

Post by Raf »

Any progress?
Raf
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

Re: PlayStation 3 Bluetooth Remote

Post by Raf »

No progress at all as I see.
How about a donation for somebody who will make use of Windows built-in BT stack to make use of sniff mode?
I can donate if that could help. :)
superarcan
Posts: 12
Joined: Thu Feb 04, 2010 1:28 am

Re: PlayStation 3 Bluetooth Remote

Post by superarcan »

Raf wrote:Could You make it work with Microsoft stack? Or anyone else please? Pretty, pretty please... with sugar and cherry on top :)

Edit:
Maybe this could help? (check SO_BTH_ENTER_SNIFF_MODE). Looks like MS stack has support for the sniff mode. Anyone could check this and maybe implement it?
Tow problems to your discovery:
1 This is For Windows CE ( embedded device )
2 This is putting your device ( PC ) connection to sniff mode, not the remote.
--------------------------------------------------------------------------

I research many option and I do not find a better solution then my app.
I develop BDRemotePowerManager because i use ~20 PS3 remote at a site (24/7) and 3 PS3 remote at home, so i'm very interested in a way to reduce power usage.
When a better way appear I will develop on the fly.
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: PlayStation 3 Bluetooth Remote

Post by jitterjames »

superarcan wrote: I research many option and I do not find a better solution then my app.
I develop BDRemotePowerManager because i use ~20 PS3 remote at a site (24/7) and 3 PS3 remote at home, so i'm very interested in a way to reduce power usage.
When a better way appear I will develop on the fly.
Superarcan:
For some people your application doesn't work very well, and you don't seem to be updating it. Would you PLEASE post your source files somewhere so that others can try to figure out a solution for some of the bugs.

thanks.
Raf
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

Re: PlayStation 3 Bluetooth Remote

Post by Raf »

Yes superarcan. PLEASE post source code or modify your app, so it will works on Windows 7 x64 with MS stack. Pretty, pretty please!
ljubanve
Posts: 5
Joined: Thu Dec 30, 2010 1:25 am

Re: PlayStation 3 Bluetooth Remote

Post by ljubanve »

Can somebody confirm that auto repeat function works with PS remote? I recently bought one and when I press and hold some button nothing happens.
I used this function with Logitech UltraX and it worked fine, now with PS remote I canÔÇÖt get it to work.

I also tried to use remote with Ben BarronÔÇÖs program and it didnÔÇÖt work there also.

Could it be that this problem is related to Bluetooth dongle I am using? I have MSI BT dongle maybe 5 years old.
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: PlayStation 3 Bluetooth Remote

Post by jitterjames »

yes it works, if you add autorepeat to your macro.
ljubanve
Posts: 5
Joined: Thu Dec 30, 2010 1:25 am

Re: PlayStation 3 Bluetooth Remote

Post by ljubanve »

Happy New Year!
I found why my remote cant auto repeat. I need to enable enduring events in plug-in, which I didnÔÇÖt do.
Problem is when I enable that option I got error and nothing works
This is the error I got when I enable enduring events:

Code: Select all

Error starting plugin: PlayStation 3 Bluetooth Remote
Traceback (most recent call last) (1462):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInfo.py", line 362, in Stop
  File "C:\Program Files (x86)\EventGhost\plugins\PS3\__init__.py", line 1315, in __stop__
  File "C:\Program Files (x86)\EventGhost\eg\Core.py", line 167, in Unbind
KeyError: 'HID.Wake'
SONY.WakeUp
Exception in thread \\?\hid#{00001124-0000-1000-8000-00805f9b34fb}_vid&0002054c_pid&0306#8&cc81b55&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}:
SONY.Up
   Up
      XBMC: Up
Traceback (most recent call last):
  File "threading.pyc", line 525, in __bootstrap_inner
  File "C:\Program Files (x86)\EventGhost\plugins\PS3\__init__.py", line 1059, in run
  File "C:\Program Files (x86)\EventGhost\plugins\PS3\__init__.py", line 779, in __init__
  File "threading.pyc", line 662, in name
AssertionError: Thread.__init__() not called

How can I fix this? IÔÇÖm using Windows drivers for BT, not Widcomm. Once I tried installing those drivers and they didnÔÇÖt recognize my dongle.
Also when I press and hold button on the remote in EG I can see that button is pressed and when I release it I can see in log that button is released. I think that this means that everything is working fine between remote and dongle. Only problem is how to force EG to register that action as long press
Post Reply