PDA

View Full Version : Power Management Plugin 0.22



wraggster
September 30th, 2007, 19:50
News/release from 3r Ch4mp1 (http://erchampi.wordpress.com/)


Parts of code are from Anissian's PRX tutorial samples and from DAX
HEN SDK samples and some other code that I found on pspdev.org forum.

Hope this crap can be useful to someone, I did only to learn and enjoy with C/C++

Code from Booster's DevHook SDK is used in this plugin, it is included
with the sources in the CONTRIB folder

Modified blit.c for 3.71 from CFW Extender 1.5 is in the CONTRIB folder

NIDs were extracted from the PS2DEV.ORG forum and from the stubs of
CFW Extender 1.5

Uses Dark_Alex's 3.71 SDK, be sure to have it in order to recompile it

You are free to use and modify this source code, if you do it, give me credit
and keep this whole notice.

Setup
-----
Copy the content from the binaries folder to ms0:/seplugins, if you have a
VSH.TXT copy the line of the file bundled with this pack to your file.

Open the recovery and activate the plugin.

Changelog
---------

0.22 Version
------------
-Ported to 3.71 Kernel, for use with previous firmwares, use 0.21 Release
-To turn off the PSP use R+SQUARE, it was changed in order to avoid conflicts
with M33 Firmware VSHMenu

0.21 Version
------------
-On Screen notiications when you activate a mode are displayed, thes ones
are a bit experimental, so their behaviour may not be the adequate under
some situations.

-The Software Full Power Off has been modified, it now turns off completely
the system without risk of crash. If PowerLock is active, the Software Power Off
will be locked too.

-The plugin seems to work in all the places of the XMB but is recommendable to turn
modes in the XMB root to avoid conflicts with button press combos, crashes seem to have
been bypassed.

0.2 Version
-----------
-Added the Black Screen Mode, it turns off your PSP Screen, and if you press
buttons it will remain black, useful when listening songs

-Fixed the compatibility bugs which lead te system to a crash with the latest
M33 Firmaware updates

-Some of the key combinations were changed in order to be more compatible with
the latest M33 updates, and by popular demand with Wildcard Firmwares too

Plugin Features
---------------

This plugin has been designed and coded to optimize the energy consumption of
the PSP while we stay in the XMB.

This plugin has 4 main functions described here.

-Music Mode: To activate this mode you have to press L+R, this performs an
underclock to 60Mhz for the CPU and 30 Mhz for the main system bus, suitable
to listen to your Mp3 and even ATRAC music files. Pressing again L+R will set
the CPU/Bus speeds to the ones you had previously configured.

-ToggleIdle: This mode disables the autoidle feature of the console (not of the screen)
this mode can be toggled on/off by pressing R+START, useful when watching pictures of any kind
(even porn! xD).

-PowerLock: Pressing R+NOTE you will block the console power switch in order to prevent an accidental
turn off of the system, if you toggled it on and you attempted to turn off the console it will simply
don't, but when you unlock it, the console automatically will turn off (if you did not touch the power switch
it will unlock but it won't turn off the system).

-Black Screen Mode: Pressing L+START we turn off the PSP Screen until we press L+START again, the screen
will turn on and set itself with the previous brightness level we had. Useful used toghether with Music Mode
it can save you a lot of battery!

-Software full power off: Pressing R+SQUARE, the system will turn off totally, this feature was too easy to
implement, I lef this here because you liked it, and if it is useful to someone I won't remove it.

Suggestions, bug reports and new features to implement are welcome, leave me them in this post or better
in my devblog at http://erchampi.wordpress.com

Don't forget to leave me a greeting for my birthday in August 24 it's the only thing I demand from you!

Credits and dedications
-----------------------
About my personal life
----------------------
- All the ones from previous releases are valuable to me, but this release is unique and entirely dedicated
to my friend Noemi, she is passing by moments that she does not deserve.

Download and Give Feedback Via Comments

watupgroupie
October 1st, 2007, 01:49
Thanx for this the fast power plugin i had before doesn't work with 3.71 M33 even with the 1.50 kernal installed.