Hi everybody,
I'm currently developping an embedded system running Linux 2.6.24 on a SBC9261 board.
After release, this board will be supplied by batteries and in order to save energy, I would need to put the system into sleep mode.
In the kernel configuration (menuconfig), I added the Power Management Support with Suspend-to-RAM and standby functions.
When the kernel is running, the file
/sys/power/state allows me to turn the system to standby or suspend-to-RAM, by writing "standby" or "mem".
It seems to work :
Code:
/sys/power $ echo mem > state
Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
PM: Entering mem sleep
Suspending console(s)
But then, the kernel's heartbeat leds on the board begin to blink faster and faster, indicating a kernel panic.
Now assuming the fast blinking was a normal behavior (yeah i'm quite desperate :s), what action would wake the system up ? I've tried pushing buttons on the board, pinging the Ethernet interface, pluging a USB-key... Of course, the console is frozen.
What do you guys think ?
Thank you for your suggestions !