You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python replay.py
Traceback (most recent call last):
File "/home/james/development/psvr2/usbrply/replay.py", line 10, in
buff = controlRead(0xC2, 0x01, 0x00A1, 0x0000, 12)
^^^^^^^^^^^
NameError: name 'controlRead' is not defined
It's obviously generated the code because I have a ~750mb file with the codes in it. But I don't know howto verify the controlRead function. What library provides it?
python replay.py
Traceback (most recent call last):
File "/home/james/development/psvr2/usbrply/replay.py", line 10, in
buff = controlRead(0xC2, 0x01, 0x00A1, 0x0000, 12)
^^^^^^^^^^^
NameError: name 'controlRead' is not defined
It's obviously generated the code because I have a ~750mb file with the codes in it. But I don't know howto verify the controlRead function. What library provides it?
#!/usr/bin/env python3
Generated by usbrply
cmd: /usr/local/bin/usbrply --vid 0x054c --pid 0x0cde -p PSVR_Activation_Codes1.pcapng
Generated by usbrply
Source: Windows pcap (USBPcap)
cmd: /usr/local/bin/usbrply --vid 0x054c --pid 0x0cde -p PSVR_Activation_Codes1.pcapng
VidpidFilter: match device 14 w/ 0x054C:0x0CDE
Generated from packet 7/8
buff = controlRead(0xC2, 0x01, 0x00A1, 0x0000, 12)
validate_read(b"\xA1\x00\x01\x00\x04\x00\x00\x00\x00\x00\x00\x01", buff, "packet 7/8")
Generated from packet 9/10
buff = controlRead(0xC2, 0x01, 0x0081, 0x0000, 92)
validate_read(b"\x81\x00\x01\x00\x54\x00\x00\x00\x02\x01\x00\x06\x00\x00\x00\x00"
b"\x36\x65\x39\x37\x64\x62\x33\x31\x33\x35\x35\x38\x37\x65\x65\x66"
b"\x37\x32\x39\x63\x39\x65\x38\x39\x34\x31\x37\x66\x37\x38\x61\x37"
b"\x36\x64\x63\x61\x33\x63\x61\x35\xCF\x00\x00\x00\x0B\x00\x00\x00"
b"\x31\x36\x31\x31\x31\x33\x30\x36\x30\x34\x33\x30\x32\x38\x00\x00"
b"\x00\x00\x00\x00\x00\x00\x00\x1
The text was updated successfully, but these errors were encountered: