PlayStation 3 Bluetooth Remote

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

Re: PlayStation 3 Bluetooth Remote

Postby superarcan » Fri Feb 05, 2010 1:35 am

the usage @ BDRemotePowerFix:
download and unzip all components in one folder
run BDRemotePowerFix.exe, when all work fine it start writing back

the output @ BDRemotePowerFix:
Code: Select all
[bt] Search for BD Remote...
[bt] BD Remote found.
[D] Search for BD Remote...
[D] BD Remote found.
Loop...
Loop...
Loop...
[bt] BD Remote is awake.
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
Loop...
BD Remote put to sleep.
Loop...
[bt] BD Remote sleeping.
Loop...
Loop...


remarks:
the loop time is according to status of device (longer -60s when in "sleep mode" , shorter -20s when awake)
if u see a short black window flashing when try to run, this mean a exceptions is throw. Please open the application from a cmd/dos window and read (coppy and replay here the exceptions text).
if u see:
Code: Select all
...
Loop...
BD Remote put to sleep.
Loop...
[bt] BD Remote sleeping.
Loop...
BD Remote put to sleep.
Loop...
[bt] BD Remote sleeping.
Loop...
BD Remote put to sleep.
Loop...
[bt] BD Remote sleeping.

this mean u use an application like HIP who block access to device so can't be put to sleep, to confirm this stop your application and try to run my app.
superarcan
 
Posts: 12
Joined: Thu Feb 04, 2010 1:28 am

BDRemotePowerManager.1.0.1

Postby superarcan » Tue Feb 09, 2010 1:18 am

Ok i transform the BDRemotePowerFix in BDRemotePowerManager.
BD Remote Power Manager 1.0.1 put PS3 BD Remote to sleep mode / sniff mode / low-power state mode, after a time of inactivity to save battery life and show status of remote in systray.
Application work in Windows XP, Windows Vista, Windows 7 (tested only in 32bit env)
Application work ONLY with Microsoft Bluetooth Stack because it use 32feet.NET warpper. ( To use Microsoft Bluetooth Stack with your device on XP see here.)
Application work well with EventhGhost last version an last PS3 plugin.

HowTo Use:
At first run you need to setup Bluetooth address / Device of your BD remote: click on "Populate Items", wait to finish, the application try to find this data for you, if fail you must choose from lists.
After, you can change time in minutes to wait befor put to sleep the remote.
Now, you can start the loop with "Start" button. For any new changes (Bluetooth address, Device, time to wait) to take effect you need to stop and start the loop.
Application save the settings for late use.
Application can be minimize to systray icon and start like this when "auto start at startup" option is used .

Systray icon change color from gray - loop not started, red - Awake, green - Slipping.
The "auto start at startup" option is to start looping when application start, is not connected with windows startup. For application to run at windows startup you need to set this manual.
The application:
- show in main window a log with all operations.
- have build-in UAC manifest to can easy run with full rights (need to manage devices), and MUST be run with full rights.
- make use of treading to work and interact with users in same time.

Note:
This application:
- can interact with other HID Bluetooth device like: Bluetooth Mouse, Bluetooth Keyboard.
- is not working with some applications that block device like HIP.
--------------------------------------------------------------
An AnaAreMere Project.
Attachments
BDRemotePowerManager.1.0.1.1.zip
(273.17 KiB) Downloaded 1463 times
BDRemotePowerManager.1.0.1.jpg
Last edited by superarcan on Tue Feb 09, 2010 8:19 am, edited 1 time in total.
superarcan
 
Posts: 12
Joined: Thu Feb 04, 2010 1:28 am

BD Remotes Myth

Postby superarcan » Tue Feb 09, 2010 8:17 am

I see this myth in some forum post:
Windows 7 have better power management = Windows 7 will put BD Remote to sleep.
False : tested by me and also documented.
Windows 7 put his connection to sniff mood in response to device changing connection mod.
http://download.microsoft.com/download/8/5/4/854F66B6-8C09-4F8A-986E-38E9EBAC1677/Windows7_Power_Management_Whitepaper.pdf
Bluetooth Power Improvements
Windows 7 helps increase battery life by enabling state of selective suspend when it detects that a Bluetooth device has entered a lower-power state. Typically, when the client computer is connected to a Bluetooth device, the radio and the USB bus are always active, whereas the device may be entering a lower-power state if it does not need to use the Bluetooth connection. With Windows 7, if the device enters its low-power (or "sniff") mode, Windows 7 enables a state of selective suspend on the computer, allowing both sides of the connection to save power.
superarcan
 
Posts: 12
Joined: Thu Feb 04, 2010 1:28 am

BDRemotePowerManager.1.0.1 Bugs and ToDo

Postby superarcan » Tue Feb 09, 2010 8:52 am

Soon hope, the BDRemotePowerManager will support also Widcomm Bluetooth Stack (depend on 32Feet.Net: http://files.cnblogs.com/procoder/32fee ... oadcom.doc)
In some cases the application put to sleep remote after X min from Awake and not from last time a key was pressed (need more debug to see reason).
The icons are easy to mistake with bluetooth stack icon (If someone can help with a set of icons in 3 color all windows request dimension with Sony PS logo and / or Remote and / or Bluetooth)
Try to find a way to get last HID device input without disturb other applications access to resource, so i can read battery level (if someone can help, Please).
My English is very bad, so please correct me.
I wait for more feedback in this forum.
superarcan
 
Posts: 12
Joined: Thu Feb 04, 2010 1:28 am

Re: BDRemotePowerManager.1.0.1 Bugs and ToDo

Postby doing23 » Wed Feb 10, 2010 8:58 pm

First i want say thanx for this nice app.

i have install it today and it seems to work on my setup.
use it with Mediaportal and PS Remote plugin
don't test it with eventghost.
i report more if i know my battery life-time :)

little bug: if i close the app without stopping the loop i can't restart it
doing23
 
Posts: 1
Joined: Wed Feb 10, 2010 5:38 pm

Re: BDRemotePowerManager.1.0.1 Bugs and ToDo

Postby superarcan » Thu Feb 11, 2010 1:13 pm

doing23 wrote:little bug: if i close the app without stopping the loop i can't restart it

plz report:
    windows version (xp vista 7)(32/64bit)
    check on task manager and report if application is running after you close it.
    a screen shot / past test of error.
    when err occur (when u start 2'nd time application / when u try to start loop).
    when u first close application application remain in systray

on my tests machine this is not occurred once.

info: loop thread can run max 30s after you close application, but application can be run in multiple instance, so

10x for feedback.
superarcan
 
Posts: 12
Joined: Thu Feb 04, 2010 1:28 am

Re: PlayStation 3 Bluetooth Remote

Postby EricJD » Wed Feb 17, 2010 7:15 am

I'm trying to use BDRemotePowerManager 1.0.1 on Windows 7 32-bit. When I click on "Populate Items", it simply locks up and stops responding..
EricJD
 
Posts: 8
Joined: Thu Jan 21, 2010 7:53 pm

Re: PlayStation 3 Bluetooth Remote

Postby superarcan » Fri Feb 19, 2010 3:23 am

EricJD wrote:I'm trying to use BDRemotePowerManager 1.0.1 on Windows 7 32-bit. When I click on "Populate Items", it simply locks up and stops responding..

what stack ?
what is write in log field (with green) ?

bydefault when you press populate items the app hang 10-30s (it is a bluetooth scan), but it must recover.
superarcan
 
Posts: 12
Joined: Thu Feb 04, 2010 1:28 am

Re: PlayStation 3 Bluetooth Remote

Postby The_Dogg » Fri Feb 26, 2010 1:30 pm

I tried your program last night, i'm having problems with batteries draining on windows 7 64 bits.

When I click Populate Items, I see some text in the log window (no errors) and then the 2 drop-downs are just empty, nothing is found.

I'm using windows 7 64 bits, with the MS stack
My remote is paired with the pc, and working fine (except for the power management) with eventghost.

Am I doing something wrong?

and will that application help with my draining issues?
The_Dogg
 
Posts: 4
Joined: Fri Feb 26, 2010 1:26 pm

Re: PlayStation 3 Bluetooth Remote

Postby BK-Morpheus » Fri Feb 26, 2010 7:04 pm

The_Dogg wrote:I tried your program last night, i'm having problems with batteries draining on windows 7 64 bits.

When I click Populate Items, I see some text in the log window (no errors) and then the 2 drop-downs are just empty, nothing is found.

I'm using windows 7 64 bits, with the MS stack
My remote is paired with the pc, and working fine (except for the power management) with eventghost.

Am I doing something wrong?

and will that application help with my draining issues?

Same Question over here. I'm working with Win7 x64 and its default BD Stack. The PS3 remote controler is paired and working, but it's not getting in sniff or sleep mode (and the BDRemote PowerManager can't list my devices).
Last edited by BK-Morpheus on Sat Feb 27, 2010 12:00 pm, edited 1 time in total.
BK-Morpheus
 
Posts: 3
Joined: Sun Jan 24, 2010 11:05 am

Re: PlayStation 3 Bluetooth Remote

Postby Raf » Sat Feb 27, 2010 11:31 am

Same here. Windows 7 x64, default MS BT stack. I click Populate and it takes under one second to finish populating. Nothing is found. PS3 remote is paired and working OK.
Raf
 
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

Re: PlayStation 3 Bluetooth Remote

Postby superarcan » Tue Mar 02, 2010 5:34 pm

sorry to:Raf, BK-Morpheus,The_Dogg
I do not have a Windows 7 x64 dev env for test so, i can't help, when i make some time, i make a try in Windows 7 x64 and see the problem.
PS: please post log text (with green) after populate.
superarcan
 
Posts: 12
Joined: Thu Feb 04, 2010 1:28 am

Re: PlayStation 3 Bluetooth Remote

Postby The_Dogg » Tue Mar 02, 2010 5:51 pm

Code: Select all
| | 02/03/2010 12:45 PM Finish populating.
| | 02/03/2010 12:45 PM Populating devices...
| | 02/03/2010 12:45 PM Populating bluetooth...
| | 02/03/2010 12:45 PM Populating... (Please wait.)


P.S. I just tried on a computer that has no bluetooth radio at all (win7 x64) and I'm getting the same log, it appears to me that it can't find the bluetooth or doesn't even detect that there is no bluetooth radio.

could it be a driver issue (not with our setup, cuz the remote works fine with EG) for how you call the bluetooth?

I know 64 bits drivers are different than 32 bits. (just guessing here I'm no coder :P)

if you have a debug version I'd be glad to run it on 64 bits os and post back the results
The_Dogg
 
Posts: 4
Joined: Fri Feb 26, 2010 1:26 pm

Re: PlayStation 3 Bluetooth Remote

Postby EricJD » Wed Mar 03, 2010 3:19 am

Now EG is giving me random errors. After connecting the PS3 remote, it works fine for a few minutes then it just craps out and gives me errors as such:
Code: Select all
Traceback (most recent call last) (1436):
  File "C:\Program Files\EventGhost\eg\WinApi\HID.py", line 359, in run
  File "C:\Program Files\EventGhost\plugins\PS3\__init__.py", line 209, in RawCallback
IndexError: tuple index out of range

I have to pull the batteries out of the remote and put them back in for it to work again.
EricJD
 
Posts: 8
Joined: Thu Jan 21, 2010 7:53 pm

Re: PlayStation 3 Bluetooth Remote

Postby Raf » Wed Mar 03, 2010 7:55 pm

superarcan wrote:sorry to:Raf, BK-Morpheus,The_Dogg
I do not have a Windows 7 x64 dev env for test so, i can't help, when i make some time, i make a try in Windows 7 x64 and see the problem.
PS: please post log text (with green) after populate.

Maybe You can make some debug release for us? Then we could send logs to You.
Raf
 
Posts: 8
Joined: Sat Feb 27, 2010 11:26 am

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: jonib and 2 guests