ScePower: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
Line 274: Line 274:
== ScePowerForDriver ==
== ScePowerForDriver ==


=== scePowerGetBatteryCycleCount ===
=== scePowerGetBatteryCycleCountForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x8A54B9
| 1.69 || 0x8A54B9
|}
|}
=== scePowerRequestSoftReset ===
 
=== scePowerRequestSoftResetForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 3.60 || 0x2875994B
| 3.60 || 0x2875994B
|}
|}
=== scePowerRequestColdReset ===
=== scePowerRequestColdResetForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 295: Line 294:
| 1.69 || 0x442D852
| 1.69 || 0x442D852
|}
|}
=== scePowerRegisterCallback ===
=== scePowerRegisterCallbackForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 302: Line 301:
| 1.69 || 0x4B7766E
| 1.69 || 0x4B7766E
|}
|}
=== scePowerGetGpuXbarClockFrequency ===
=== scePowerGetGpuXbarClockFrequencyForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 309: Line 308:
| 1.69 || 0xA750DEE
| 1.69 || 0xA750DEE
|}
|}
=== scePowerIsBatteryExist ===
=== scePowerIsBatteryExistForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 316: Line 315:
| 1.69 || 0xAFD0D8B
| 1.69 || 0xAFD0D8B
|}
|}
=== scePowerGetGpuClockFrequency ===
=== scePowerGetGpuClockFrequencyForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 323: Line 322:
| 1.69 || 0x1B04A1D6
| 1.69 || 0x1B04A1D6
|}
|}
=== scePowerIsBatteryCharging ===
=== scePowerIsBatteryChargingForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 330: Line 329:
| 1.69 || 0x1E490401
| 1.69 || 0x1E490401
|}
|}
=== scePowerGetBatteryLifePercent ===
=== scePowerGetBatteryLifePercentForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 337: Line 336:
| 1.69 || 0x2085D15D
| 1.69 || 0x2085D15D
|}
|}
=== scePowerBatteryUpdateInfo ===
=== scePowerBatteryUpdateInfoForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 344: Line 343:
| 1.69 || 0x27F3292C
| 1.69 || 0x27F3292C
|}
|}
=== scePowerGetBatteryTemp ===
=== scePowerGetBatteryTempForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 351: Line 350:
| 1.69 || 0x28E12023
| 1.69 || 0x28E12023
|}
|}
=== scePowerRequestStandby ===
=== scePowerRequestStandbyForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 358: Line 357:
| 1.69 || 0x2B7C7CF4
| 1.69 || 0x2B7C7CF4
|}
|}
=== scePowerGetBatteryVolt ===
=== scePowerGetBatteryVoltForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 365: Line 364:
| 1.69 || 0x483CE86B
| 1.69 || 0x483CE86B
|}
|}
=== scePowerGetCaseTemp ===
=== scePowerGetCaseTempForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 372: Line 371:
| 1.69 || 0x525592E4
| 1.69 || 0x525592E4
|}
|}
=== scePowerSetGpuClockFrequency ===
=== scePowerSetGpuClockFrequencyForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 382: Line 381:
|}
|}


=== scePowerSetArmClockFrequency ===
=== scePowerSetArmClockFrequencyForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 389: Line 388:
| 1.69 || 0x74DB5AE5
| 1.69 || 0x74DB5AE5
|}
|}
=== scePowerIsSuspendRequired ===
=== scePowerIsSuspendRequiredForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x78A1A796
| 1.69 || 0x78A1A796
|}
|}
=== scePowerIsRequest ===
 
=== scePowerIsRequestForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x7FA406DD
| 1.69 || 0x7FA406DD
|}
|}
=== scePowerGetBatteryElec ===
 
=== scePowerGetBatteryElecForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x862AE1A6
| 1.69 || 0x862AE1A6
|}
|}
=== scePowerIsPowerOnline ===
 
=== scePowerIsPowerOnlineForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x87440F5E
| 1.69 || 0x87440F5E
|}
|}
=== scePowerGetBatteryLifeTime ===
 
=== scePowerGetBatteryLifeTimeForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x8EFB3FA2
| 1.69 || 0x8EFB3FA2
|}
|}
=== scePowerGetBatteryRemainCapacity ===
 
=== scePowerGetBatteryRemainCapacityForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x94F5A53F
| 1.69 || 0x94F5A53F
|}
|}
=== scePowerSetGpuXbarClockFrequency ===
 
=== scePowerSetGpuXbarClockFrequencyForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xA7739DBE
| 1.69 || 0xA7739DBE
|}
|}
=== scePowerGetBatterySOH ===
 
=== scePowerGetBatterySOHForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xA88A2B65
| 1.69 || 0xA88A2B65
|}
|}
=== scePowerGetArmClockFrequency ===
 
=== scePowerGetArmClockFrequencyForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xABC6F88F
| 1.69 || 0xABC6F88F
|}
|}
=== scePowerRequestSuspend ===
 
=== scePowerRequestSuspendForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xAC32C9CC
| 1.69 || 0xAC32C9CC
|}
|}
=== scePowerGetBatteryChargingStatus ===
 
=== scePowerGetBatteryChargingStatusForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xB4432BC8
| 1.69 || 0xB4432BC8
|}
|}
=== scePowerIsLowBattery ===
 
=== scePowerIsLowBatteryForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xD3075926
| 1.69 || 0xD3075926
|}
|}
=== scePowerCancelRequest ===
 
=== scePowerCancelRequestForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xDB62C9CF
| 1.69 || 0xDB62C9CF
|}
|}
=== scePowerUnregisterCallback ===
 
=== scePowerUnregisterCallbackForDriver ===
{| class="wikitable"
{| class="wikitable"
! Version !! NID
|-
|-
| 1.69 || 0xDFA8BAF8
|}
=== scePowerGetBatteryFullCapacityForDriver ===
{| class="wikitable"
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xDFA8BAF8
| 1.69 || 0xFD18A0FF
|}
|}
=== scePowerGetBatteryFullCapacity ===
 
=== reset USB charge ===
{| class="wikitable"
{| class="wikitable"
! Version !! NID
|-
|-
| 3.60 || 0x90285886
|}
<source lang="c">
int ScePowerForDriver_90285886(void);
</source>
=== enable/disable USB charge ===
{| class="wikitable"
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xFD18A0FF
| 3.60 || 0xF535D928
|}
|}
<source lang="c">
// ex: ScePowerForDriver_F535D928(0x8000, 0);
// ex: ScePowerForDriver_F535D928(0x8000, 1);
int ScePowerForDriver_F535D928(int unk, int enable);
</source>


== SceLedForDriver ==
== SceLedForDriver ==

Revision as of 16:25, 12 August 2018

Module

Known NIDs

Version Name World Privilege NID
1.69 ScePower Non-secure Kernel 0xF0ADE873
3.60 ScePower Non-secure Kernel 0x5EAE6AEC

Libraries

Known NIDs

Version Name World Visibility NID
1.69 ScePower Non-secure User 0x1082DA7F
3.60 ScePower Non-secure User 0x1082DA7F
1.69 ScePowerForDriver Non-secure Kernel 0x1590166F
3.60 ScePowerForDriver Non-secure Kernel 0x1590166F
1.69 SceLedForDriver Non-secure Kernel 0x282C1323
3.60 SceLedForDriver Non-secure Kernel 0x282C1323

ScePower

scePowerGetBatteryCycleCount

Version NID
1.69 0x8A54B9

scePowerRequestColdReset

Version NID
1.69 0x442D852

scePowerRegisterCallback

Version NID
1.69 0x4B7766E

scePowerGetGpuXbarClockFrequency

Version NID
1.69 0xA750DEE

scePowerIsBatteryExist

Version NID
1.69 0xAFD0D8B

scePowerGetGpuClockFrequency

Version NID
1.69 0x1B04A1D6

scePowerIsBatteryCharging

Version NID
1.69 0x1E490401

scePowerGetBatteryLifePercent

Version NID
1.69 0x2085D15D

scePowerBatteryUpdateInfo

Version NID
1.69 0x27F3292C

scePowerGetBatteryTemp

Version NID
1.69 0x28E12023

scePowerRequestStandby

Version NID
1.69 0x2B7C7CF4

scePowerSetConfigurationMode

Version NID
1.69 0x3CE187B6

scePowerGetBatteryVolt

Version NID
1.69 0x483CE86B

scePowerSetUsingWireless

Version NID
1.69 0x4D695C1F

scePowerGetCaseTemp

Version NID
1.69 0x525592E4

scePowerSetGpuClockFrequency

Version NID
1.69 0x717DB06C

scePowerSetArmClockFrequency

Version NID
1.69 0x74DB5AE5

scePowerIsSuspendRequired

Version NID
1.69 0x78A1A796

scePowerIsRequest

Version NID
1.69 0x7FA406DD

scePowerGetBatteryElec

Version NID
1.69 0x862AE1A6

scePowerIsPowerOnline

Version NID
1.69 0x87440F5E

scePowerGetBatteryLifeTime

Version NID
1.69 0x8EFB3FA2

scePowerGetBatteryRemainCapacity

Version NID
1.69 0x94F5A53F

scePowerSetGpuXbarClockFrequency

Version NID
1.69 0xA7739DBE

scePowerGetBatterySOH

Version NID
1.69 0xA88A2B65

scePowerGetArmClockFrequency

Version NID
1.69 0xABC6F88F

scePowerRequestSuspend

Version NID
1.69 0xAC32C9CC

scePowerSetIdleTimerCount

Version NID
1.69 0xB11EF149

scePowerGetBatteryChargingStatus

Version NID
1.69 0xB4432BC8

scePowerIsLowBattery

Version NID
1.69 0xD3075926

scePowerGetUsingWireless

Version NID
1.69 0xD541FF03

scePowerCancelRequest

Version NID
1.69 0xDB62C9CF

scePowerUnregisterCallback

Version NID
1.69 0xDFA8BAF8

scePowerGetBatteryFullCapacity

Version NID
1.69 0xFD18A0FF

ScePowerForDriver

scePowerGetBatteryCycleCountForDriver

Version NID
1.69 0x8A54B9

scePowerRequestSoftResetForDriver

Version NID
3.60 0x2875994B

scePowerRequestColdResetForDriver

Version NID
1.69 0x442D852

scePowerRegisterCallbackForDriver

Version NID
1.69 0x4B7766E

scePowerGetGpuXbarClockFrequencyForDriver

Version NID
1.69 0xA750DEE

scePowerIsBatteryExistForDriver

Version NID
1.69 0xAFD0D8B

scePowerGetGpuClockFrequencyForDriver

Version NID
1.69 0x1B04A1D6

scePowerIsBatteryChargingForDriver

Version NID
1.69 0x1E490401

scePowerGetBatteryLifePercentForDriver

Version NID
1.69 0x2085D15D

scePowerBatteryUpdateInfoForDriver

Version NID
1.69 0x27F3292C

scePowerGetBatteryTempForDriver

Version NID
1.69 0x28E12023

scePowerRequestStandbyForDriver

Version NID
1.69 0x2B7C7CF4

scePowerGetBatteryVoltForDriver

Version NID
1.69 0x483CE86B

scePowerGetCaseTempForDriver

Version NID
1.69 0x525592E4

scePowerSetGpuClockFrequencyForDriver

Version NID
1.69 0x717DB06C
3.60 0x264C24FC

scePowerSetArmClockFrequencyForDriver

Version NID
1.69 0x74DB5AE5

scePowerIsSuspendRequiredForDriver

Version NID
1.69 0x78A1A796

scePowerIsRequestForDriver

Version NID
1.69 0x7FA406DD

scePowerGetBatteryElecForDriver

Version NID
1.69 0x862AE1A6

scePowerIsPowerOnlineForDriver

Version NID
1.69 0x87440F5E

scePowerGetBatteryLifeTimeForDriver

Version NID
1.69 0x8EFB3FA2

scePowerGetBatteryRemainCapacityForDriver

Version NID
1.69 0x94F5A53F

scePowerSetGpuXbarClockFrequencyForDriver

Version NID
1.69 0xA7739DBE

scePowerGetBatterySOHForDriver

Version NID
1.69 0xA88A2B65

scePowerGetArmClockFrequencyForDriver

Version NID
1.69 0xABC6F88F

scePowerRequestSuspendForDriver

Version NID
1.69 0xAC32C9CC

scePowerGetBatteryChargingStatusForDriver

Version NID
1.69 0xB4432BC8

scePowerIsLowBatteryForDriver

Version NID
1.69 0xD3075926

scePowerCancelRequestForDriver

Version NID
1.69 0xDB62C9CF

scePowerUnregisterCallbackForDriver

Version NID
1.69 0xDFA8BAF8

scePowerGetBatteryFullCapacityForDriver

Version NID
1.69 0xFD18A0FF

reset USB charge

Version NID
3.60 0x90285886
int ScePowerForDriver_90285886(void);

enable/disable USB charge

Version NID
3.60 0xF535D928
// ex: ScePowerForDriver_F535D928(0x8000, 0);
// ex: ScePowerForDriver_F535D928(0x8000, 1);
int ScePowerForDriver_F535D928(int unk, int enable);

SceLedForDriver

ksceLedSetMode

Version NID
3.60 0xEA24BE03
int ksceLedSetMode(int led, int mode, void *led_configuration);