Skip to content

Instantly share code, notes, and snippets.

@psxdev
psxdev / gist:f60074dacb77d0c6106b80d69dd95a39
Created August 30, 2020 09:55
Some love to PlayStation 2
[HOST] debugnet listener up
[HOST] ready to have a lot of fun!!!
loadelf: fname host:ps2nfs.elf secname all
Input ELF format filename = host:ps2nfs.elf
0 00100000 000914f8 ..........
1 00194440 00000004 .
Loaded, host:ps2nfs.elf
start address 0x1000d8
gp address 00000000
open name rom0:ROMVER flag 1 data 41378
@psxdev
psxdev / gist:a63a62c9c5f221e7a64482b5abf1dc9b
Created February 29, 2020 13:26
orbislink gl nfs as requested
#include "util.h"
#include <stdio.h>
#include <stdlib.h>
#include <kernel.h>
#include <system_service.h>
log: [PS4][INFO]: debugnet initialized
log: [PS4][INFO]: ready to have a lot of fun...
log: [PS4][DEBUG]: [ORBISLINK] initOrbisLinkApp before get nfsurl from config.ini
log: [PS4][DEBUG]: [ORBISLINK] initOrbisLinkApp nfsurl nfs://192.168.1.3/System/Volumes/Data/usr/local/orbisdev/git/ps4sh/bin/hostapp
log: [PS4][DEBUG]: [ORBISNFS] orbisNfsInit
log: [PS4][DEBUG]: [ORBISNFS] orbisNfsCreateConf
log: [PS4][DEBUG]: [ORBISNFS] orbisNfsInit calling nfs_init_context
log: [PS4][DEBUG]: [ORBISNFS] orbisNfsInit nfs_init_context return valid nfs object
log: [PS4][DEBUG]: [ORBISNFS] orbisNfsInit calling nfs_parse_url_dir
log: [PS4][DEBUG]: [ORBISNFS] orbisNfsInit nfs_parse_url_dir return valid urls object
@psxdev
psxdev / gist:dc6002388d06e199060e8368f427d650
Created January 25, 2020 20:14
It's time. Developers.... assemble
./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
/*
* OrbisEyeCam library
* Copyright (C) 2013,2014,2019 Antonio Jose Ramos Marquez (aka bigboss) @psxdev on twitter
*
* Repository https://github.com/psxdev/OrbisEyeCam
typedef struct OrbisEyeCamFrame
{
BYTE* header;
BYTE* audio;
@psxdev
psxdev / gist:d1a5ec910d89fdccbb61a3f1de065b2b
Created June 23, 2019 11:37
loading PlayStation Camera firmware second model using native winusb library on Windows 10 done
[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 June 23, 2019 01:05
loading PlayStation Camera firmware using native winusb library on Windows 10 done
[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 February 7, 2019 22:24
PlayStation 4 Camera driver function names and kernel offset from 5.05
cameraInitializeUtility 0000000000658340
cameraFinalizeUtility 00000000006583F0
utilSemaDestroy 0000000000658450
utilCondDestroy 0000000000658460
utilMalloc 0000000000658480
utilFree 00000000006584A0
utilGiantLock 00000000006584C0
utilGiantUnlock 00000000006584F0
utilEventLock 0000000000658520
utilEventUnlock 0000000000658550
@psxdev
psxdev / gist:5df66e4ae0f7ddbec8ea162b49d906e9
Created February 7, 2019 17:20
model cuh-ZEY2 firmware 5.05
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]
@psxdev
psxdev / gist:2a0eaed8a515a687a1083cc84ad81229
Created February 7, 2019 17:17
cuh-ZEY1 firmware 5.05
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]