LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2009, 11:31 PM   #1
anis_huq
LQ Newbie
 
Registered: Nov 2006
Posts: 29

Rep: Reputation: 0
"SUSPEND" problem


I have installed Red Hat Linux Enterprise 5 on my machine. I am running it along with XP. The problem is that Linux won't go to suspend mode. What is the problem?

Bye.
 
Old 08-16-2009, 11:43 PM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 365
Blog Entries: 1

Rep: Reputation: 44
Have you enabled suspend in the Power Management section of the kernel configuration?

--jrtayloriv
 
Old 08-17-2009, 11:10 AM   #3
anis_huq
LQ Newbie
 
Registered: Nov 2006
Posts: 29

Original Poster
Rep: Reputation: 0
Thumbs up Thanks.........but another question.

Thanks jrtayloriv ,
But exactly how do u do that (I mean how to enable suspend in the Power Management section of the kernel configuration)?

I am a newbie. So if u answer, I will be much obliged.

Bye.
 
Old 08-17-2009, 11:56 AM   #4
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,252

Rep: Reputation: 205Reputation: 205Reputation: 205
As root try that command:

Code:
sync ; sync ; echo -n mem > /sys/power/state
Then report here what happened.
 
Old 08-18-2009, 10:28 AM   #5
anis_huq
LQ Newbie
 
Registered: Nov 2006
Posts: 29

Original Poster
Rep: Reputation: 0
Dear friend,
the following happened:

bash: echo: write error: Operation not permitted

I was logged in as su.

Tell me what to do next.

Bye.
 
Old 08-18-2009, 06:57 PM   #6
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,252

Rep: Reputation: 205Reputation: 205Reputation: 205
I don’t know RHEL so I can only guess the reasons of your problem.

If you use GRUB add at the end of kernel line that parameter:

Code:
acpi_sleep=s3_bios
If you use LILO add to the append parameter that option:

Code:
acpi_sleep=s3_bios,s3_mode
For example:

Code:
append=" vt.default_utf8=0 resume=/dev/sda4 acpi_sleep=s3_bios,s3_mode"
And then reload lilo program.

Finally reboot your machine.

Now try that command once again:

Code:
echo -n mem > /sys/power/state
***

Assuming suspend works in your system you can install acpi-sleep to use nice script for suspending. You’ll find that program here: http://people.redhat.com/vanhoof/acpi-suspend/RPM/. Download it and run the command:

Code:
rpm -ivh acpi-sleep-*
In result you’ll find these new files in your system:

Code:
/etc/acpi/actions/sleep.sh
/etc/acpi/events/lid.conf
/etc/acpi/events/powerbutton.conf
/etc/acpi/events/sleep.conf
After reloading ACPI sleep.sh should perform the appropriate actions in different situations, for example when you’ll close the lid of your laptop.

***

If suspend doesn’t still work it can be kernel configuration issue. Make sure that all these options are enabled in your kernel:

Code:
Processor type and features
   * Support for suspend on SMP and hot-pluggable CPUs
Code:
Power management options
   * Suspend to RAM and standby
   * Hibernation (aka 'suspend to disk')
   * ACPI (Advanced Configuration and Power Interface) Support
If necessary compile and install a new kernel.

***

If all above will fail ask your question in Red Hat forum: http://www.linuxquestions.org/questions/red-hat-31/. In your post describe what you did and what happened.

Last edited by w1k0; 08-18-2009 at 07:03 PM.
 
  


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
linux "suspend to disc" then restart into windows partition, not working? bussardvago SUSE / openSUSE 4 01-07-2008 08:12 PM
linux "suspend to disc" then restart into windows partition, not working? bussardvago Linux - Newbie 2 11-25-2007 03:06 PM
difference between "suspend to standby" and "suspend to ram" nappaji Linux - Hardware 1 08-23-2006 09:17 PM
Screen not off in "Suspend" or "StandBy" Riddick Linux - Laptop and Netbook 8 09-22-2005 05:50 AM
A Problem Related to " SUSPEND to DISK " Option in SuSE 9.3 bedi-beparwah SUSE / openSUSE 1 06-28-2005 09:06 AM


All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration