LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Power Management not working on embedded MIPS when using /sys/power/state (http://www.linuxquestions.org/questions/programming-9/power-management-not-working-on-embedded-mips-when-using-sys-power-state-857772/)

RichardS 01-21-2011 07:11 AM

Power Management not working on embedded MIPS when using /sys/power/state
 
Hi,

I am attempting to suspend an embedded device running MIPS Linux using:


# echo -n mem > /sys/power/state
-sh: echo: write error: Invalid argument

Any idea's why this is failing?

If I try:
# cat /sys/power/state
#

there is no output, so something is not quite right and I am not sure where to start looking. From the kernel config screen the Power Management features are on.

Thanks.

RichardS 01-21-2011 07:18 AM

Oh, and CONFIG_HOTPLUG=y is defined and the kernel version is 2.6.31.


All times are GMT -5. The time now is 02:36 PM.