DualSense HID Commands: Difference between revisions

From PS5 Developer wiki
Jump to navigation Jump to search
Line 108: Line 108:
ReportID = 160,
ReportID = 160,
SetCmd = 2
SetCmd = 2
</pre>
= Set VDD External Power Off =
<pre>
ReportID = 160,
DeviceID = 17,
ActionID = 1,
Param = 0
</pre>
</pre>



Revision as of 00:11, 2 April 2024

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 (DANGEROUS)

    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

Set Read OTP (Juicy?)

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

Set Secure Boot Loader (Juicy?) DANGEROUS MAYBE?

ReportID = 160,
	SetCmd = 2

Set VDD External Power Off

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

NVS Unlock

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

to unlock NVS, use the command

SET 0x80 {3, 2, 101, 50, 64, 12}