#55240 - agentq - Mon Sep 26, 2005 10:25 pm
Hi,
I'm trying to implement sleep mode when the lid is closed on the DS. I've got it pretty much working, but it seems that if I leave the DS suspended for more than about 5 minutes, it's completely screwed up when it resumes.
Sometimes the screens are swapped, other times the sound just loops. Sometimes it just resets, but not to the point where you can actually use it again.
If I close the lid and reopen it within a few seconds it suspends fine and seems ok.
I've looked at Moonshell, which I assumed used this feature, but it seems that it just turns the LCD backlights off, and doesn't suspend the CPUs. I would imagine this would not extend the battery life all that much.
I've had a go at setting up a timer interrupt to wake things up every 30 secs and go to sleep again, but I can't get this to work, and don't know if I even need to!
Can anyone help me?
I'm trying to implement sleep mode when the lid is closed on the DS. I've got it pretty much working, but it seems that if I leave the DS suspended for more than about 5 minutes, it's completely screwed up when it resumes.
Sometimes the screens are swapped, other times the sound just loops. Sometimes it just resets, but not to the point where you can actually use it again.
If I close the lid and reopen it within a few seconds it suspends fine and seems ok.
I've looked at Moonshell, which I assumed used this feature, but it seems that it just turns the LCD backlights off, and doesn't suspend the CPUs. I would imagine this would not extend the battery life all that much.
I've had a go at setting up a timer interrupt to wake things up every 30 secs and go to sleep again, but I can't get this to work, and don't know if I even need to!
Can anyone help me?