LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 01-21-2011, 07:11 AM   #1
RichardS
Member
 
Registered: Jul 2007
Posts: 33

Rep: Reputation: 15
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.
 
Old 01-21-2011, 07:18 AM   #2
RichardS
Member
 
Registered: Jul 2007
Posts: 33

Original Poster
Rep: Reputation: 15
Oh, and CONFIG_HOTPLUG=y is defined and the kernel version is 2.6.31.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank /sys/power/state file dizzi Slackware 12 11-20-2007 01:17 PM
'echo -n mem > /sys/power/state' Operation not permitted error hollywoodb Linux - Laptop and Netbook 7 10-09-2006 02:45 PM
(echo -n "standby" > /sys/power/state) only allowed for root? brynjarh Debian 5 02-14-2005 09:08 AM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 03:04 PM


All times are GMT -5. The time now is 03:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration