PlayStation 3 Bluetooth Remote

Questions and comments specific to a particular plugin should go here.

Re: PlayStation 3 Bluetooth Remote

Postby The_Dogg » Sat May 01, 2010 9:53 pm

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
The_Dogg
 
Posts: 4
Joined: Fri Feb 26, 2010 1:26 pm

Re: PlayStation 3 Bluetooth Remote

Postby SkItZo » Sun May 02, 2010 10:52 am

<--- definately interested and would be most appreciated
:mrgreen:
SkItZo
 
Posts: 3
Joined: Wed Jan 27, 2010 6:12 pm

Re: PlayStation 3 Bluetooth Remote

Postby peterm » Thu May 06, 2010 3:03 am

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 579 times
peterm
 
Posts: 2
Joined: Wed May 05, 2010 10:22 am

Re: PlayStation 3 Bluetooth Remote

Postby Raf » Fri May 07, 2010 4:03 pm

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?
Raf
 
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

Re: PlayStation 3 Bluetooth Remote

Postby CHeitkamp » Fri May 07, 2010 10:39 pm

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.
CHeitkamp
Plugin Developer
 
Posts: 49
Joined: Sun Jan 27, 2008 12:42 pm
Location: Münster / Germany

Re: PlayStation 3 Bluetooth Remote

Postby Raf » Sat May 08, 2010 6:40 am

Great news!
Raf
 
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

Re: PlayStation 3 Bluetooth Remote

Postby peterm » Mon May 10, 2010 4:10 pm

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.
peterm
 
Posts: 2
Joined: Wed May 05, 2010 10:22 am

Re: PlayStation 3 Bluetooth Remote

Postby Raf » Sat May 15, 2010 7:10 am

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

Re: PlayStation 3 Bluetooth Remote

Postby Raf » Thu May 20, 2010 5:35 am

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. :)
Raf
 
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

Re: PlayStation 3 Bluetooth Remote

Postby superarcan » Wed Jun 23, 2010 2:49 pm

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.
superarcan
 
Posts: 12
Joined: Thu Feb 04, 2010 1:28 am

Re: PlayStation 3 Bluetooth Remote

Postby jitterjames » Wed Jun 23, 2010 3:02 pm

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.
User avatar
jitterjames
Experienced User
 
Posts: 649
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada

Re: PlayStation 3 Bluetooth Remote

Postby Raf » Fri Jun 25, 2010 6:51 pm

Yes superarcan. PLEASE post source code or modify your app, so it will works on Windows 7 x64 with MS stack. Pretty, pretty please!
Raf
 
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

Re: PlayStation 3 Bluetooth Remote

Postby ljubanve » Thu Dec 30, 2010 1:35 am

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.
ljubanve
 
Posts: 5
Joined: Thu Dec 30, 2010 1:25 am

Re: PlayStation 3 Bluetooth Remote

Postby jitterjames » Thu Dec 30, 2010 1:57 pm

yes it works, if you add autorepeat to your macro.
User avatar
jitterjames
Experienced User
 
Posts: 649
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada

Re: PlayStation 3 Bluetooth Remote

Postby ljubanve » Sun Jan 02, 2011 2:21 pm

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…
ljubanve
 
Posts: 5
Joined: Thu Dec 30, 2010 1:25 am

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: No registered users and 3 guests