SceEnumWakeUp: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Kernel module that displays an icon to let you know that the battery is low when trying to start when the battery is extremely low, and shuts down vita after a few seconds
Handles boots caused by USB enumeration of the console. The module is usually loaded by the [[SceSysStateMgr#System_Configuration_script|System Configuration script]] when the console starts because of USB enumeration.


This module is what else do?
== Module ==
This module exists only in non-secure. The SELF path is <code>os0:kd/enum_wakeup.skprx</code>.
 
{| class="wikitable"
|-
! Version !! World !! Privilege
|-
| 0.995-3.65 || Non-secure || Kernel
|}
 
== Libraries ==
This module doesn't export any library.
 
== Role ==
This module usually shuts off the console after it's plugged into anything that triggers an USB enumeration. The module may also present the <code>DevIcon.fil</code> file to the device that triggers the enumaration ([https://learn.microsoft.com/en-us/windows/win32/wmp/custom-image-support-for-devices see Microsoft docs for more details on how this is used]). Finally, this module also contains the Netpbm bitmap displayed by the console and displays it when turning on the unit while battery is too low.
 
[[File:MTP_DevIcon.png|thumb|DevIcon.fil]]
[[File:PSVita_enum_wakeup_battery.png|thumb|The "No Battery" bitmap]]
 
In old firmwares, this module can also display a debug menu that allows to do the following:
* change OLED Brightness
* change ARM clock frequency
* change BUS clock frequency
* change GPU clock frequency
The menu also displays the remaining battery capacity, the battery life percent, voltage and temperature.
 
The menu is still partially present in latest firmwares but requires some QA flags to be set.
 
[[Category:ARM]]
[[Category:Kernel]]
[[Category:Modules]]

Latest revision as of 21:00, 1 May 2023

Handles boots caused by USB enumeration of the console. The module is usually loaded by the System Configuration script when the console starts because of USB enumeration.

Module

This module exists only in non-secure. The SELF path is os0:kd/enum_wakeup.skprx.

Version World Privilege
0.995-3.65 Non-secure Kernel

Libraries

This module doesn't export any library.

Role

This module usually shuts off the console after it's plugged into anything that triggers an USB enumeration. The module may also present the DevIcon.fil file to the device that triggers the enumaration (see Microsoft docs for more details on how this is used). Finally, this module also contains the Netpbm bitmap displayed by the console and displays it when turning on the unit while battery is too low.

DevIcon.fil
The "No Battery" bitmap

In old firmwares, this module can also display a debug menu that allows to do the following:

  • change OLED Brightness
  • change ARM clock frequency
  • change BUS clock frequency
  • change GPU clock frequency

The menu also displays the remaining battery capacity, the battery life percent, voltage and temperature.

The menu is still partially present in latest firmwares but requires some QA flags to be set.