Pc side is public now, you can get it at:
http://code.google.com/p/moveme/
PS3 side i believe that it is in closed beta by now on PSN.
More to come.
Saturday, 23 April 2011
Wednesday, 2 March 2011
Sunday, 16 January 2011
gemtest sample for libgem
Today i have updated toochain,psl1ght and ps3libraries on my mac included nvidia shader stuff. A busy day xD.
After Matthew Parlane libgem commit there is no reason to add a sample for libgem in my repository and send to official psl1ght repo.
my repo:
https://github.com/bigboss-ps3dev/PSL1GHT
check https://github.com/HACKERCHANNEL/PSL1GHT when they accept changes.
Sample need PlayStation Eye and PlayStation Move.
It will track gyroscope sensor y axis and x axis and it will move camera frame with your Move device.
After Matthew Parlane libgem commit there is no reason to add a sample for libgem in my repository and send to official psl1ght repo.
my repo:
https://github.com/bigboss-ps3dev/PSL1GHT
check https://github.com/HACKERCHANNEL/PSL1GHT when they accept changes.
Sample need PlayStation Eye and PlayStation Move.
It will track gyroscope sensor y axis and x axis and it will move camera frame with your Move device.
Saturday, 15 January 2011
Firmware 3.55, psl1ght and libgem
Today i have been working on samples for libgem for psl1ght.
ps3load with udp debug support shows that it crash on sysProcessExitSpawn2, i tried including npDrmProcessExitSpawn2 from npdrm lib instead on psl1ght but with no success. You can upload self signed elf but it will return to xmb after call sysProcessExitSpawn2 or npDrmProcessExitSpawn2 by now...
Instead of install stuff from usb, i am uploading EBOOT.BIN in a USRDIR previously installed on ps3 in a prepared package, it's quicker than make pkg put on usb and install it on PS3 3.55.
About libgem it has now:
- calibrating support, Move get a hue colour and it's internally calibrated. You point directly to PlayStation Eye press Move button and it's automatically calibrated passing for all status flags.
- All move buttons(cross, circle, triangle,square, select, start, move and trigger with analog pressure) supported with readGemPad function with internal state like some libpad examples released in the past, it's good to use it for menu selections or whatever stuff that need it.
- Gyroscope on y and x axis,move xmb control like. Understand which is y and x and when it's positive or negative was fun and moving camera frame using this effect :P.
- debugPrintf function over udp for samples in 3.55 firmware
more to come...
ps3load with udp debug support shows that it crash on sysProcessExitSpawn2, i tried including npDrmProcessExitSpawn2 from npdrm lib instead on psl1ght but with no success. You can upload self signed elf but it will return to xmb after call sysProcessExitSpawn2 or npDrmProcessExitSpawn2 by now...
Instead of install stuff from usb, i am uploading EBOOT.BIN in a USRDIR previously installed on ps3 in a prepared package, it's quicker than make pkg put on usb and install it on PS3 3.55.
About libgem it has now:
- calibrating support, Move get a hue colour and it's internally calibrated. You point directly to PlayStation Eye press Move button and it's automatically calibrated passing for all status flags.
- All move buttons(cross, circle, triangle,square, select, start, move and trigger with analog pressure) supported with readGemPad function with internal state like some libpad examples released in the past, it's good to use it for menu selections or whatever stuff that need it.
- Gyroscope on y and x axis,move xmb control like. Understand which is y and x and when it's positive or negative was fun and moving camera frame using this effect :P.
- debugPrintf function over udp for samples in 3.55 firmware
more to come...
Tuesday, 7 December 2010
PlayStation Move is here...
Move with psl1ght work in progress , right now tryng to understand GemState variables to make cool things. Device is fully working and calibrating and hue tracking is right.
PS3Load v0.1
Waiting for connection...
Receiving data... (0x0000979e/0x00051bd0)
Launching...
Loading modules
camera module load return 0
gem module load return 0
Register callback return 0
lv2MemContinerCreate() returned 0
init screen
return from GemGetMemorySize 120000 size in bytes needed for move device to init libgem
lv2MemContinerCreate() for memory usage needed in libgem returned 0
preparing GemAttribute structure with sprus and memory stuff
calling GemInit with GemAttribute structure version=2 max_connect=1 spurs=D000FC20 memory_ptr=3F000004
return from GemInit 0
GemPrepareCamera return 0 exposure set to 400 and quality to 0.8
GemReset retunr 0
init pad
cameraInit() returned 0
Found me an eye, arrr!
cameraOpenEx returned 00000000
Video dimensions: 640x480
Buffer at 30015000
Set readCameraInfoEx data structure needed for Move hue tracking
Preparing GemVideoConvert structure by now i am not going to use it so output_format set to 1
GemPrepareVideoConvert return 0
GemPrepareCamera return 0 exposure set to 400 and quality to 0.8 before cameraStart
lets go!! look your face in Sony Bravia
GemGetState return 2
first calibrate device
GemCalibrate return 0
Calibrating is in proccess...
GemGetState return 5
Second set a hue value to track or let Sony choose for you :P
GemTrackHues return 0
Yeah Move it's running fine, light on!!!!!
GemGetState return 0
center of the sphere in world coordinates -30.902700 -64.770447 241.581284 1.000000
sphere velocity 0.000000 0.000000 0.000000 0.000000 mm/s
sphere acceleration 0.000000 0.000000 0.000000 0.000000 mm/s^2
device orientation in world coordinates 0.084998 0.124090 -0.144880 0.977950 radians/s
device angular velocity in world coordinates 0.000000 0.000000 0.000000 0.000000 radians/s^2
position player's hand in world coordinates -0.069252 -80.036690 339.186462 1.000000 mm
velocity player's hand in world coordinates 0.000000 0.000000 0.000000 0.000000 mm/s^
acceleration player's hand in world coordinates 0.000000 0.000000 0.000000 0.000000 mm/s^2
timestamp 1683306414
sensor temperature 0.000000
camera pitch angle 0.000000
tracking flag 0
before GemEnd
return from GemEnd 0
Exiting for real.
ugly captures with my old iphone:

PS3Load v0.1
Waiting for connection...
Receiving data... (0x0000979e/0x00051bd0)
Launching...
Loading modules
camera module load return 0
gem module load return 0
Register callback return 0
lv2MemContinerCreate() returned 0
init screen
return from GemGetMemorySize 120000 size in bytes needed for move device to init libgem
lv2MemContinerCreate() for memory usage needed in libgem returned 0
preparing GemAttribute structure with sprus and memory stuff
calling GemInit with GemAttribute structure version=2 max_connect=1 spurs=D000FC20 memory_ptr=3F000004
return from GemInit 0
GemPrepareCamera return 0 exposure set to 400 and quality to 0.8
GemReset retunr 0
init pad
cameraInit() returned 0
Found me an eye, arrr!
cameraOpenEx returned 00000000
Video dimensions: 640x480
Buffer at 30015000
Set readCameraInfoEx data structure needed for Move hue tracking
Preparing GemVideoConvert structure by now i am not going to use it so output_format set to 1
GemPrepareVideoConvert return 0
GemPrepareCamera return 0 exposure set to 400 and quality to 0.8 before cameraStart
lets go!! look your face in Sony Bravia
GemGetState return 2
first calibrate device
GemCalibrate return 0
Calibrating is in proccess...
GemGetState return 5
Second set a hue value to track or let Sony choose for you :P
GemTrackHues return 0
Yeah Move it's running fine, light on!!!!!
GemGetState return 0
center of the sphere in world coordinates -30.902700 -64.770447 241.581284 1.000000
sphere velocity 0.000000 0.000000 0.000000 0.000000 mm/s
sphere acceleration 0.000000 0.000000 0.000000 0.000000 mm/s^2
device orientation in world coordinates 0.084998 0.124090 -0.144880 0.977950 radians/s
device angular velocity in world coordinates 0.000000 0.000000 0.000000 0.000000 radians/s^2
position player's hand in world coordinates -0.069252 -80.036690 339.186462 1.000000 mm
velocity player's hand in world coordinates 0.000000 0.000000 0.000000 0.000000 mm/s^
acceleration player's hand in world coordinates 0.000000 0.000000 0.000000 0.000000 mm/s^2
timestamp 1683306414
sensor temperature 0.000000
camera pitch angle 0.000000
tracking flag 0
before GemEnd
return from GemEnd 0
Exiting for real.
ugly captures with my old iphone:
Sunday, 28 November 2010
Kinect driver for PlayStation 3
Well last weekend i bought a Microsoft Kinect device, today i had free time to make things happens...
First PlayStation 3 only see a NUIMOTOR device. After NUIMOTOR is correctly initialized, NUICAMERA and NUIAUDIO are shown and i can detect and control them, OpenKinect documentation about devices and protocols was very helpfull.
NUICAMERA has 2 isoc endpoints one for rgb and other for depth. Stuff is similar to my old eyetoy driver isoc frames and then parsing them to get real frames for user process and i believe that i can use my old eyetoy code with this.
Now i need only TIME to play with the new toy.....
Output from ugly and unfinished kinect sample driver:
PS3Load v0.1
Waiting for connection...
Receiving data... (0x0000cd83/0x0003da11)
Receiving arguments... 0x0000000d
Launching...
Sample Kinect Driver for PlayStation 3 Antonio José Ramos Márquez aka bigboss
Registering kinect driver return 0
kinect_probe:: dev_id=11
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_MOTOR idProduct b002
kinect_attach:: dev_id=11
Getting device descriptor
nuimotor_attach:: dev_id=11
Kinect NUI_MOTOR detected
Getting configuration descriptor
Number of interfaces 1
Getting interface descriptor
Verifying number of endpoints
Getting control endpoint descriptor for NUI_MOTOR 0
tryng to open control endpoint 0
nuimotor_control_transfer:: param0=0 param1=1
Set Configuration (bConfigurationValue=1)
nuimotor_control_done:: result=0x0 count=0 arg=0
nuimotor_control_transfer:: param0=1 param1=0
Set Interface (bInterfaceNumber=0, bAlternateSetting=0)
nuimotor_control_done:: result=0x50 count=0 arg=1
result=0x50 count=0 arg=1
nuimotor_control_transfer:: param0=2 param1=0
Sending event NUIMOTOR_READY
Received event NUIMOTOR_READY now it's time to angle and led settings
nuimotor_control_transfer:: param0=3 param1=0
init motor
nuimotor_control_done:: result=0x0 count=1 arg=3
nuimotor_control_transfer:: param0=4 param1=0
set angle
nuimotor_control_done:: result=0x0 count=0 arg=4
nuimotor_control_transfer:: param0=5 param1=0
set led
nuimotor_control_done:: result=0x0 count=0 arg=5
nuimotor_control_transfer:: param0=6 param1=0
motor ready time to camera and audio sending NUIMOTOR_ENABLED
Nuimotor initialized set angle and led to red done tryng to see if other devices are already availables
kinect_probe:: dev_id=12
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_AUDIO idProduct ad02
kinect_attach:: dev_id=12
Getting device descriptor
nuiaudio_attach:: dev_id=12
Kinect NUI_AUDIO detected
Getting configuration descriptor
Verifying number of endpoints 4
Getting control endpoint descriptor for NUI_AUDIO 1
nuiaudio_control_transfer:: param0=0 param1=1
Set Configuration (bConfigurationValue=1)
nuiaudio_control_done:: result=0x0 count=0 arg=0
nuiaudio_control_transfer:: param0=1 param1=0
Set Interface (bInterfaceNumber=0, bAlternateSetting=0)
nuiaudio_control_done:: result=0x50 count=0 arg=1
result=0x50 count=0 arg=1
nuiaudio_control_transfer:: param0=2 param1=0
Sending event NUIAUDIO_READY
Received event NUIAUDIO_READY TODO audio initialization and isoc stuff
kinect_probe:: dev_id=13
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_CAMERA idProduct ae02
kinect_attach:: dev_id=13
Getting device descriptor
nuicamera_attach:: dev_id=13
Kinect NUI_CAMERA detected
Getting configuration descriptor
Verifying number of endpoints 2
Getting control endpoint descriptor for NUI_CAMERA 2
nuicamera_control_transfer:: param0=0 param1=1
Set Configuration (bConfigurationValue=1)
nuicamera_control_done:: result=0x0 count=0 arg=0
nuicamera_control_transfer:: param0=1 param1=0
Set Interface (bInterfaceNumber=0, bAlternateSetting=0)
nuicamera_control_done:: result=0x50 count=0 arg=1
result=0x50 count=0 arg=1
nuicamera_control_transfer:: param0=2 param1=0
Sending event NUICAMERA_READY
Received event NUICAMERA_READY TODO camera initialization and isoc stuff
kinect_detach:: dev_id=12
nuiaudio_detach:: dev_id=12
Sending event NUIAUDIO_DETACH
kinect_detach:: dev_id=11
nuimotor_detach:: dev_id=11
Sending event NUIMOTOR_DETACH
kinect_detach:: dev_id=13
nuicamera_detach:: dev_id=13
Sending event NUICAMERA_DETACH
Event received NUIAUDIO_DETACH
Event received NUIMOTOR_DETACH
Event received NUICAMERA_DETACH
time to go to XMB and unregister kinect driver...
First PlayStation 3 only see a NUIMOTOR device. After NUIMOTOR is correctly initialized, NUICAMERA and NUIAUDIO are shown and i can detect and control them, OpenKinect documentation about devices and protocols was very helpfull.
NUICAMERA has 2 isoc endpoints one for rgb and other for depth. Stuff is similar to my old eyetoy driver isoc frames and then parsing them to get real frames for user process and i believe that i can use my old eyetoy code with this.
Now i need only TIME to play with the new toy.....
Output from ugly and unfinished kinect sample driver:
PS3Load v0.1
Waiting for connection...
Receiving data... (0x0000cd83/0x0003da11)
Receiving arguments... 0x0000000d
Launching...
Sample Kinect Driver for PlayStation 3 Antonio José Ramos Márquez aka bigboss
Registering kinect driver return 0
kinect_probe:: dev_id=11
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_MOTOR idProduct b002
kinect_attach:: dev_id=11
Getting device descriptor
nuimotor_attach:: dev_id=11
Kinect NUI_MOTOR detected
Getting configuration descriptor
Number of interfaces 1
Getting interface descriptor
Verifying number of endpoints
Getting control endpoint descriptor for NUI_MOTOR 0
tryng to open control endpoint 0
nuimotor_control_transfer:: param0=0 param1=1
Set Configuration (bConfigurationValue=1)
nuimotor_control_done:: result=0x0 count=0 arg=0
nuimotor_control_transfer:: param0=1 param1=0
Set Interface (bInterfaceNumber=0, bAlternateSetting=0)
nuimotor_control_done:: result=0x50 count=0 arg=1
result=0x50 count=0 arg=1
nuimotor_control_transfer:: param0=2 param1=0
Sending event NUIMOTOR_READY
Received event NUIMOTOR_READY now it's time to angle and led settings
nuimotor_control_transfer:: param0=3 param1=0
init motor
nuimotor_control_done:: result=0x0 count=1 arg=3
nuimotor_control_transfer:: param0=4 param1=0
set angle
nuimotor_control_done:: result=0x0 count=0 arg=4
nuimotor_control_transfer:: param0=5 param1=0
set led
nuimotor_control_done:: result=0x0 count=0 arg=5
nuimotor_control_transfer:: param0=6 param1=0
motor ready time to camera and audio sending NUIMOTOR_ENABLED
Nuimotor initialized set angle and led to red done tryng to see if other devices are already availables
kinect_probe:: dev_id=12
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_AUDIO idProduct ad02
kinect_attach:: dev_id=12
Getting device descriptor
nuiaudio_attach:: dev_id=12
Kinect NUI_AUDIO detected
Getting configuration descriptor
Verifying number of endpoints 4
Getting control endpoint descriptor for NUI_AUDIO 1
nuiaudio_control_transfer:: param0=0 param1=1
Set Configuration (bConfigurationValue=1)
nuiaudio_control_done:: result=0x0 count=0 arg=0
nuiaudio_control_transfer:: param0=1 param1=0
Set Interface (bInterfaceNumber=0, bAlternateSetting=0)
nuiaudio_control_done:: result=0x50 count=0 arg=1
result=0x50 count=0 arg=1
nuiaudio_control_transfer:: param0=2 param1=0
Sending event NUIAUDIO_READY
Received event NUIAUDIO_READY TODO audio initialization and isoc stuff
kinect_probe:: dev_id=13
USB device probe for kinect getting device descriptor
Usb device found has idVendor 5e04
New usb device found has NUI_CAMERA idProduct ae02
kinect_attach:: dev_id=13
Getting device descriptor
nuicamera_attach:: dev_id=13
Kinect NUI_CAMERA detected
Getting configuration descriptor
Verifying number of endpoints 2
Getting control endpoint descriptor for NUI_CAMERA 2
nuicamera_control_transfer:: param0=0 param1=1
Set Configuration (bConfigurationValue=1)
nuicamera_control_done:: result=0x0 count=0 arg=0
nuicamera_control_transfer:: param0=1 param1=0
Set Interface (bInterfaceNumber=0, bAlternateSetting=0)
nuicamera_control_done:: result=0x50 count=0 arg=1
result=0x50 count=0 arg=1
nuicamera_control_transfer:: param0=2 param1=0
Sending event NUICAMERA_READY
Received event NUICAMERA_READY TODO camera initialization and isoc stuff
kinect_detach:: dev_id=12
nuiaudio_detach:: dev_id=12
Sending event NUIAUDIO_DETACH
kinect_detach:: dev_id=11
nuimotor_detach:: dev_id=11
Sending event NUIMOTOR_DETACH
kinect_detach:: dev_id=13
nuicamera_detach:: dev_id=13
Sending event NUICAMERA_DETACH
Event received NUIAUDIO_DETACH
Event received NUIMOTOR_DETACH
Event received NUICAMERA_DETACH
time to go to XMB and unregister kinect driver...
Sunday, 14 November 2010
Subscribe to:
Posts (Atom)