Skip to content

Instantly share code, notes, and snippets.

Avatar

Antonio Jose Ramos Marquez psxdev

View GitHub Profile
@psxdev
psxdev / gist:d1a5ec910d89fdccbb61a3f1de065b2b
Created Jun 23, 2019
loading PlayStation Camera firmware second model using native winusb library on Windows 10 done
View gist:d1a5ec910d89fdccbb61a3f1de065b2b
[Port13] : Dispositivo compuesto USB
Is Port User Connectable: yes
Is Port Debug Capable: yes
Companion Port Number: 1
Companion Hub Symbolic Link Name: USB#ROOT_HUB30#4&11b2f50b&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
Protocols Supported:
USB 1.1: no
USB 2.0: no
@psxdev
psxdev / gist:21183041ccb64962880e1f11b022bbe1
Created Jun 23, 2019
loading PlayStation Camera firmware using native winusb library on Windows 10 done
View gist:21183041ccb64962880e1f11b022bbe1
[Port13] : Dispositivo compuesto USB
Is Port User Connectable: yes
Is Port Debug Capable: yes
Companion Port Number: 1
Companion Hub Symbolic Link Name: USB#ROOT_HUB30#4&11b2f50b&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
Protocols Supported:
USB 1.1: no
USB 2.0: no
@psxdev
psxdev / gist:dd19859a4b689bd04dcb264b64cae7ab
Created Feb 7, 2019
PlayStation 4 Camera driver function names and kernel offset from 5.05
View gist:dd19859a4b689bd04dcb264b64cae7ab
cameraInitializeUtility 0000000000658340
cameraFinalizeUtility 00000000006583F0
utilSemaDestroy 0000000000658450
utilCondDestroy 0000000000658460
utilMalloc 0000000000658480
utilFree 00000000006584A0
utilGiantLock 00000000006584C0
utilGiantUnlock 00000000006584F0
utilEventLock 0000000000658520
utilEventUnlock 0000000000658550
View gist:5df66e4ae0f7ddbec8ea162b49d906e9
model cuh-ZEY2 16/06 S/N13310660043160
firmware 5.05
---------------------------------------
<118>[SceShellCore] Libc Heap Status: free 51%, in-use 2990.2 KB, trend +0.9 KB/min, peak 3055.2 KB, when 187 [sec]
ugen2.2: <OmniVision Technologies, Inc., USB Boot, >(VID=0x05a9 PID=0x0580 depth=1 port=2 speed=4) at usbus2
<118>#LOGIN MGR# Receive Event : SCE_MBUS_EVENT_CAMERA_EVENT
ugen2.2: <OmniVision Technologies, Inc., USB Boot, > at usbus2 (disconnected)
camera0: at uhub2, port 2, addr 1 (disconnected)
ugen2.2: <Omnivision Technologies, Inc., USB Camera-OV580, >(VID=0x05a9 PID=0x058b depth=1 port=2 speed=4) at usbus2
CameraID [10 45]
View gist:2a0eaed8a515a687a1083cc84ad81229
model cuh-ZEY1
firmware 5.05
-------------------------------------------
ugen2.2: <OmniVision Technologies, Inc., USB Boot, >(VID=0x05a9 PID=0x0580 depth=1 port=2 speed=4) at usbus2
<118>#LOGIN MGR# Receive Event : SCE_MBUS_EVENT_CAMERA_EVENT
ugen2.2: <OmniVision Technologies, Inc., USB Boot, > at usbus2 (disconnected)
camera0: at uhub2, port 2, addr 1 (disconnected)
ugen2.2: <Omnivision Technologies, Inc., USB Camera-OV580, >(VID=0x05a9 PID=0x058a depth=1 port=2 speed=4) at usbus2
CameraID [10 25]
BridgeID [02]
View gist:44b041fd01d01f570e9182ef9102eb66
bigmini:bin bigboss$ ./ps4sh
ps4sh version 1.0
/Users/bigboss/.ps4shrc: No such file or directory
log: [HOST][INFO]: [PS4SH] Ready
log: [PS4][INFO]: debugnet initialized
log: [PS4][INFO]: ready to have a lot of fun...
log: [PS4][INFO]: [PS4LINK] Server request thread UID: 0x80F4C9C0
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_requests_sock: 7
log: [PS4][INFO]: [PS4LINK] Server command thread UID: 0x80F4CE40
@psxdev
psxdev / gist:43fcc3f5d7fb8b8aee8f76d8e3914b88
Created Jan 1, 2019
fixing crap on retroarch host support is almost here
View gist:43fcc3f5d7fb8b8aee8f76d8e3914b88
log: [PS4][DEBUG]: [PS4LINK] wrote 34 bytes (asked for 34)
log: [PS4][DEBUG]: [PS4LINK] file write req (fd: 8)
log: [PS4][DEBUG]: [PS4LINK] wrote 35 bytes (asked for 35)
log: [PS4][DEBUG]: [PS4LINK] file write req (fd: 8)
log: [PS4][DEBUG]: [PS4LINK] wrote 30 bytes (asked for 30)
log: [PS4][DEBUG]: [PS4LINK] file write req (fd: 8)
log: [PS4][DEBUG]: [PS4LINK] wrote 35 bytes (asked for 35)
log: [PS4][DEBUG]: [PS4LINK] file write req (fd: 8)
log: [PS4][DEBUG]: [PS4LINK] wrote 34 bytes (asked for 34)
log: [PS4][DEBUG]: [PS4LINK] file write req (fd: 8)
View gist:ab6bc9364f56e4943d605e902370d7ee
./ps4sh
ps4sh version 1.0
/Users/bigboss/.ps4shrc: No such file or directory
log: [HOST][INFO]: [PS4SH] Ready
log: [PS4][INFO]: debugnet initialized
log: [PS4][INFO]: ready to have a lot of fun...
log: [PS4][INFO]: [PS4LINK] Server request thread UID: 0x80F4C9C0
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_requests_sock: 7
log: [PS4][INFO]: [PS4LINK] Server command thread UID: 0x80F4CE40
View main.c
#include <stdio.h>
#include <stdlib.h>
#include <kernel.h>
#include <system_service.h>
#include <orbis2d.h>
#include <orbisPad.h>
#include <orbisAudio.h>
#include <orbisKeyboard.h>
#include <modplayer.h>
View gist:df990b827388296898728e2f791f2982
log: [PS4][INFO]: debugnet initialized
log: [PS4][INFO]: ready to have a lot of fun...
log: [PS4][INFO]: [PS4LINK] Server request thread UID: 0x81F209C0
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_requests_sock: 14
log: [PS4][DEBUG]: [PS4LINK] bind to ps4link_requests_sock done
log: [PS4][DEBUG]: [PS4LINK] Ready for connection 1
log: [PS4][INFO]: [PS4LINK] Waiting for connection
log: [PS4][INFO]: [PS4LINK] Server command thread UID: 0x81F20E40
log: [PS4][DEBUG]: [PS4LINK] Command Thread Started.
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_commands_sock: 16
You can’t perform that action at this time.