PS4Eye: PS4 Eye Camera Tools and PlayStation 4 USB Comm Dump Out
Following up on the PlayStation 4 Eye / PS4 Camera Teardown, PS4 hacker ps4eye made available PS4Eye, which are some PS4 Eye Camera Tools alongside a PlayStation 4 Eye Camera USB communication dump (captured via [Register or Login to view links]) with details below.
[ps4eye] In case anyone is interested, here is a link to ps4 camera usb comm dump: drive.google.com/file/d/0B52YoWIKRvZ-MWl2Yk1MSVhkQTA/edit?usp=sharing, am looking for people to help develop a gspca driver and contribute to github.com/ps4eye/ps4eye
[marshallh] this is the sw to view the logs btw totalphase.com/products/data-center/
[PUNIETA] Data Center Software V6.61 - Total Phase
[ps4eye] thanks again marshallh for your help with that!
From his blog: Experimental PS4 Camera Tools
WARNING: These tools are still in development and may not allow for complete, if any, functionality of the camera. The PS4 camera is USB 3.0 only and is not compatible with USB 2.0 systems.
Pyusb 1.0 is required and may not be available through the package manager of some systems. Python-pip may help in installing the most recent version of pyusb:
The two cameras can be used together for depth-sensing of objects in its field of vision, akin to the Xbox 360’s Kinect peripheral. Alternatively, one of the cameras can be used for generating the video image, with the other used for motion tracking.
PS4 camera cable on the left in black, and a USB 3.0 cable on the right in blue. There is a green/white wire pair missing on the PS4 cable, this is the USB 2.0 differential pair for backwards compatibility, it is not necessary for connecting the PS4 camera to a USB 3.0 port.
Front and back views of the PS4 camera board, with microphone array attached. Back chip connected to special USB 3.0 port is labeled OV00580-B21G-1C PPU889 1322 09. Front chip connected to microphone array is labeled 5703 324A. The rear external port appears very similar to a micro USB 2.0 socket, except slightly larger and with additional connections.
Circled in red are screw holes beneath the front lens cover, if you are so inclined to disassemble your PS4 camera.
Official PS4 Camera Specifications
External Dimensions: Approx. 186mm x 27mm x 27mm (width x height x depth)
Weight: Approx. 183g
Video Pixel: (Maximum) 1280 x 800 pixel x 2
Video Frame Rate:
1280x800 pixel @ 60fps
640x400 pixel @ 120fps
320x192 pixel @ 240fps
Video Format: RAW YUV (uncompressed)
Lens: Dual Lenses, F value/F2.0 fixed focus
Capture Range: 30cm~
Field-of-View: 85 degrees
Microphone: 4 Channel Microphone Array
Connection Type: PS4 dedicated connector (AUX connector)
Cable Length: Approx. 2m
I had released the first public version of PS4EYECam driver. You can get full information in my PS4EYECam repository.
It is the first public driver for PlayStation 4 Camera licensed under gpl. I have free afternoons available if someone is interested to offer me a partial job
Enjoy and remember the best is yet to come...
What is PS4EYECam?
PS4EYECam is a Sony PlayStation 4 Camera driver implementation reference.
The driver is using libusb (github.com/libusb/libusb) to handle USB communications.
Part of code was based on PS3EYEDriver (github.com/inspirit/PS3EYEDriver).
Payload parsing stuff parts from Linux kernel source (gspca).
UVC video control from libuvc (github.com/ktossell/libuvc).
Boot and initialization from dumped PlayStation 4 Camera firmware ps4eye (github.com/ps4eye/ps4eye).
Other parts and research based on my experience adding support for different usb devices for Sony PlayStation 2 and Sony PlayStation 3 consoles (ps2eyetoy.irx, ps2mic.irx, ps3kinect.sprx, etc).
About PlayStation 4 Camera device
PlayStation 4 Camera has a Sony propietary connector called AUX, it is an USB 3 connector without USB 2 differential data pair(d+ and d-). If you want to use it on other platform different than PlayStation 4 console you must adapt wire and connector to USB 3.