SceUsbDevSerial: Difference between revisions
Jump to navigation
Jump to search
(→Module: Mark module as present down to 0.995, remove NID/fingerprint, add SELF location) |
CelesteBlue (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
* Does not check sceIdStorageLookupForDriver(0x112, 0, /*s_data_81003184*/ "", 0x40); (might be Driver name similarly to PSP IdStorage) | * Does not check sceIdStorageLookupForDriver(0x112, 0, /*s_data_81003184*/ "", 0x40); (might be Driver name similarly to PSP IdStorage) | ||
This module exists only in | This module exists only in Non-secure world. The SELF can be found in <code>os0:kd/usbdev_serial.skprx</code>. | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Version | ! Version !! World !! Privilege | ||
|- | |- | ||
| 0.995-3.60 | | 0.995-3.60 || Non-secure || Kernel | ||
|} | |} | ||
Revision as of 20:52, 30 January 2022
Module
A simplified and internal development version of SceUsbSerial:
- Does not check SceSblACMgrForDriver for processes capabilities.
- Does not check sceIdStorageLookupForDriver(0x112, 0, /*s_data_81003184*/ "", 0x40); (might be Driver name similarly to PSP IdStorage)
This module exists only in Non-secure world. The SELF can be found in os0:kd/usbdev_serial.skprx
.
Version | World | Privilege |
---|---|---|
0.995-3.60 | Non-secure | Kernel |
Libraries
Known NIDs
Version | Name | World | Visibility | NID |
---|---|---|---|---|
0.995-3.60 | SceUsbSerial | Non-secure | User | 0x125C67C7 |
SceUsbDevSerial
SceUsbDevSerial_4437FF2D
Version | NID |
---|---|
3.60 | 0x4437FF2D |
SceUsbDevSerial_57FBB08C
Version | NID |
---|---|
3.60 | 0x57FBB08C |
SceUsbDevSerial_6F2B3960
Version | NID |
---|---|
3.60 | 0x6F2B3960 |
SceUsbDevSerial_918D359E
Version | NID |
---|---|
3.60 | 0x918D359E |
sceUsbDevSerialFinalize
Version | NID |
---|---|
0.990-3.60 | 0x9F497D4E |
/** * Stops USB Dev Serial device */ int sceUsbDevSerialFinalize(void);
sceUdcdDeactivateToBusForDriver(2); sceUdcdStopToBusForDriver("USBSerialDriver", 0, 0, 2); sceUdcdStopToBusForDriver("USBDeviceControllerDriver", 0, 0, 2);
sceUsbDevSerialGetDeviceState
Version | NID |
---|---|
0.990-3.60 | 0xC0FDECAF |
Calls sceUdcdGetDeviceStateInternalForDriver(2, a2, a3, 2).
sceUsbDevSerialGetDeviceState(int a1, int a2, int a3);
sceUsbDevSerialInit
Version | NID |
---|---|
0.990-3.60 | 0xDAE5C362 |
/** * Initialize USB Dev serial device * * @return 0 on success, < 0 on error */ int sceUsbDevSerialInit(int a1);
int ret = 0; ret = sceUdcdStartToBusForDriver("USBDeviceControllerDriver", 0, 0, 2)); if (ret != 0) return ret; ret = sceUdcdStartToBusForDriver("USBSerialDriver", 0, 0, 2); if (ret != 0) { sceUdcdStopToBusForDriver("USBDeviceControllerDriver", 0, 0, v4); return ret; } ret = sceUdcdActivateToBusForDriver(0xFFFF, a1, 2); if (ret != 0) sceUdcdStopToBusForDriver("USBSerialDriver", 0, 0, 2); return ret;
SceUsbDevSerial_F0C3F3D4
Version | NID |
---|---|
3.60 | 0xF0C3F3D4 |