SceUsbDevSerial: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
Line 111: Line 111:


<source lang="c">
<source lang="c">
int SceUsbDevSerial_DAE5C362(int a1);
int sceUsbDevSerialStart(int a1);
</source>
</source>


<source lang="c">
<source lang="c">
SceUdcdForDriver_90F8BCAE("USBDeviceControllerDriver", 0, 0, 2));
int ret = 0;
SceUdcdForDriver_90F8BCAE("USBSerialDriver", 0, 0, 2);
ret = sceUdcdStartToBusForDriver("USBDeviceControllerDriver", 0, 0, 2));
sceUdcdActivateToBusForDriver(0xFFFF, a1, 2);
if (ret != 0)
SceUdcdForDriver_150FD3BB("USBSerialDriver", 0, 0, 2);
    return ret;
SceUdcdForDriver_150FD3BB("USBDeviceControllerDriver", 0, 0, v4);
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;
</source>
</source>



Revision as of 16:09, 12 August 2018

Module

Not decryptable on Release firmwares.

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);

Known NIDs

Version Name World Privilege NID
3.60 SceUsbDevSerial Non-secure Kernel 0x9A1CD725

Libraries

Known NIDs

Version Name World Visibility NID
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

SceUsbDevSerial_9F497D4E

Version NID
3.60 0x9F497D4E
SceUdcdForDriver_FDC10F93(2, a2, a3, v2 << 0x10);
SceUdcdForDriver_150FD3BB("USBSerialDriver", 0, 0, 2);
SceUdcdForDriver_150FD3BB("USBDeviceControllerDriver", 0, 0, 2);

SceUsbDevSerial_C0FDECAF

Version NID
3.60 0xC0FDECAF

sceUsbDevSerialStart

Version NID
3.60 0xDAE5C362
int sceUsbDevSerialStart(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