Wake up from StandBy
-
- Posts: 36
- Joined: Thu Nov 29, 2007 7:08 pm
Wake up from StandBy
How do i wake the PSP up from StandBy mode, e.g. from a callback. I know how to switch to standby mode and how to detect the current power mode. But what function to use for waking up?
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
Thanks go to PRX lib doc and whoever found out this NID.
The same can be achieved using sceSyscon_driver and works for 3.xx kernel / on slim also.
Curiosity began when my request was TOTALLY ignored by adrahil few months ago (
) and luckily ended few days while I was going though various module docs online.
Usage:
http://forums.qj.net/showpost.php?p=196 ... stcount=15; but I never bothered to implement setting alarm within the plugin itself.
The same can be achieved using sceSyscon_driver and works for 3.xx kernel / on slim also.
Curiosity began when my request was TOTALLY ignored by adrahil few months ago (
) and luckily ended few days while I was going though various module docs online.
Usage:
Code: Select all
sceSysconWriteBatAlarm(sceSysconReadClock() + SecondsConvertedtoTicks) = Voila Alarm.
Last edited by KickinAezz on Sun Mar 16, 2008 4:20 am, edited 2 times in total.
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Use it more for Development than for Gaming.
I understand some reasons not to share it, ie. PSP would make a nice little thing that goes bang.
Don't know if it's paranoia, but it's much better than the mobile phones they're using.
I've taken it down, and will replace it with one without the lib.
It won't hurt to make 'em ask you for it.
Don't know if it's paranoia, but it's much better than the mobile phones they're using.
I've taken it down, and will replace it with one without the lib.
It won't hurt to make 'em ask you for it.
If not actually, then potentially.
Uhm... I didn't ignore your request, I was going to give you code but I completely forgot ^^'Curiosity began when my request was TOTALLY ignored by adrahil few months ago (
You can check Time Baby source code, there is the way alarm is handled :) The way it's done in it is a little more flexible, since I use the sceRtc alarm functionality when there is.
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
I thought of that possibility too (that u forgot) but other thought overweighed it :Dadrahil wrote: Uhm... I didn't ignore your request, I was going to give you code but I completely forgot ^^'
You can check Time Baby source code, there is the way alarm is handled :) The way it's done in it is a little more flexible, since I use the sceRtc alarm functionality when there is.
-
I might release a public lib; they can still request you for R.T.C. version of implementation :)
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Use it more for Development than for Gaming.