DualSense HID Commands: Difference between revisions

From PS5 Developer wiki
Jump to navigation Jump to search
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
* 128 (0x80) means SET
= Spider DSP Init Get Status =
* 129 (0x81) means GET
 
* 160 (0xA0) means SELECT?
<pre>
* 240 (0xC0) means FLASH?
ReportID = 129,
DeviceID = 16,
ActionID = 1
</pre>


= Spider DSP Get Status =
= Spider DSP Get Status =
Line 10: Line 13:
DeviceID = 16,
DeviceID = 16,
ActionID = 2
ActionID = 2
</pre>
= Spider DSP Patch Finalize =
<pre>
ReportID = 128,
DeviceID = 16,
ActionID = 5
</pre>
</pre>


Line 25: Line 35:
ActionID = 2,
ActionID = 2,
DataLen = 57
DataLen = 57
</pre>
= Spider DSP Firmware Patch Init =
<pre>
ReportID = 128,
DeviceID = 16,
ActionID = 1
</pre>
= Spider DSP Firmware Verify =
<pre>
ReportID = 128,
DeviceID = 16,
ActionID = 3
</pre>
= Spider DSP Firmware Verify Status =
<pre>
ReportID = 129,
DeviceID = 16,
ActionID = 5
</pre>
= Spider DSP Firmware Verify Request =
<pre>
ReportID = 128,
DeviceID = 16,
ActionID = 7
</pre>
= Spider DSP Firmware Verify Request Status =
<pre>
ReportID = 129,
DeviceID = 16,
ActionID = 7
</pre>
</pre>


Line 71: Line 119:
<pre>
<pre>
     ReportID = 32
     ReportID = 32
</pre>
= Start Gyroscope Offset =
<pre>
ReportID = 144,
ActionID = 1,
DeviceID = 2,
TargetID = 7
</pre>
</pre>


Line 237: Line 294:
</pre>
</pre>


= Set DFU Mode (DANGEROUS) =
= Set DFU Mode =


<pre>
<pre>
Line 289: Line 346:
</pre>
</pre>


= Get Read OTP (Juicy?) =
= Get Read OTP =


<pre>
<pre>
Line 297: Line 354:
</pre>
</pre>


= Set Read OTP (Juicy?) =
= Set Read OTP =


<pre>
<pre>
Line 307: Line 364:
</pre>
</pre>


= Set Secure Boot Loader (Juicy?) DANGEROUS MAYBE? =
= Set Secure Boot Loader =


<pre>
<pre>
Line 330: Line 387:
ActionID = 1,
ActionID = 1,
Param = 1
Param = 1
</pre>
= Venom Get Status =
<pre>
ReportID = 129,
DeviceID = 15,
ActionID = 2
</pre>
</pre>


Line 338: Line 403:
DeviceID = 6,
DeviceID = 6,
ActionID = 3
ActionID = 3
</pre>
= Venom Finalize Get Status =
<pre>
ReportID = 129,
DeviceID = 15,
ActionID = 5
</pre>
= Venom Firmware Patch =
<pre>
ReportID = 128,
DeviceID = 15,
ActionID = 2,
DataLen = 57
</pre>
= Venom Firmware Patch Init =
<pre>
ReportID = 128,
DeviceID = 15,
ActionID = 1
</pre>
= Venom Firmware Verify =
<pre>
ReportID = 128,
DeviceID = 15,
ActionID = 3
</pre>
= Venom Firmware Verify Request =
<pre>
ReportID = 128,
DeviceID = 15,
ActionID = 7
</pre>
= Venom Firmware Verify Request Status =
<pre>
ReportID = 129,
DeviceID = 15,
ActionID = 7
</pre>
= Venom Firmware Verify Status =
<pre>
ReportID = 129,
DeviceID = 15,
ActionID = 5
</pre>
= Venom Init Get Status =
<pre>
ReportID = 129,
DeviceID = 15,
ActionID = 1
</pre>
= Venom Patch Finalize =
<pre>
ReportID = 128,
DeviceID = 15,
ActionID = 5
</pre>
</pre>



Revision as of 01:03, 2 April 2024

Spider DSP Init Get Status

	ReportID = 129,
	DeviceID = 16,
	ActionID = 1

Spider DSP Get Status

	ReportID = 129,
	DeviceID = 16,
	ActionID = 2

Spider DSP Patch Finalize

	ReportID = 128,
	DeviceID = 16,
	ActionID = 5

Spider DSP Finalize Get Status

	ReportID = 129,
	DeviceID = 16,
	ActionID = 5

Spider DSP Firmware Patch

	ReportID = 128,
	DeviceID = 16,
	ActionID = 2,
	DataLen = 57

Spider DSP Firmware Patch Init

	ReportID = 128,
	DeviceID = 16,
	ActionID = 1

Spider DSP Firmware Verify

	ReportID = 128,
	DeviceID = 16,
	ActionID = 3

Spider DSP Firmware Verify Status

	ReportID = 129,
	DeviceID = 16,
	ActionID = 5

Spider DSP Firmware Verify Request

	ReportID = 128,
	DeviceID = 16,
	ActionID = 7

Spider DSP Firmware Verify Request Status

	ReportID = 129,
	DeviceID = 16,
	ActionID = 7

Get Table ID

	ReportID = 164,
	DeviceID = 3,
	ActionID = 2,
	DataLenLocal = 5

Reset

	ReportID = 128,
	DeviceID = 1,
	ActionID = 1

Request Table ID

	ReportID = 160,
	DeviceID = 3,
	ActionID = 2

Reboot Secure Boot Loader

	ReportID = 128,
	RebootCmd = 1

Read Patch Info

	ReportID = 128,
	DeviceID = 9,
	ActionID = 13

Get Firmware Info

    ReportID = 32

Start Gyroscope Offset

	ReportID = 144,
	ActionID = 1,
	DeviceID = 2,
	TargetID = 7

Get Gyroscope Offset State

	ReportID = 145,
	DeviceID = 2,
	TargetID = 7

Get BlueTooth Patch Data

	ReportID = 129,
	DeviceID = 14,
	ActionID = 3

Get BlueTooth Patch Info

	ReportID = 129,
	DeviceID = 9,
	ActionID = 13

Get Audio Codec State

	ReportID = 164,
	DeviceID = 16,
	ActionID = 1

Flash

	ReportID = 240,
	DownloadCmd = 0,
	DataLen = 57,
	WriteCmd = 1

Audio Codec Select

	ReportID = 160,
	DeviceID = 16,
	ActionID = 1

Blue Tooth Patch

	ReportID = 128,
	DeviceID = 14,
	ActionID = 2,
	DataLen = 57

Read Blue Tooth Patch

	ReportID = 128,
	DeviceID = 14,
	ActionID = 4

Read Blue Tooth Patch Info

	ReportID = 129,
	DeviceID = 14,
	ActionID = 4

Blue Tooth Patch Finalize

	ReportID = 128,
	DeviceID = 14,
	ActionID = 5

Blue Tooth Patch Init

	ReportID = 128,
	DeviceID = 14,
	ActionID = 1

Blue Tooth Patch Restart

	ReportID = 128,
	DeviceID = 14,
	ActionID = 6

Blue Tooth Patch Verify

	ReportID = 128,
	DeviceID = 14,
	ActionID = 3

Blue Tooth Restart Result

	ReportID = 129,
	DeviceID = 14,
	ActionID = 6

Get BD Address

	ReportID = 129,
	DeviceID = 9,
	ActionID = 2,
	DataLen = 6

Set BD Address

    ReportID = 128,
	DeviceID = 9,
	ActionID = 1,
	ReadCmd = 2,
	DataLen = 6

Set BlueTooth Disable Enable

	ReportID = 128,
	DeviceID = 9,
	ActionID = 5,
	Param = 0

Set BlueTooth Enable

    ReportID = 128,
	DeviceID = 9,
	ActionID = 5,
	Param = 1

Set BlueTooth Table

    ReportID = 165,
	PowerTable = 1,
	RadioTable = 2,
	DataLen = 16,
	DataBegin = 0,
	PowerTableSize = 224,
	RadioTableSize = 112,
	DataMaxLen = (max value of a byte, 255)
	DataMinLen = 0

Set DFU Mode

    ReportID = 160,
	DisableMode = 0,
	EnablePBLMode = 1,
	EnableSBLMode = 2,
	EnableMode = 1

Set Hardware Version

    ReportID = 128,
	DeviceID = 1,
	ActionID = 5

Set PC BAID

ReportID = 128,
	DeviceID = 1,
	ActionID = 3,
	ReadCmd = 4,
	DataLen = 6

Set Power Charge Off

	ReportID = 128,
	DeviceID = 2,
	ActionID = 3,
	Param0 = 208,
	Param1 = 38,
	Param2 = 117,
	Param3 = 192

Set Power Charge On

	ReportID = 128,
	DeviceID = 2,
	ActionID = 2,
	Param0 = 208,
	Param1 = 38,
	Param2 = 117,
	Param3 = 192

Get Read OTP

	ReportID = 164,
	DeviceID = 3,
	ActionID = 9

Set Read OTP

ReportID = 160,
	DeviceID = 3,
	ActionID = 9,
	Offset = 23,
	Length = 1

Set Secure Boot Loader

ReportID = 160,
	SetCmd = 2

Set VDD External Power Off

ReportID = 160,
	DeviceID = 17,
	ActionID = 1,
	Param = 0

Set VDD External Power On

ReportID = 160,
	DeviceID = 17,
	ActionID = 1,
	Param = 1

Venom Get Status

	ReportID = 129,
	DeviceID = 15,
	ActionID = 2

Set Venom FW Version

ReportID = 128,
	DeviceID = 6,
	ActionID = 3

Venom Finalize Get Status

	ReportID = 129,
	DeviceID = 15,
	ActionID = 5

Venom Firmware Patch

	ReportID = 128,
	DeviceID = 15,
	ActionID = 2,
	DataLen = 57

Venom Firmware Patch Init

	ReportID = 128,
	DeviceID = 15,
	ActionID = 1

Venom Firmware Verify

	ReportID = 128,
	DeviceID = 15,
	ActionID = 3

Venom Firmware Verify Request

	ReportID = 128,
	DeviceID = 15,
	ActionID = 7

Venom Firmware Verify Request Status

	ReportID = 129,
	DeviceID = 15,
	ActionID = 7

Venom Firmware Verify Status

	ReportID = 129,
	DeviceID = 15,
	ActionID = 5

Venom Init Get Status

	ReportID = 129,
	DeviceID = 15,
	ActionID = 1

Venom Patch Finalize

	ReportID = 128,
	DeviceID = 15,
	ActionID = 5

Set bonding

	ReportID = 128,
	DeviceID = 1,
	ActionID = 14

NVS Unlock

  ReportID = 128, 
  DeviceID = 3,
  ActionID = 2,
  Param0 = 101,
  Param1 = 50,
  Param2 = 64,
  Param3 = 12